Reputation: 4328
I'm using Lambda and API Gateway for building the APIs. And, I read that AWS CloudFront has IPv6 support. I want to use custom domain and I created certificates with ACM as required by the API Gateway.
But, when I test if the AAAA records are found for the CloudFront URL using http://ready.chair6.net, the AAAA records are not found.
Many blog posts assume CloudFront distribution settings are accessible. But, when we create the CloudFront distribution with API Gateway, you can't change settings of the distribution - not from the console.
How do I enable IPv6 for API Gateway?
Upvotes: 4
Views: 5399
Reputation: 179194
As a workaround, you can create your own CloudFront distribution, enable IPv6 there, and then point it to API Gateway -- which you will want to deploy using a Regional Endpoint (which avoids having API Gateway creating its own CloudFront distribution) instead of an Edge-Optimized Endpoint (which creates a "hidden" CloudFront distribution controlled by API Gateway).
Upvotes: 6