Private Network Deployments

View as Markdown
Advanced7 min readLast updated September 8, 2026

Private Network Deployments create a dedicated, isolated network for your Launch application runtime infrastructure. Each network is assigned its own static egress IP addresses and can be connected directly to your AWS VPC through VPC peering, allowing traffic between your application and backend systems to stay on private network paths instead of the public internet.

By providing dedicated networking and predictable egress IP addresses, Private Network Deployments simplify IP allowlisting, strengthen network isolation, and help organizations meet security and compliance requirements.

Note Currently, Private Network Deployments are available for Launch on AWS.

Prerequisites

  • Contentstack Launch on AWS
  • An AWS VPC hosting your backend infrastructure
  • Enterprise plan with the Private Network Deployments add-on

What You Can Learn

  • What Private Network Deployments and Egress IPs are.

  • When to use a private network.

  • How to set up VPC peering to your AWS VPC.

  • How to test both the peered and public traffic paths.

Use Cases

Use Private Network Deployments when:

  • Your database, internal API, or other backend service restricts access to an approved list of IP addresses.
  • Your organization has compliance requirements, such as data residency or data protection standards, that call for private network paths between your application and backend infrastructure.
  • You want to remove public internet exposure between your application and your backend systems.
  • You require a dedicated network with static IP addresses for your deployments, ensuring your application’s outgoing traffic remains isolated from other Launch organizations.

Note If you only need static egress IP addresses for IP allowlisting, without features like dedicated infrastructure, VPC peering, or complete network isolation, consider Static IPs.

How Private Network Deployments Work

When Private Network Deployments are enabled, your application's runtime servers are placed inside a dedicated network. This network is not shared with any other organization on Contentstack Launch.

Private Networks and Dedicated IP Addresses

Each private network is assigned its own pair of static IP addresses, referred to as Egress IPs. These addresses:

  • Are unique to your network and are never shared with another team or customer.
  • Remain fixed for the lifetime of the network. They do not change as you deploy new versions of your application.
  • Are used for outbound traffic that is not routed through a VPC peering connection, such as requests to third-party APIs.

A single private network can support multiple Launch projects and environments.

Note Currently, build machines and Launch edge functions are not included in the dedicated network. Only runtime (server) machines are connected. Backend calls made from the build process and edge functions do not use the private network or the assigned Egress IPs.

You can check your Egress IPs any time under Settings → Networking, in the Private Network Deployments section. If that section says "Private Network Deployments are not enabled. To enable them, contact your organization admin.", the add-on isn't active for your organization yet.

VPC Peering

VPC peering connects your private network directly to your AWS VPC, so traffic between your application and your backend infrastructure stays within AWS. Because this traffic no longer travels over the public internet, it typically sees more consistent latency than a standard public connection. Once VPC peering is configured:

  • Traffic destined for your VPC's IP range is routed through the peering connection rather than the public internet.
  • Traffic to destinations outside your VPC continues to use the Egress IPs described above.

Setting up VPC peering requires an update to the route table in your AWS VPC. This step is covered below.

Setting Up VPC Peering

Information Required

To provision a private network, provide the following:

  • VPC ID: The AWS VPC hosting your backend infrastructure
  • Subnet CIDR: Your VPC's IP address range
  • Region: The AWS region your backend runs in

Information Provided

Once the Contentstack Launch team has provisioned your network, everything you need for the peering request shows up in Launch. Go to Settings → Networking, then find the Private Network Deployments section: 

Click to enlarge
  • Outbound IP addresses (dedicated): Your Egress IP pair, with a copy icon next to each one.
  • Connection Details: The AWS Account ID, VPC ID, AWS Region, and VPC CIDR of your private network. Each value has its own copy icon, so you can paste them straight into the AWS console.

Tip Keep this page open while you set up peering, you have to copy from it a few times.

Setup Steps

  1. Submit your VPC ID, VPC CIDR, and Region to support.
  2. Contentstack Launch team provisions your network. Once it is ready, open Settings → Networking in Launch and find the Private Network Deployments section. Your AWS Account ID, VPC ID, AWS Region, and VPC CIDR are all listed under Connection Details, and your Egress IPs are right above them.
  3. In your AWS VPC dashboard, enter the peering details:
    • Requester VPC ID: Your VPC ID
    • Account ID: The AWS Account ID from Connection Details
    • VPC ID (Accepter): The VPC ID from Connection Details
    Click to enlarge
  4. Click Create Peering Connection in your AWS console to send the request.
    The Contentstack Launch team accepts the peering connection request.
  5. Update your route table to send traffic for the destination VPC CIDR through the peering connection. That's the VPC CIDR value under Connection Details in Settings → Networking.

    Example route table entry

    DestinationTarget
    10.100.0.0/16


    (Contentstack Launch’s VPC CIDR)

    pcx-0a1b2c3d4e5f6g7h8


    (Your peering connection ID)

  6. Enable DNS resolution on your VPC. Open the peering connection in your AWS console, go to its DNS settings, and turn on Requester DNS resolution. This lets Contentstack Launch resolve your private DNS hostnames over the connection. Most VPCs already have DNS hostnames and DNS resolution turned on by default, so this is usually a quick toggle. Skip this step if your application only connects to backend resources by IP address.
  7. Add the Launch-peered subnet to your security group inbound rules. Update the security group attached to your backend resources (and network ACL, if you use a custom one) to allow inbound traffic from the Subnet CIDR. The route table change only configures routing; your security group still needs to explicitly allow traffic through, or it'll be blocked even with the peering connection active.

    Example security group inbound rule

    TypeProtocolPort rangeSource
    Custom TCPTCP543210.100.0.0/16


    (Contentstack Launch’s VPC CIDR)

Testing the Connection

Once VPC peering is configured and your route table, security group rules, and (if needed) DNS resolution are in place, you can verify the setup by deploying a small Launch function that exercises both traffic paths at once: a call to a backend resource over the peering connection, and a call to the public internet.

Deploy the following as a Launch cloud function, replacing PRIVATE_URL with the hostname or internal IP of a resource inside your VPC (for example, a health-check endpoint on your internal API):

After it runs, the publicInternet.ip value in the response should match one of the Egress IPs listed under Settings → Networking. If it does not, your traffic is not leaving through the private network:

// Replace with your private resource's URL (hostname or internal IP)
const PRIVATE_URL = 'http://internal-api.corp.local:8080/health';

export default async function handler(request, response) {
// Test VPC peered endpoint
  let privateResult = null;
  let privateError = null;
  try {
    const res = await fetch(PRIVATE_URL, { signal: AbortSignal.timeout(5000) });
    privateResult = await res.text();
  } catch (err) {
    privateError = err.message;
  }

  // Test public internet access
  let publicIp = null;
  let publicError = null;
  try {
    const res = await fetch('https://checkip.amazonaws.com', { signal: AbortSignal.timeout(5000) });
    publicIp = (await res.text()).trim();
  } catch (err) {
    publicError = err.message;
  }

  response.status(200).json({
    privateVpc: { url: PRIVATE_URL, result: privateResult, error: privateError },
    publicInternet: { ip: publicIp, error: publicError },
    timestamp: new Date().toISOString(),
  });
}

Invoking the function returns a JSON response summarizing both tests, for example:

{
  "privateVpc": { "url": "http://internal-api.corp.local:8080/health", "result": "OK", "error": null },
  "publicInternet": { "ip": "203.0.113.10", "error": null },
  "timestamp": "2025-01-01T00:00:00.000Z"
}

If either test returns an error, go back over your route table entries, DNS resolution settings, and security group inbound rules (and your network ACL if you use one). Double-check that the CIDR in each of those matches the VPC CIDR shown in Settings → Networking.

Pricing and Support

Private Network Deployments are available as an add-on Enterprise feature.

To enable Private Network Deployments for your account, contact Contentstack Support with your VPC ID, VPC CIDR, and Region. The team confirms pricing and starts provisioning. Once your network is up, your Egress IPs and connection details show up in Settings → Networking.