Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I recently launched Amazon Linux AMI 2012.09 (several tries) because of Amazon's 1 year free tier offer. However, its always running out of memory/RAM! How can I reduce the initial memory footprint of this AMI?

thanks!

share|improve this question
1  
You need to provide more information. Which services are you running? Which instance type are you running? –  pkhamre Feb 11 '13 at 7:52
    
Sorry, after I launch the instance I'm installing LAMP for a Wordpress blog. I install LAMP using yum. But I just needed about an extra 50MB freed. There's plenty of tuning tips for LAMP Wordpress on the web including here so I've already applied many of those. Thanks –  Hayden Feb 11 '13 at 17:48

1 Answer 1

up vote 1 down vote accepted

You could provide more information, but there is some general steps you could take, such as installing low memory versions of stuff, such as mingetty. Here's a checklist that could be of use: http://stacklinux.com/discussion/4/how-to-strip-down-amazon-linux-ami-amazon-web-services-ec2/

share|improve this answer
    
Lone link is considered a poor answer (see faq) since it is meaningless by itself and target resource is not guaranteed to be alive in the future. It would be preferable to include the essential parts of the answer here, and provide the link for reference. –  j0k Feb 11 '13 at 8:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.