openvpn-terraform-install icon indicating copy to clipboard operation
openvpn-terraform-install copied to clipboard

Attach an EIP to EC2 so that we can swap EC2 profiles with no disruption

Open victoraldir opened this issue 2 years ago • 0 comments

Before all, thanks for sharing such a nice project! Helped me a lot.

So, here goes something that would make this project a bit more resilient on changes. I just attached an EIP along with the provisioned EC2 instance. In my case, I was basically swapping over instance profiles like t2.micro, t2.nano, t2.medium and measuring bandwidth.

The problem was that for each update, a new IP address has been generated and I had to change de .ovpn accordingly.

Having this elastic IP in front of the instance made my life easier! :)

victoraldir avatar May 13 '22 20:05 victoraldir