Skip to content

Security Groups with VPC Endpoints

0

We have an interface VPCendpoint for an AWS service and attached a security group to it. Does the security group control traffic to the endpoint, or just the traffic from the endpoint to the service ?

2 Answers
0

The security group attached to an Interface VPC Endpoint controls traffic to the endpoint ENIs from within your VPC, not traffic from the endpoint to the AWS service.

Inbound rules determine which resources in the VPC can connect to the endpoint. Outbound rules control traffic leaving the endpoint ENIs toward the service.

The AWS service itself does not initiate connections back into your VPC through the endpoint.

Documentation: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html

AWS
answered 4 days ago
EXPERT
reviewed 4 days ago
  • Outbound rules are for endpoint to vpc not to service

0

Inbound rules determine which resources in the VPC can connect to the endpoint. Outbound rules control traffic leaving the endpoint ENIs toward the VPC not the service.

No outbound rules are required for vpc endpoints

EXPERT
answered 4 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.