Introduction
Private networking lets your Private Cloud reach AWS resources in your own accounts without exposing traffic to the public internet. VPC Peering, PrivateLink, and PrivateLink (Resources) are available as self-service flows in the Cloud dashboard. Laravel Cloud also supports VPC Lattice and Transit Gateway, but you need to coordinate with the Laravel Cloud team to set them up.Connection types
When you create a private connection, you choose a connection type. The right choice depends on what you are connecting to and how your network is structured.- VPC Peering: A direct network link between two VPCs that lets connections route internally over private IPs. Simple to set up and best for simple networks.
- VPC Lattice: A managed service mesh for connecting services across VPCs. Useful for strict security environments with heightened observability.
- PrivateLink: Expose an individual service in one VPC to another over a private endpoint. Common for connecting to vendor-managed databases or APIs privately.
- PrivateLink (Resources): Reach a single resource, such as a database, that you share with Laravel Cloud through AWS Resource Access Manager (RAM).
- Transit Gateway: A regional hub that connects multiple VPCs or other gateways together. Best for complex, multi-VPC architectures.
Setting up a VPC peering connection
To establish a VPC peering connection from the Cloud dashboard:Open network settings
Choose a Private Cloud
Select the connection type
Provide connection details
- AWS account ID: The 12-digit account ID of the AWS account that owns the VPC or resources you want to connect to.
- VPC ID: The ID of the VPC you want to peer with. You can find this in your AWS VPC dashboard.
- CIDR range: The IPv4 CIDR block of the target VPC. This range must not overlap with your Private Cloud’s CIDR range.
Submit the request
Accept the peering request in AWS
Target and the corresponding Laravel Cloud values under Ours. Use the Ours IP information when you configure resources in your account that need to talk to your Private Cloud. Use the Target IPs when your Private Cloud needs to reach resources in your account.
If a connection fails or expires, click Renew request to restart the workflow without re-entering the details.
Setting up a PrivateLink connection
Use PrivateLink when the service you want to reach is published as a VPC endpoint service, either by you or by a vendor such as a managed database provider. Laravel Cloud creates an interface endpoint in your Private Cloud that connects to the endpoint service, so traffic only flows one way and the two networks’ CIDR ranges may overlap.Start a private connection request
Provide connection details
- AWS account ID (optional): The 12-digit account ID of the AWS account that owns the endpoint service. You may leave this blank, which is common when a vendor owns the endpoint service and does not share its account ID.
- Endpoint service name: The name of the VPC endpoint service, such as
com.amazonaws.vpce.us-east-2.vpce-svc-0a1b2c3d4e5f6. You can find this in AWS under VPC > Endpoint services, or in your vendor’s PrivateLink instructions. - Ports: The ports the endpoint service listens on, separated by commas. Laravel Cloud only reaches these ports.
- Endpoint service region: The AWS region where the endpoint service is located.
Allow Laravel Cloud on the endpoint service
Accept the endpoint connection
Wait for Laravel Cloud to finish the connection
Setting up a PrivateLink (Resources) connection
Use PrivateLink (Resources) to reach a single resource, such as an RDS database, without publishing an endpoint service. You describe the resource with a VPC Lattice resource configuration and share it with Laravel Cloud through AWS RAM.Start a private connection request
Provide connection details
- AWS account ID (optional): The 12-digit account ID of the AWS account that owns the resource configuration.
- Resource configuration ARN: The ARN of the resource configuration you want to share. You can find this in AWS under VPC > Resource configurations.
- Ports: The ports the shared resource listens on, separated by commas. Laravel Cloud only reaches these ports.
- Resource region: The AWS region where the resource configuration is located.
Share the resource configuration
Wait for Laravel Cloud to finish the connection
VPC Lattice and Transit Gateway
Laravel Cloud supports these connection types, but they aren’t available as a self-service flow in the dashboard yet. To set one up, contact the Laravel Cloud team with:- The connection type you need.
- The AWS account and VPC details for the target side.
- For VPC Lattice: the resources or services you want to make available.
- For Transit Gateway: the existing Transit Gateway ID and routing details.

