Deploy in an Existing VPC
With the Existing VPC option, you deploy the warehouse into a VPC and subnets you already have. You run a VeloDB-provided AWS CloudFormation template in your own AWS account, and it creates the remaining AWS resources in your network. Choose this option when you want to reuse an existing VPC without managing all of the supporting resources yourself.
Note:
To use Transparent Data Encryption (TDE) or customer-managed keys for EBS encryption, create the warehouse with the Custom Infrastructure option instead. The New VPC and Existing VPC template flows do not support customer-managed encryption keys.
Before you start
Before you begin, complete the following:
- Use an AWS account with IAM permissions to create a CloudFormation stack and the AWS resources defined in the template. If you lack these permissions, copy the CloudFormation URL and ask your AWS administrator to create the stack.
- Select the AWS region where you want to deploy the warehouse. The VPC and selected subnets must be in this region. See Supported Regions.
- Prepare a VPC and subnets with outbound internet access. Private subnets typically use a NAT gateway. If you use public subnets, configure a route to an internet gateway and public IP addresses as required. For a Multi-AZ warehouse, prepare three subnets in different availability zones, all in the same VPC. See Network configuration for the network requirements.
1. Start warehouse creation
- Log in to the VeloDB Cloud console.
- In the upper-left corner, click the organization name to open the Organization Overview page.
- Click Create New Warehouse. Alternatively, you can click All Warehouses in the upper-left corner and then click Create New Warehouse.
- Select BYOC (Existing VPC), then click Continue.
- On the Warehouse Configuration and Initial Cluster cards, set the following fields.
| Field | Description |
|---|---|
| Warehouse Name | Required. Up to 32 characters: letters, numbers, underscores (_), and hyphens (-). The name must be unique within the organization. |
| Cloud Platform | AWS. |
| Region | The AWS region where the warehouse will run. |
| Core Version | The VeloDB Core version to run. A default is preselected. |
| Admin Password | Required. The password for the default admin user. Use at least 8 characters, including at least three of: uppercase letters, lowercase letters, numbers, and special characters. You can reset it later from the warehouse settings page. |
Advanced Settings
| Field | Description |
|---|---|
| Custom Tags | Optional. Add custom tags to the cloud resources VeloDB Cloud creates for the warehouse. |
| Table Name Case Sensitivity | Choose whether table names are case-sensitive. This setting cannot be changed after the warehouse is created. |
Initial Cluster
| Field | Description |
|---|---|
| Compute | The compute size of the warehouse's first cluster. The default range is 4 to 1024 vCPU per cluster at a fixed 1:8 vCPU-to-memory ratio. To raise this quota, get help. |
| Cache | The cache-space limit scales with the compute size. |
- Click Create. In the Create BYOC Warehouse dialog, click Start.
2. Create the CloudFormation stack
- The AWS CloudFormation console opens in a new tab with the settings pre-filled. If the tab does not open, click Open AWS CloudFormation on the VeloDB Cloud deployment page.
- Select the existing VPC and its subnets. For a Multi-AZ warehouse, select three subnets in different availability zones, all in the same VPC.
- Do not change the remaining parameters. Select the acknowledgment checkbox, then click Create stack.
- Wait until the stack status is
CREATE_COMPLETE. If the IAM permissions are insufficient, CloudFormation reports an error. The template creates the security group, VPC endpoint, and agent instance in your VPC. It also creates IAM roles and an S3 bucket in your AWS account.
3. Verify deployment
- Return to the VeloDB Cloud console. The deployment page progresses through Cloud Resource Configuration, Agent Deployment, and Warehouse Initialization.
- When initialization completes, the warehouse and its initial cluster are ready to use. Initialization typically takes 5 to 10 minutes. If it takes more than 30 minutes, contact support.
See also
- Deploy in a New VPC: let the template create the VPC for you.
- Custom Infrastructure: provide and manage the infrastructure yourself, and use customer-managed encryption keys.
- Network configuration: prepare the VPC and subnets that meet the network requirements.