How to Find a Suitable AMI
An Amazon Machine Image (AMI) provides the information required to launch an instance, which is a virtual server in the cloud. You specify an AMI when you launch an instance, and you can launch as many instances from the AMI as you need. You can also launch instances from as many different AMIs as you need.
An AMI includes the following:
- A template for the root volume for the instance (for example, an operating system, an application server, and applications)
- Launch permissions that regulate which AWS accounts can use the AMI to launch instances
- A block device mapping that specifies the volumes to attach to the instance when it’s launched.
Find a Suitable AMI
Before you can launch an instance, you must select an AMI to use. As you choose an AMI, consider the following requirements, you might have for the instances that you’ll launch:
The operating system
The architecture: 32-bit (
i386) or 64-bit (
The root device type: Amazon EBS or instance store
The provider: Amazon Web Services, Oracle, IBM, Microsoft, or the community
An Amazon Machine Image (AMI) contains all the information necessary to launch instances of your software. For example, an AMI might contain all the software needed to act as a web server (e.g., Linux, Apache, and your website). We’ll utilize one of these AMIs for this walk-through. You can launch one or more Amazon EC2 instances from an AMI, and all the instances are exactly alike.
A large collection of AMIs is available from Amazon and the Amazon EC2 community. For more information, go to Amazon Machine Images (AMIs) at the AWS website.
You can use the AWS Management Console (at http:// console.aws.amazon.com) to search for AMIs that meet specific criteria and then launch instances of those AMIs. For example, you can view the AMIs that Amazon has provided, AMIs the EC2 community has provided, or AMIs that use a specific operating system.
In this mission, you will use an Amazon Linux AMI that has Apache, MySQL, PHP, and Drupal installed. You can use this AMI as a baseline, customize it, and then, in a later task, create your own custom AMI.
To find a suitable AMI:
- Open the Amazon EC2 console at https:// console.aws.amazon.com/ ec2/.
- In the Navigation pane, click AMIs.
- In the Amazon Machine Images pane, in the Viewing list that displays All Platforms, click Linux. In the list that displays All Images, click an option that narrows the display as you want. In this example, click Amazon Images to limit the display to AMIs that are provided by Amazon Web Services. In the text box, type Drupal.
- Select an AMI that already has Drupal installed such as ami-7813e011 and then click Launch.
You will use this AMI as a baseline. Clicking Launch starts the Request Instance wizard, which configures your instance and then launches it.
Enroll for Instructor Led Live Amazon Web Services Training