magenx / Magento-2-aws-cluster-terraform

Magento 2 AWS autoscaling cluster with Terraform and Packer or ImageBuilder. Adobe Commerce Cloud alternative. The best ecommerce infrastructure. Drive more sales online. Transparent billing. Developer-friendly. No hidden bottlenecks.
https://www.magenx.com
124 stars 41 forks source link

Codebuild has no internet connection #26

Closed youanden closed 2 years ago

youanden commented 2 years ago

Since codebuild containers do not get assigned a public IP by default when assigned to a VPC, each codebuild configuration doesn't have internet with the current configuration.

I've set up a separate private subnet, route table, and public NAT (connected to public subnet), so codebuild is now configured with that private subnet and goes through the NAT to pull from composer, etc.