# Generating AMI (Image) from Base Instance

Now that our base instance is configured, we can generate an AMI (Amazon Machine Image) from the instance. The AMI will allow us to create our other two EC2 instances as exact copies of the one we've already configured.

**Create the Image**

To generate the AMI, select your instance and then actions → Image and templates → Create Image

<figure><img src="https://docs.constellationnetwork.io/assets/images/generating-AMI-from-instance-01-8de4798908bdacbb8c742f2948018eca.png" alt=""><figcaption></figcaption></figure>

We can repeat the same name when configuring the image:

<figure><img src="https://docs.constellationnetwork.io/assets/images/generating-AMI-from-instance-02-ee73cc26846530499a131d3d13197b38.png" alt=""><figcaption></figcaption></figure>

**Press Create Image**

<figure><img src="/files/F96v2A4ooFm7TvE6lwcO" alt=""><figcaption></figcaption></figure>

This step will take some time but you can follow progress on the AMIs page.

**Wait Until the Image is in Available Status**

![Generating AMI](https://docs.constellationnetwork.io/assets/images/generating-AMI-from-instance-04-ed4e6e011a53d939ef05bb813cdeea6b.png)

**Delete Base Instance**

Once the image is ready we can delete the instance used to generate the image. To do this, go back to the instances page, select the instance, and then press&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.constellationnetwork.io/metagraph-development/guides/deploy-a-metagraph/base-instance/generating-ami-image-from-base-instance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
