Skip to main content

Create a Custom AMI in AWS

Hands-On Lab


Photo of

Training Architect





The AMIs provided by AWS contain little more than just the operating system. So to run a PHP web application, for example, you would need to install Apache and PHP. This can be done automatically using User Data, or with an automation tool like Chef or Puppet. Doing it that way extends the wait time to instance "readiness."

Many applications, such as those in an autoscaling environnemt, need instances ready to use immediately. By creating custom AMIs we can lauch pre-configured instances and skip the wait.

Note: For Windows PuTTY ssh connections to EC2 instances, see: or

For information on using the Cloud Playground, see:

** Please reference the updated commands provided in the Objectives section.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.