How to Enable App Platform VPCpublic

Validated on 8 Jul 2025 • Last edited on 8 Jul 2025

App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

Now in public preview, App Platform apps in FRA, NYC, and TOR support VPC, allowing you to connect apps to other VPC-enabled resources (such as DBaaS, Droplets, and Kubernetes) over a VPC network. For more details about VPC networks, see the VPC product page.

During public preview, VPC-enabled apps can only connect to the VPC network of the first datacenter in their region. For example, a VPC-enabled app in New York can connect to the NYC1 VPC, but not the NYC2 or NYC3 VPCs.

To gain access to this feature, contact support.

Enable VPC using the App Spec

Once you have access to the feature, to enable VPC network access for your app, first find the UUID of the specific VPC network you want to connect your app to. You can list all DigitalOcean VPCs and their UUIDs by running the following doctl command:

doctl vpc list

Alternatively, you can go to a specific VPC’s dashboard in the control panel and check the URL in your browser. The following example URL displays the VPC network’s UUID as your-id:

https://cloud.digitalocean.com/networking/vpc/your-id/resources?i=c7a311

Once you have the VPC’s ID, update or add the vpc field to your app’s spec file, replacing your-id with the UUID of the VPC you want to connect to:

vpc:
    id: your-id

Click Save and wait for your app to redeploy. Then, confirm you have successfully enabled VPC on your app by running the following command from the app’s terminal in the control panel:

curl <droplet private ip>:<port>

To change which VPC network your app is connected to, update the id field in the app spec and then click Save. To disconnect your app from the VPC network, remove the entire vpc field from the app spec and then click Save.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.