AWS VPC Setup
Guide for setting up Devin in your AWS VPC
Devin AWS VPC Deployment Guide
To enhance deployment efficiency, we recommend utilizing Terraform for automation. Please reach out to us with your GitHub details so that we can provide access to the relevant repository.
Alternatively, if Terraform deployment is not feasible, the following section outlines the prerequisites for the Devin VPC deployment along with the manual steps required to provision the infrastructure.
Networking Requirements
Note that manual configuration of the networking components is necessary. You may refer to our provided resources for guidance.
Deployment Steps
Setup Instances for Running VMs
Devin requires a host instance to run isolated virtual machines for each session.
Instance Requirements
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.
Security Group Rules
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.
2.1 Create an S3 Bucket
-
Navigate to S3 in the AWS Management Console
-
Select the appropriate region
-
Click Create bucket
-
Set the Bucket name as:
(Replace
${CUSTOMER_NAME}
and${BUCKET_REGION}
with actual values) -
Click Create bucket
2.2 Apply S3 Bucket Policy & CORS
- Open the S3 Bucket you created
- Navigate to the Permissions tab
- Scroll to Bucket Policy and click Edit
- Add the following policy, replacing placeholders:
- Click Save
- Scroll down to Cross-Origin Resource Sharing (CORS) and click Edit
- Enter the following CORS policy:
- Click Save
Once these resources are created, please provide Cognition with:
- Your AWS Account ID
- S3 Bucket Name
- VPC and Subnets for deployment
- Security Group ID
- Any tags for Devin-related resources
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:
app.devin.ai
api.devin.ai
*.devinapps.com
Sample AWS WAF Rule