> For the complete documentation index, see [llms.txt](https://mamawhocode.gitbook.io/aws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamawhocode.gitbook.io/aws/services/compute/ec2/ami.md).

# AMI

critical information needed to launch EC2 instances.

## Overview

* From 1 AMI, you can launch 1 or multiple instances.&#x20;

  <figure><img src="https://2259236002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuh9xZDZ53qGqmMCM44PU%2Fuploads%2Fgit-blob-c4f4f5e611c0385da9f531e8cce343a4dbd5cac0%2FEC2_20220501111355.png?alt=media" alt=""><figcaption></figcaption></figure>

### Type of AMI

* Intel – c5, m5, r5
* **A**MD – c5**a**, m5**a**, t3**a**
* **G**raviton\* – c6**g**, m6**g**

Here are some examples:

* C type instances – c5.2xlarge – 16 GiB memory and 8vCPU (2:1)
* M type – m5.2xlarge – 32 GiB memory and 8vCPU (4:1)
* R type – R5.2xlarge – 64 GiB memory and 8vCPU (8:1)

### Source of AMI

* Using public AMI from AWS.
* Using custom AMI, which customized by user.
* Using market AMI from 3rd party or other users on Marketplace.

## Trivia

* CAN NOT launch an EC2 instance from an AMI of different region. AMI is regional, so you need to copy the AMI image to your target region.
