When using AWS Resource Endpoints with Dedicated Cloud Gateways, your resource gateway is the point of inbound traffic into your VPC for the resource you shared.
Traffic from your Dedicated Cloud Gateway arrives at your backend resources sourced from the resource gateway’s own elastic network interface (ENI), using a normal IP address from the subnet you assigned to the resource gateway when you created it.
To allow this traffic, create a dedicated security group for your resource gateway, then reference that security group (not an IP range or prefix list) as the allowed source on your backend target’s security group (for example, EC2 instances, Application Load Balancers, Network Load Balancers, or target Elastic Network Interfaces).
- In AWS, navigate to your VPC console.
- From the VPC sidebar, click Security groups.
- Create a new security group (for example,
sg-resource-gateway) and attach it only to your resource gateway.
- Navigate to the security group for your backend target resource.
- Add an inbound rule for the relevant port (for example, TCP/443).
- In the Source field, select the dedicated resource gateway security group you created.
Create a new security group for each backend resource that receives traffic through the resource gateway.