To deploy an EC2 instance with Glasswall Halo using the Glasswall Halo AMI, follow the steps below.

## Prerequisites

- AWS account
- Permissions to deploy an EC2 instance
- Basic knowledge of Linux

## Create instance

### Steps to deploy an EC2 instance with Glasswall Halo

1. Log in to AWS.
   - Navigate to the EC2 service and click **Launch instance**.
![01_Createinstance.png](/.attachments/01_createinstance.png)

2. Name the instance.
   - Enter a name for your instance, e.g., my Halo instance.

3. Select the Glasswall Halo AMI.
   - Click **Browse more AMIs**, search for Glasswall Halo, and select the **Glasswall Halo 2.5.4** AMI.
![02_Createinstance.png](/.attachments/02_createinstance.png)

4. Choose instance type.
   - Select an instance type with at least **16 cores and 32 GB memory**, e.g., **c5.4xlarge**.
![03_Createinstance.png](/.attachments/03_createinstance.png)

5. Set up a key pair.
   - Select or create a key pair to securely log in to the instance using a private key.
![04_Createinstance.png](/.attachments/04_createinstance.png)

6. Configure network settings.
   - Choose your desired **VPC** and **Subnet**.
![05_Createinstance.png](/.attachments/05_createinstance.png)

7. Set up security group.
   - Create a security group to allow inbound access on:
     - **Port 22** for SSH
     - **Port 443** for the Halo API
![06_Createinstance.png](/.attachments/06_createinstance.png)

8. Update storage.
   - Increase storage to **500 GB**.
![07_Createinstance.png](/.attachments/07_createinstance.png)

9. .Launch the instance.
   - Click `launch instance` to complete the setup.

* * *

<!-- markdownlint-disable MD033 -->
<div class="text--center margin-top--lg">
   <a href="/halo/aws-ec2-step-2" class="button button--primary">
    Proceed to Step 2 →
  </a>
</div>
<!-- markdownlint-enable MD033 -->