Azure VPC Setup
Step-by-step guide for setting up Devin in your Azure VPC
Overview
To improve ease of deployment, we recommend deploying via Terraform. Please contact us with your Github so we can share the repository.
If you’re opposed to that, the following outlines the requirements for the Devin VPC deployment and the manual steps to provision the infrastructure.
Networking must be configured manually, so feel free to reference our materials.
Setup Instances for Running VMs
Requirement | Details |
---|---|
Instance Type | Metal instances (Lasv3 instances with Security Type standard) |
Operating System | Ubuntu 24.04 |
Instance Sizing | - 2vCPUs, 8GB RAM, 128GB Storage - 8vCPUs, 32GB RAM, 128GB Storage |
The appropriate size can be configured depending on use-case.
The host instance size determines the maximum capacity of concurrent Devin
sessions.
Provider | Recommended Instance | Minimum Baseline |
---|---|---|
Azure | Standard_L80as_v3 | Standard_L48as_v3 |
You may also horizontally scale the number of hosts running to increase your Devin 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. We store these in blob-storage.
Grant Admin Consent
- Open the following URL in your browser:
- Log in as an Entra ID (Azure AD) admin and grant consent to the Devin Enterprise App.
Create Storage Account
- In the Azure Portal, search for and select Storage accounts
- Click + Create
- Set the following:
- Subscription: Choose your subscription
- Resource group: Select the resource group
- Storage account name: Enter
devin${CUSTOMER_NAME}${REGION}
(replace${CUSTOMER_NAME}
and${REGION}
with your values) - Region: Choose your desired region
- Performance: Standard
- Redundancy: Zone-redundant storage (ZRS)
- Click Review + create and then Create
- Once created, navigate to your storage account and select Settings -> Resource sharing (CORS)
- Add a row with:
- Allowed Origins:
*
- Allowed Methods: GET
- Allowed Headers:
*
- Allowed Origins:
- Click Save
Create Managed Identity
- Navigate to the Managed Identities and click on + Create
- Set the following:
- Subscription: Choose your subscription
- Resource group: Select the resource group where the Devin VMs were created
- Region: Select the region which contain the Devin VMs
- Name:
devin-vm-identity
- Click Review + assign
- Visit the resource page for the Devin VMs created above and click on Security > Identity in the sidebar
- Select the User assigned tab, and click Add user assigned managed identity
- Search for
devin-vm-identity
and click Add - Repeat steps 4-6 for any new VMs created
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 Azure WAF Rule