trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.66k stars 2.32k forks source link

EC2 will begin to charge for public IPv4 addresses #14644

Open glennschler opened 1 year ago

glennschler commented 1 year ago

Is your feature request related to a problem? Please describe. AWS has announced a new charge of 0.005 per hour for the use of IPv4 addresses. Typically this is allocated by Algo as an elastic IP and attached to the new EC2 instance. In the past the cost was zero. This will amount to approximately $3.6 per month for those no longer eligible for the first year free tier. The charge begins February 2024.

Though not addressed directly in the announcement, it is expected that AWS Lightsail will also increase the bundled cost if using ipv4. The Lightsail cloudformation StaticIp used by Algo will need similar changes as the ec2 ipv6 solution.

Describe the solution you'd like An option to have not have Algo configure the EC2 cloud instance with a public IPv4 endpoint. Only a public IPv6 endpoint is required.

I have a proof of concept to resolve this issue, though manual steps are still required. Before continuing I thought there could be further discussion. I do not know if I have considered all Algo configuration of IPv6 on the server side. Additionally the client side ansible changes could greatly increase the amount of integration/regression testing required.

Describe alternatives you've considered