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
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
add a comment |
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
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
add a comment |
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
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
linux command-line filesystems aws
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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