Connect Secure VPC and Agent VPC via VPC Endpoints
The POP Client Configuration package contains the Helper Scripts CloudFormation Template (CFT) that automatically configures the association with Secure VPC and the Agents VPC.
The Helper Script is located at Infrastructure > Aws_HelperScriptEndpoint.json.
To establish connectivity between the POP and the VPC where the Agents are located:
- In Skyhigh CASB, go to Settings > POP Management.
- Select the POP where you want to install CWPP Agents.
- In the Cloud Card, under Client Configuration Package, click Download to establish the connectivity between POP and Agents.
- Extract the ClientConfiguration.tar. Then under Infrastructure.tar locate the file Aws_HelperScriptEndpoint.json.
- Go to CloudFormation > Create Stack > With new resources (Standard) > Template is ready > Upload a template file and select the file Aws_HelperScriptEndpoint.json.
- Enter the following parameters for the CloudFormation stack:
- PoPName. This is the same as provided in the prerequisite stack.
- PrivateSubnet. Enter the private subnet where the endpoint must be created.
- VPC. Enter the VPC ID where endpoints must be created. This is the VPC that hosts the Workloads to be protected by CWPP.
- VPCCIDR. Enter the CIDR address assigned to VPC.
- Wait for the CloudFormation stack to complete.
Once the deployment is completed, endpoints for CWPP services (connector and CICD) are created. A private DNS zone associated with the agent VPC is created with record sets of endpoints. The following resources are also created after the CloudFormation stack is completed:
- CwppconnectorVPCEndpoint. An interface VPC Endpoint for POP connector service.
- CwppcicdVPCEndpoint. An interface VPC Endpoint for POP CICD service.
- DNS. A private hosted zone in the specified VPC.
- CwppcicdDNSRecord. A record set for the CICD endpoint, cwpp-cicd.cwpp.skyhigh, and a record set for the connector endpoint, cwpp-connector.cwpp.skyhigh
- Accept the Endpoint Connections for the newly created Endpoints. Refer to AWS documentation for more information: https://docs.aws.amazon.com/vpc/late...-requests.html.