Oops! Creating AMI’s Shuts Down Services

Oops! Creating AMI’s Shuts Down Services

So this afternoon I was playing around with creating AMI’s. After I created an AMI based on the EC2 instance hosting this website, the website went down. When I logged into the instance I found that Apache wasn’t running. After some quick searching, I found out that during the AMI creation process, services are stopped¬†unless otherwise specified. And I had made the rookie mistake of not setting the run level for the httpd service so that Apache would start up automatically after reboot. Lesson learned.

Leave a Reply

Your email address will not be published. Required fields are marked *