Re-assign private IP address in AWS?

前端 未结 3 1557
鱼传尺愫
鱼传尺愫 2021-02-12 22:09

I have an AWS instance running behind an elastic IP. The instance also has a private IP address in my VPC. I will be re-assigning the elastic IP to another instance and am tryin

3条回答
  •  别跟我提以往
    2021-02-12 22:35

    Unless this is a 'secondary private ip address' (and you said it was not), then no, you can't:

    You can assign additional private IP addresses, known as secondary private IP addresses, to instances that are running in a VPC. Unlike a primary private IP address, you can reassign a secondary private IP address from one network interface to another. For more information about primary and secondary IP addresses, see Multiple IP Addresses in the Amazon EC2 User Guide for Linux Instances.

    http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html

提交回复
热议问题