My VPC consists of 2 public and 2 private subnets, private subnet having NAt gateway to access internet and my docker instance is running on private subnet which receives external URLs (http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4) as input and download content/file and store the files in s3
I have application load balancer setup in public subnet and connects to fargate instance
when i try to run and the logs say NAME cannot be resolved commondatastorage.googleapis.com
I understand that docker is not having internet connection
What i am doing wrong here and what needs to corrected?
PS: While creating the fargate service I DISABLED Auto Assign Public IP as instance should be on private subnet