Why you should use AWS Elastic IPs

Intermediate

What are Elastic IPs? Elastic IPs are public IPs that are allocated by AWS. These IPs can be attached to any of your compute resources. Hence provide one constant end point that your services can communicate to.

Elastic IPs are the best way to avoid single node failure in a conventional server deployment setup. Here's how Elastic IPs can help you mitigate risk in your EC2 Instances:

Your instance is down with an Elastic IP pointing to it

Case 1: Your instance is down with an Elastic IP pointing to it

Provision a new instance with an Elastic IP pointing towards it

Provision a new instance with an Elastic IP pointing towards it

This setup has several advantages:

  • Very low down time As you can instantly route your traffic to a new instance.
  • No need to change DNS records because your DNS records still points to the original Elastic IP
  • The Old Instance stays around so that you can easily investigate what went wrong
  • Very low resource costs as you only run one instance at once.
Go Back

Poorna's blog 2020-PRESENT. All the opinions on this blog are opinions only. I have no sponsors and I am not affliated with any platforms or ventures.