Tim van Beek
Tim van Beek

Reputation: 195

AWS CodeBuild without Internet?

We use a hybrid cloud setup where we connect to AWS services via VPC endpoints, but security forbids connections to the internet, which means no internet or NAT gateways. The documentation of AWS codebuild states that if it is bound to a VPC, it needs a NAT gateway for internet access in order to connect to other AWS services.

Does this mean we cannot use AWS CodeBuild? Or is there a way to configure it to connect via VPC endpoints?

Upvotes: 1

Views: 874

Answers (2)

Dennis Traub
Dennis Traub

Reputation: 51654

You only need internet access and a NAT gateway if you want to use AWS CodeBuild with AWS services that do not support VPC PrivateLink connections.

To find out which services support PrivateLink, please refer to: AWS services that you can use with AWS PrivateLink

Upvotes: 4

Ravindra Bagale
Ravindra Bagale

Reputation: 17665

you can use VPC Endpoints ,powered by PrivateLink. with this you don't need an internet gateway, NAT device, or virtual private gateway

Upvotes: 4

Related Questions