# Get started

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/ec2-image-builder-user-guide.git)
{% endhint %}

## Prerequisites

* **Note**\
  If you want to copy an image created with Image Builder to another account, you must create the `EC2ImageBuilderDistributionCrossAccountRole` role in all of the target accounts, and attach the [Ec2ImageBuilderCrossAccountDistributionAccess policy](https://github.com/kevinslin/aws-reference-notes/blob/main/services/amazon_ec2_image_builder/security-iam-awsmanpol.md#sec-iam-manpol-Ec2ImageBuilderCrossAccountDistributionAccess) managed policy to the role. For more information, see [Share EC2 Image Builder resources](https://github.com/kevinslin/aws-reference-notes/blob/main/services/amazon_ec2_image_builder/manage-shared-resources.md).

## Create an image pipeline (AMI)

* **Note**\
  To specify a subnet to use for a private VPC, you can create your own custom infrastructure configuration, or use settings that you have already created.
* **Tip**\
  To prevent dependency errors when you delete resources, make sure to delete your resources in the following order:\
  Image pipeline Image recipe All remaining resources

## Create an image pipeline (Docker)

* **Tip**\
  To prevent dependency errors when you delete resources, make sure to delete your resources in the following order:\
  Image pipeline Image recipe All remaining resources


---

# 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://awsnotes.dendron.so/compute/amazon-ec2-image-builder/topics/get-started.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.
