Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.51 KB

File metadata and controls

49 lines (32 loc) · 2.51 KB

VPC Endpoints

CAUTION: You will need to keep enable_nat_gw = true in core-infra variables.tf if you intend to pull container images from Public ECR repositories. This is not supported and is currently blocked by this PR.

This solution blueprint creates VPC Endpoints for S3, ECS, ECR(Private Repositories only), Secrets Manager, and Systems Manager, CloudWatch. There are two steps to deploying this blueprint:

  • Deploy the core-infra. Note if you have already deployed the infra then you can reuse it as well.
    • NOTE: If you would like to disable the NAT Gateway, change enable_nat_gw = false in core-infra variables.tf. Please ensure that this solution blueprint deploys successfully prior to disabling the NAT Gateway in core-infra.
  • Deploy the terraform templates in this repository using terraform init and terraform apply

VPC Endpoints optimize the network path by avoiding traffic to internet gateways and incurring cost associated with NAT gateways, NAT instances, or maintaining firewalls. VPC Endpoints also provide you with much finer control over how users and applications access AWS services. VPC Endpoints prevent sensitive data from traversing the Internet, which helps you maintain compliance with regulations such as HIPAA, EU/US Privacy Shield, and PCI.

Requirements

Name Version
terraform >= 1.0
aws >= 5.0

Providers

Name Version
aws >= 5.0

Modules

Name Source Version
vpc_endpoints terraform-aws-modules/vpc/aws//modules/vpc-endpoints ~> 5.0

Resources

Name Type
aws_route_table.private data source
aws_subnets.private data source
aws_vpc.vpc data source

Inputs

No inputs.

Outputs

No outputs.