A SysOps Administrator is configuring private connectivity between a consumer VPC and a proprietary billing application hosted in a provider VPC using AWS PrivateLink. The provider VPC has configured a VPC Endpoint Service backed by an internal Network Load Balancer. The administrator has created an Interface VPC Endpoint in a private subnet of the consumer VPC, but EC2 instances in that subnet cannot reach the billing application.
Which of the following actions should the administrator take to successfully establish connectivity? (Select TWO).
- Accept the endpoint connection request in the Endpoint Service console of the provider account.Answer
- Configure the security group associated with the Interface VPC Endpoint to allow inbound traffic on the billing application's port from the EC2 instances.Answer
- CAdd a route in the consumer subnet's route table that targets the Interface VPC Endpoint ID for the destination IP range of the provider VPC.
- DDeploy a NAT Gateway in the consumer VPC and add a route in the private subnet's route table to direct the application traffic to the NAT Gateway.
- EAttach an Internet Gateway to the consumer VPC and add a route pointing to the Internet Gateway in the private subnet route table.
Answer
To establish connectivity, the administrator must accept the connection request in the provider's VPC Endpoint Service configuration and configure the security group associated with the Interface VPC Endpoint in the consumer VPC to allow inbound traffic on the billing application's port from the EC2 instances.
AWS PrivateLink Interface Endpoints create Elastic Network Interfaces (ENIs) with private IP addresses in the consumer subnets. Traffic sent to the service is resolved via DNS to these ENIs. Therefore, the security group attached to the Interface Endpoint must permit inbound traffic from the client instances on the destination port. Additionally, PrivateLink connection requests must be accepted by the provider account to authorize the endpoint connection.
Step-by-Step Solution
Key Concept
Establishing private connectivity using AWS PrivateLink and troubleshooting Interface VPC Endpoints, including connection acceptance and security group configuration.