1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Does EC2 have a public IP address?
If a public IP address is not assigned, you will not be able to communicate with the public API even if you launch EC2 in a subnet that has a route to the Internet gateway.
If EC2 does not have a public IP address, why not try using NAT Gateway?
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 5 months ago