VPC Configuration
Specifying a VPC for your application
You can configure a "virtual private cloud" (VPC) for your application if your cloud provider supports it. This is essentially a private network that your instances are able to communicate over. Depending on your cloud provider, adding a VPC requires different steps (see below).
These settings are only applied when an application is first built. To change them, you will need to update the manifest and then clone (rebuild) the application
VPC on AWS
- Set up a VPC on your AWS account and take note of the VPC and subnet IDs
- Add these values to the manifest entry for your application settings. For example the settings for a Rails app might be:
VPC on Microsoft Azure
To set up a VPC on Azure, you can either
- Add a Virtual Network via your Azure dashboard and then add the name to your manifest file
- Specify a VPC name in the application section of your manifest file and we will create one on your behalf using that name
For example:
VPC on DigitalOcean
You can either:
- Add a VPC to your DigitalOcean account and then add the name to your manifest file
- Specify a VPC name in the application section of your manifest file and we will create one on your behalf using that name
For example:
VPC on Hetzner Cloud
You can either:
- Add a VPC in your Hetzner account and then add the name to your manifest file
- Specify a VPC name in the application section of your manifest file and we will create one on your behalf using that name
For example:
AWS VPC requires subnet_id
In order to use an AWS vpc_id, you must provide subnet_id for all servers used by your application.