Category "elastic-ip"

AWS EC2 multiple IPs, which one will be the default one to send out traffic?

I have created an ec2 ubuntu instance with an initial public IP assigned. After, I added two additional elastic IPs to the machine and did ip addr add ELASTIC_I

disassociate EIP and then convert to vps eip

I have an eip that I want to convert from scope EC2-classic to VPC. Can I disassociate, convert to VPC eip, and then just re-associate with the same ec2 instanc

How to assign an AWS Elastic IP to a newly created EC2 instance with Terraform without it getting reassigned when another instance is created?

I currently have the following Terraform plan: provider "aws" { region = var.region } resource "aws_instance" "ec2" { ami = var.ami instance_