【发布时间】:2019-01-31 10:26:57
【问题描述】:
我正在尝试了解 AWS 中的弹性 IP 定价。令我困惑的查询很少。
根据 AWS Docs,
1) EC2-VPC 的每个区域的弹性 IP 地址限制为 5。
因此,如果我在 3 个区域中有 3 个 VPC 并通过 VPC 对等互连。 I can have 15 Elastic IPs in total for my account?
2) 当您的实例运行时,您无需为与该实例关联的一个弹性 IP 地址付费,但您需要为与该实例关联的任何其他弹性 IP 地址付费。
- Does it mean, charges will be applicable for 4 Elastic IPs if I use them for the same instance?
- If so, I can avoid billing for 4 elastic IPs if I use them somewhere else like, NAT, NAT Gateway, ELB, Bastion etc.?
3) 我们可以将弹性 IP 重新分配给其他实例,并且可以从池中获取新的弹性 IP。 In both the cases, Won't be cached data for these IPs routed to our instances? TTL will be still alive on the client side right.
4) 通过 VPC 的 Internet 网关访问弹性 IP 地址。如果您在 VPC 和网络之间设置了 VPN 连接,则 VPN 流量会通过虚拟私有网关而不是 Internet 网关,因此无法访问弹性 IP 地址。
In here,流量通过 Internet 网关路由。而不是专用网关。
If the traffic is routed through private Gateway, can't we access bastion servers which uses elastic IPs, to administer private instances?
如果我的理解有误,请纠正我。感谢您的宝贵时间。
【问题讨论】:
标签: amazon-web-services amazon-ec2 amazon-vpc elastic-ip aws-billing