> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/quick-start-duplocloud-docker-services/step-4-create-ec2-host.md).

# Step 4: Create an EC2 Host

Create an EC2 Host in DuploCloud

Before you create your application and service using native Docker, create an EC2 Host for storage in DuploCloud.

*Estimated time to complete Step 4: 5 minutes.*

## Prerequisites

Before creating a Host (essentially a [Virtual Machine](https://en.wikipedia.org/wiki/Virtual_machine)), verify that you completed the tasks in the previous tutorial steps. Using the DuploCloud Portal, confirm that:

* An [Infrastructure and Plan](/docs/automation-platform/overview/quick-start/step-1-infrastructure.md) exist, both named **NONPROD**.
* A Tenant named [**dev01** has been created](/docs/automation-platform/overview/quick-start/step-2-tenant.md).

## Creating a Host

1. In the **Tenant** list box, select **dev01**.
2. In the DuploCloud Portal, navigate to **Cloud Services** -> **Hosts**. The **Hosts** page displays.
3. In the **EC2** tab, click **Add**. The **Add Host** page displays.
4. In the **Friendly Name** field, enter **host01**.
5. From the **Instance Type** list box, select **2 CPU 4 GB - t3a.medium**.
6. Select the **Advanced Options** checkbox to display advanced configuration fields.
7. From the **Agent Platform** list box, select **Linux/Docker Native**.
8. From the **Image ID** list box, select any **Docker-Duplo** or **Ubuntu** image.
9. Click **Add**. The Host is created, initialized, and started. In a few minutes, when the **Status** displays **Running**, the Host is available for use.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FhM15VOPUrFLNyZWgdRYL%2Fscreenshot-nimbusweb.me-2024.02.17-17_39_57.png?alt=media&amp;token=25cf7c6b-7d61-4c34-921a-782a1d81c165" alt=""><figcaption><p><strong>EC2 Add Hosts</strong> page</p></figcaption></figure>

## Checking your work

Verify that **host01** has a **Status** of **Running**.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F5bCO7xBS660qknHmMwPI%2Fscreenshot-nimbusweb.me-2024.02.17-18_05_17.png?alt=media&amp;token=fd8a0b91-60b4-4d59-bbcd-de3a32819162" alt=""><figcaption><p>The <strong>EC2</strong> tab displays <strong>host01</strong> with a <strong>s</strong>tatus of <strong>Running</strong></p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/quick-start-duplocloud-docker-services/step-4-create-ec2-host.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
