The current set up is:
VPC has all its DNS settings enabled. DNS Hostnames & DNS resolution.
VPC Endpoint and EC2 instances both have allowed all traffic to port 443.
What am I missing here? The EC2 instance cannot seem to resolve the API via its https://(api ID).execute-api.(region).amazonaws.com/(api)
Very late on this, but for anyone else googling the correct link is :
https://{api-id}-{vpc-endpoint}.execute-api.{region}.amazonaws.com/{stage}/.
I believe the issue in the original post here is the vpc-endpoint id is missing from the link. I've seen that incorrect format referenced in a few places, I don't know then but it definitely won't work without it now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With