---
title: "AWS EC2"
description: "Learn to install Infisical on EC2 using Cloud Formation template"
---

<iframe width="560" height="315" src="https://www.youtube.com/embed/jR-gM7vIY2c" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
This deployment option will use AWS Cloudformation to auto deploy an instance of Infisical on a single EC2 via Docker Compose.

**Resources that will be provisioned** 
- 1 EC2 instance 
- 1 DocumentDB cluster 
- 1 DocumentDB instance 
- Security groups

<Info>
Once installation is complete, you will have to create the first account. No default account is provided.
</Info>

<a href="https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://ec2-instance-cloudformation.s3.amazonaws.com/infisical-ec2-deployment.template&stackName=infisical">
    <img width="200" src="../../images/deploy-aws-button.png" />
</a>