Guide for setting up Devin in your AWS VPC
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 is our recommended approach for setting up Devin in your AWS VPC. This automated method ensures consistent, repeatable infrastructure provisioning with minimal manual configuration.
Before beginning the Terraform deployment process, ensure you have:
Collect AWS Environment Information
Gather the following information which will be required for the Terraform configuration:
Helpful AWS CLI commands:
Configure Firewall Access
Ensure your endpoint security systems (user devices that will access Devin) allow access to:
Ensure your endpoint security systems (user devices that will access Devin) allow access to:
Ensure your VPC security groups allow access to:
Obtain Terraform Configuration and Auth Token
Contact Cognition to receive:
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:
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.
Before beginning the Terraform deployment process, ensure you have:
Collect AWS Environment Information
Gather the following information which will be required for the Terraform configuration:
Helpful AWS CLI commands:
Configure Firewall Access
Ensure your endpoint security systems (user devices that will access Devin) allow access to:
Ensure your endpoint security systems (user devices that will access Devin) allow access to:
Ensure your VPC security groups allow access to:
Obtain Terraform Configuration and Auth Token
Contact Cognition to receive:
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:
If Terraform deployment is not feasible in your environment, this section outlines the manual steps required to provision the infrastructure.
Note that manual configuration of the networking components is necessary. You may refer to our provided resources for guidance.
Setup Instances for Running VMs
Devin requires a host instance to run isolated virtual machines for each session.
Requirement | Details |
---|---|
Instance Type | Metal instances (i3.metal ) |
Operating System | Ubuntu 24.04 |
Instance Sizing | - 2 vCPUs, 8GB RAM, 128GB Storage - 8 vCPUs, 32GB RAM, 128GB Storage |
Note | The instance size determines the maximum number of concurrent Devin sessions. |
Recommendation | We recommend i3.metal as a baseline. |
You can horizontally scale by adding more host instances to increase Devin’s capacity.
Configuration | Details |
---|---|
VPC Setup | Configure the VPC and Security Group rules |
Required Firewall Rules | Outbound 443 Internet Access to: |
frp-server-0.devin.ai | |
static.devin.ai | |
api.devin.ai |
General internet access is highly recommended but not mandatory.
Setup Storage for VMs
When Devin sessions are suspended, their state is compressed and stored.
Navigate to S3 in the AWS Management Console
Select the appropriate region
Click Create bucket
Set the Bucket name as:
(Replace ${YOUR_ORGANIZATION}
and ${BUCKET_REGION}
with actual values)
Click Create bucket
Once these resources are created, please provide Cognition with:
Register Host Runner
Run the following command:
We will share with you the AUTH_TOKEN separately. When the setup is complete, Devin should be ready to start sessions in your VPC environment.
Firewall: Requirements
If user devices have a firewall, whitelist the following URLs:
*.devin.ai
*.devinenterprise.com
*.devinapps.com
Sample AWS WAF Rule