You have a UDP load balancer that is created by an instance that is running an NGINX proxy. Your application performance management (APM) solution can detect failures in your load balancer instance and transfer the Elastic IP to a passive standby instance. Using the AWS CLI, which script do you program into your APM to move the Elastic IP?

Advertisement

  • A
    aws ec2 disassociate-address –association-id eipassoc-2bebb712
    aws ec2 associate-address –instance-id i-8b953 –allocation-id eipalloc-02d021a
  • B
    aws ec2 release-address –association-id eipassoc-2bebb712
    aws ec2 assign-address –instance-id i-8b953 –allocation-id eipalloc-02d021a
  • C
    aws ec2 stop-instances –instance-ids i-8b953
    wait 30
    aws ec2 disassociate-address –association-id eipassoc-2bebb712
    aws ec2 associate-address –instance-id i-8b953 –allocation-id eipalloc-02d021a
    aws ec2 start-instances –instance-ids i-8b953
  • D
    aws ec2 release-address –association-id eipassoc-2bebb712
    aws ec2 associate-address –instance-id i-8b953 –allocation-id eipalloc-02d021a
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend