AWS VPC Setup
Guide for setting up Devin in your AWS VPC
Devin AWS VPC Deployment Guide
This guide outlines the process for deploying Devin in your AWS Virtual Private Cloud (VPC) environment, providing access to resources within your corporate firewall.
Terraform Deployment (Recommended)
Terraform deployment is our recommended approach for setting up Devin in your AWS VPC. This automated method ensures consistent, repeatable infrastructure provisioning with minimal manual configuration.
Prerequisites
Before beginning the Terraform deployment process, ensure you have:
- Setup VPC for Devin (either use an existing VPC or provision a new one)
- Ensure you have an IAM role or service account that has permission to:
- create ec2 auto-scale instances
- create s3 instances in your region
- Ensure your AWS account can support instances with at least 70 virtual CPUs
- Terraform (version 1.0 or later) installed
Step-by-Step Deployment Process
Collect AWS Environment Information
Gather the following information which will be required for the Terraform configuration:
- AWS Account Number (12-digit number)
- VPC ID (vpc-xxxxxxxxxxxxxxxxx)
- Two Subnet IDs:
- subnet-xxxxxxxxxxxxxxxxx
- subnet-xxxxxxxxxxxxxxxxx
Helpful AWS CLI commands:
Configure Firewall Access
Ensure your endpoint security systems (user devices that will access Devin) allow access to:
- app.devin.ai
- api.devin.ai
- *.devinapps.com
Obtain Terraform Configuration and Auth Token
Contact Cognition to receive:
- An authentication token for pulling the hypervisor image
- The Terraform configuration files customized for your environment
Once you share your environment information (from Step 1), we will provide these resources to you.
Execute Terraform Script
We can schedule a call to execute this step together. The process involves:
-
Extract the Terraform configuration files to a directory on your local machine:
-
Initialize the Terraform environment:
-
Review the planned infrastructure changes:
-
Apply the configuration to provision the infrastructure:
-
Confirm the changes when prompted.
The Terraform scripts will set up all necessary components including EC2 instances, S3 buckets, security groups, IAM roles, and the hypervisor registration.
Run First Devin Session
After the Terraform script completes successfully, we will work together to:
- Verify that the resources have been created in your AWS console
- Run a first Devin session to ensure connectivity to the required services
- Debug any issues that arise with the support of Cognition team