Skip to main content

Create a Custom AMI in AWS

Hands-On Lab

 

Photo of

Training Architect

Length

01:00:00

Difficulty

Intermediate

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: https://linuxacademy.com/blog/linux/connect-to-amazon-ec2-using-putty-private-key-on-windows/ or https://www.youtube.com/watch?v=bi7ow5NGC-U

For information on using the Cloud Playground, see: https://support.linuxacademy.com/hc/en-us/articles/360019096651-Cloud-Playground-FAQ#how_connect

** 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.