projecthorus / sondehub-infra

GNU General Public License v3.0
26 stars 4 forks source link

Reduce public ip count #118

Open TheSkorm opened 1 year ago

TheSkorm commented 1 year ago

AWS will be charging for public IPv4 addresses soon (https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/)

image

We currently use 6 IP addresses @ $0.005 per hour = ~$22 USD a month

Not mentioned in the article is LightSail, for we'll deal with that separately

Of these 6:

The ECS services could likely switch to IPv6 using egress gateway. They don't permit direct traffic (or shouldn't anyway). The only tricky one is the APRS gateway, however I believe there is enough APRS-IS gateways that support IPv6 that this shouldn't be an issue.

TheSkorm commented 1 year ago

IPV6 public and private subnets created. Other subnets are now dualstack

TheSkorm commented 1 year ago

OpenSearch doesn't support IPv6 so unless we do something wild like proxy requests through CloudFront grafana will have to remain having a v4 address

TheSkorm commented 10 months ago

Can't do a lot until : https://github.com/aws/containers-roadmap/issues/1340 and opensearch have IPv6 options

TheSkorm commented 9 months ago

OpenSearch now supports IPv6! https://aws.amazon.com/about-aws/whats-new/2023/10/amazon-opensearch-service-ipv6/