【发布时间】:2023-04-05 03:26:01
【问题描述】:
是否可以在 Amazon Web Services 中将 ElasticIP 从标准范围迁移/移动到 VPC 范围?
我有数百个指向特定 EIP 的域,如果可以将其附加到 VPC 而不会丢失它,那就太棒了。
【问题讨论】:
标签: amazon-web-services amazon-ec2 amazon-vpc
是否可以在 Amazon Web Services 中将 ElasticIP 从标准范围迁移/移动到 VPC 范围?
我有数百个指向特定 EIP 的域,如果可以将其附加到 VPC 而不会丢失它,那就太棒了。
【问题讨论】:
标签: amazon-web-services amazon-ec2 amazon-vpc
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
“当您分配一个 EIP [在 EC2-classic 内] 时,它只能在 EC2-Classic 中使用。当您分配一个 EIP [在 VPC 内] 时,它只能在 VPC 中使用。”
【讨论】:
您现在可以将 EIP 从标准范围移动到 vpc 范围。查看http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#migrating-eip
【讨论】:
截至 2016 年 11 月 15 日,这是可能的! \o/\o/\o/
现在可以将弹性 IP 移动到“EC2-VPC”范围或将其恢复到“EC2-Classic”范围。
通过 AWS 管理控制台:
通过 API(文档):
http://docs.aws.amazon.com/cli/latest/reference/ec2/move-address-to-vpc.html
【讨论】: