- Mais recentes
- Mais votos
- Mais comentários
API is hosted in another AWS Account (SYSTEM) and Technically a different Network (VPC)
In order for the API to access resources within your VPC (RDS in this case) you need to configure API VPC Link so that it can route onto your VPC.
You havent mentioned you have this configured so I assume not. Please follow instructions here https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html
FYI, Cloudfront only fronts your API/ALB it will never be able to connect to your RDS instance
Extra info here https://aws.amazon.com/blogs/compute/understanding-vpc-links-in-amazon-api-gateway-private-integrations/
Thanks a lot friend, you were right.!!!
Thank you very much for making the effort and coming back to accept the answer. I appreciate I was able to help you resolve the issue you had.
Please reach out again with any questions
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 3 meses
- AWS OFICIALAtualizada há 2 anos
Can you clarify how cloudfront is implicated? Cloudfront would only front your API, the API is what needs access to RDS -- hence Cloudfront has no knowledge of or ability to connect to RDS.