VPC, subnets and Availability Zones
Configure your AWS VPC to integrate Qlik within your environment.
A Virtual Private Cloud (VPC) is a logically isolated network that enables you to control how AWS resources, such as databases and compute instances, connect to each other and the internet. Each VPC is created within a single AWS region.
Subnets are subdivisions of a VPC used to organize and host resources such as Amazon EC2 instances. Subnets can be:
-
Public: Allows direct access to the internet via an Internet Gateway.
-
Private: Restricted to internal communication within the VPC. Outbound internet access is available via a NAT Gateway..
Each subnet is created within a specific Availability Zone. For example, in the us-east-1 region, you can create subnets in us-east-1a, us-east-1b, and us-east-1c.
Availability Zones (AZs) are physically isolated data centers within a region. Distributing resources across multiple AZs improves application availability and fault tolerance.
The relationship between the VPC, subnets, and AZs, ensures that:
-
A VPC is scoped to a single AWS region and spans all Availability Zones within that region.
-
Subnets are bound to individual Availability Zones, providing the ability to distribute resources across zones.
-
You can use this structure to deploy resources across multiple AZs within a VPC to enhance availability and resilience.
Choosing between public and private subnets
Before creating your VPC, determine which subnet type is appropriate for your deployment:
| Use case | Recommended subnet type |
|---|---|
| Resources requiring direct internet access | Public subnet |
| Internet services only | Private subnet |
| Production workloads | Private subnet |
| Secure lakehouse deployments | Private subnet |
| Test or demo environments | Public or private subnet |
Creating a VPC
Create your VPC according to your network security requirements. The configurations below are provided as recommendations. Tailor them to your organization's specific needs.
Qlik recommendations
- Availability Zones: Use 2 or more AZs to ensure high availability and fault tolerance.
- Number of subnets: Deploy at least one subnet per AZ.
- NAT Gateways: For private subnets, use one NAT Gateway per AZ for high availability.
- Subnet size: Subnets sized at /27 or smaller may cause unexpected system behavior and hinder the system's ability to scale and update reliably. Qlik recommends a minimum subnet size of /24 to ensure stable operations and room for future growth.
Creating a VPC with private subnets
Use this option for secure deployments where resources must not be directly accessible from the internet.
-
In the AWS console, go to VPC > Your VPCs.
-
Click Create VPC.
- Under Resources to create, select VPC and more.
- Configure the following settings:
- Availability Zones (AZs): 2 or more.
Number of public subnets: 0.
Number of private subnets: As required.
NAT gateways: As required.
-
Click Create VPC.
- After creation, verify that each subnet:
- Has Auto-assign public IPv4 address disabled.
- Has a route to the NAT gateway.
- Does not have a route to an Internet Gateway.
Configuration summary
After completing either option, record the following for use in subsequent configuration steps:
- VPC ID
- VPC CIDR range
- Subnets IDs
- Availability Zone for each subnet
- Subnet designation (public or private)