How do I launch an EC2 instance from a custom Amazon Machine Image (AMI)?

Last updated: 2021-01-28

How do I launch an Amazon Elastic Compute Cloud (Amazon EC2) instance from a custom Amazon Machine Image (AMI)?


To launch a new EC2 instance from an AMI, do the following:

  1. Open the EC2 console.
    Note: Be sure to select the AWS Region that you want to launch the instance in.
  2. From the navigation bar, choose AMIs.
  3. Find the AMI that you want to use to launch a new instance. To begin, open the menu next to the search bar, and then choose one of the following:
    If the AMI that you’re using is one that you created, select Owned by me.
    If the AMI that you’re using is a public AMI, select Public images.
    If the AMI that you’re using is a private image that someone else shared with you, select Private images.
    Note: The search bar automatically provides filtering options as well as automatically matching AMI IDs.
  4. Select the AMI, and then choose Launch.
  5. Choose an instance type, and then choose Next: Configure Instance Details. Optionally select configuration details, such as associating an IAM role with the instance.
  6. Select Next: Add Storage. You can use the default root volume type, or select a new type from the Volume Type drop down. Select Add New Volume if you want to add additional storage to your instance.
  7. Select Next: Add Tags. You can add custom tags to your instance to help you categorize your resources.
  8. Select Next: Configure Security Group. You can associate a security group with your instance to allow or block traffic to the instance.
  9. Select Review and Launch. Review the instance details.
  10. Select Previous to return to a previous screen to make changes. Select Launch when you are ready to launch the instance.
  11. Select an existing key pair or create a new key pair, select the acknowledge agreement box, and then choose Launch Instances.
  12. Choose View Instances to check the status of your instance.

Did this article help?

Do you need billing or technical support?