How to trim down Amazon Linux OS for more free space?2019 Community Moderator ElectionDD and Free SpaceBash 4.3 yum repository for Amazon Linuxinstall AVG free edition into Amazon Linux AMIAWS linux - How could I install postgreSQL on amazon linux?Incorrect used/free spaceheadless firefox failed on aws amazon linuxPageres not working on Amazon LinuxHow to run start up scripts on Amazon linux?Lvextend don't find free spaceHow To Create a Bootable EBS Volume for Amazon Linux

Multiplicative persistence

Why is the Sun approximated as a black body at ~ 5800 K?

Is this toilet slogan correct usage of the English language?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Giving feedback to someone without sounding prejudiced

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

What is the English pronunciation of "pain au chocolat"?

What kind of floor tile is this?

How could a planet have erratic days?

Stack Interview Code methods made from class Node and Smart Pointers

Can you use Vicious Mockery to win an argument or gain favours?

PTIJ: Why is Haman obsessed with Bose?

Find the next value of this number series

Is my low blitz game drawing rate at www.chess.com an indicator that I am weak in chess?

How does electrical safety system work on ISS?

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Does "he squandered his car on drink" sound natural?

Why do ¬, ∀ and ∃ have the same precedence?

C++ copy constructor called at return

"It doesn't matter" or "it won't matter"?

Is there a nicer/politer/more positive alternative for "negates"?

How to convince somebody that he is fit for something else, but not this job?

Will number of steps recorded on FitBit/any fitness tracker add up distance in PokemonGo?

Creating two special characters



How to trim down Amazon Linux OS for more free space?



2019 Community Moderator ElectionDD and Free SpaceBash 4.3 yum repository for Amazon Linuxinstall AVG free edition into Amazon Linux AMIAWS linux - How could I install postgreSQL on amazon linux?Incorrect used/free spaceheadless firefox failed on aws amazon linuxPageres not working on Amazon LinuxHow to run start up scripts on Amazon linux?Lvextend don't find free spaceHow To Create a Bootable EBS Volume for Amazon Linux










2















I use EC2 on Amazon Web Services. The OS of the t2.micro instance is a customized “Amazon Linux” with 1 GiB RAM and 1 vCPU. When accessing this instance via their Cloud9 IDE I find that by default already 73% of the available file space (7.8G on /dev/xvda1) is occupied, and I can only use the remaining 2.2G.



My requirements:



  • I need to execute a Python script and write output data locally.

  • I can do without GUI since I am working on the command line.

What components of their OS can be safely removed in order to free up some space?










share|improve this question



















  • 1





    Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

    – Philip Couling
    2 days ago











  • You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

    – Serge
    yesterday












  • @PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

    – marianoju
    yesterday















2















I use EC2 on Amazon Web Services. The OS of the t2.micro instance is a customized “Amazon Linux” with 1 GiB RAM and 1 vCPU. When accessing this instance via their Cloud9 IDE I find that by default already 73% of the available file space (7.8G on /dev/xvda1) is occupied, and I can only use the remaining 2.2G.



My requirements:



  • I need to execute a Python script and write output data locally.

  • I can do without GUI since I am working on the command line.

What components of their OS can be safely removed in order to free up some space?










share|improve this question



















  • 1





    Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

    – Philip Couling
    2 days ago











  • You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

    – Serge
    yesterday












  • @PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

    – marianoju
    yesterday













2












2








2








I use EC2 on Amazon Web Services. The OS of the t2.micro instance is a customized “Amazon Linux” with 1 GiB RAM and 1 vCPU. When accessing this instance via their Cloud9 IDE I find that by default already 73% of the available file space (7.8G on /dev/xvda1) is occupied, and I can only use the remaining 2.2G.



My requirements:



  • I need to execute a Python script and write output data locally.

  • I can do without GUI since I am working on the command line.

What components of their OS can be safely removed in order to free up some space?










share|improve this question
















I use EC2 on Amazon Web Services. The OS of the t2.micro instance is a customized “Amazon Linux” with 1 GiB RAM and 1 vCPU. When accessing this instance via their Cloud9 IDE I find that by default already 73% of the available file space (7.8G on /dev/xvda1) is occupied, and I can only use the remaining 2.2G.



My requirements:



  • I need to execute a Python script and write output data locally.

  • I can do without GUI since I am working on the command line.

What components of their OS can be safely removed in order to free up some space?







linux command-line filesystems aws






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







marianoju

















asked 2 days ago









marianojumarianoju

335




335







  • 1





    Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

    – Philip Couling
    2 days ago











  • You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

    – Serge
    yesterday












  • @PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

    – marianoju
    yesterday












  • 1





    Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

    – Philip Couling
    2 days ago











  • You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

    – Serge
    yesterday












  • @PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

    – marianoju
    yesterday







1




1





Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

– Philip Couling
2 days ago





Is running a different distribution an option? I run an Ubuntu Server on EC2 with less than 4.5 GB for the OS.

– Philip Couling
2 days ago













You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

– Serge
yesterday






You could a) add an extra empty volume to an instance b) copy existing image to a bigger volume and extend the file system (this is a bit tricky but still possible) c) create your own image with software packages of your choice

– Serge
yesterday














@PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

– marianoju
yesterday





@PhilipCouling That might be a workaround, but would require me to set up the instance from scratch. Can you confirm that this actually yields you more (remaining) free space?

– marianoju
yesterday










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507186%2fhow-to-trim-down-amazon-linux-os-for-more-free-space%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507186%2fhow-to-trim-down-amazon-linux-os-for-more-free-space%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.