- 最新
- 投票最多
- 评论最多
I've done some more testing. It seems impossible to use Elastic Beanstalk without either a public IPv4 address or other more expensive solutions such as PrivateLink or NAT Gateways. You can set up gateway endpoints from an IPv6 VPC but these support S3 and DynamoDB only.
Any other hints, anyone?
AWS doesn't intend there to be a way to avoid this charge, they themselves say that the purpose of it is to try and dissuade IPv4 usage and drive IPv6 adoption https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/
intended to encourage you to be a bit more frugal with your use of public IPv4 addresses and to think about accelerating your adoption of IPv6
I would imagine that pretty much everybody who posts on here will be affected by it one way or another, and as we get closer to February 1st the amount of discussion around it on here will increase.
I'm using one public IPv4 address. I couldn't possibly be any more frugal, and without this my fully prepaid reserved instance would become functionally useless. Amazon need to include at least one free public IPv4 with each VPC.
Yes of course I understand that. My problem is that AWS is not providing the what I need to fully adopt IPv6. Many AWS services are not IPv6 enabled so if I want to avoid a public EC2 IPv4 address I have to use a NAT gateway which is considerably more expensive.
I could avoid a public IPv4 address by using API gateway with HTTP forwarding to an EC2 instance via a VPC link, but if the instance itself cannot access the AWS services it needs then that approach seems unworkable.
相关内容
- AWS 官方已更新 6 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
I have done a bit of research on the IPv4 charges and IPv6 on AWS, and I can say that you're absolutely right in all regards. There's no good way to fully avoid these charges. Especially on Beanstalk, which doesn't work with IPv6 at all.
You might want to look at AWS App Runner. If it works for your use-case and your app can be containerized, this might be a way out. If you don't need VPC access, App Runner will provide IPv4 ingress and egress without IPv4 address charges, I believe.