I am running an AWS CodeBuild project to build, test and publish a .NET 8 application locally (within CodeBuild) and then running it as part of an integration test. The CodeBuild project is running/deployed in my account’s VPC which, includes a NAT Gateway for outbound internet traffic, because it also requires access to some private VPC resources. The Security Group on my CodeBuild project ONLY allows outbound HTTPS/ 443 to the public internet (0.0.0.0/0 ) and the build process is currently taking an extremely long time, ~ 22 minutes , on the dotnet restore –verbosity detailed step.