To start, I’m a bit of a beginner to AWS, so excuse my ignorance.
So lets say you have EC2 instances in a private subnet that need to download files from the internet. Can we use a NAT gateway for this? The reason I ask is because the NAT Gateway docs say:
“Instances in private subnets can connect to the internet through a public NAT gateway, but cannot receive unsolicited inbound connections from the internet.”
If this is the case, then how would documents be downloaded from the internet? Maybe my concept of how the connections work is wrong, if so please correct me
This is just an exam question, would love to get some insight on this (I’ve tried reading up on docs, but didn’t find an answer to this yet)