# Disabling EC2 instance public IPV4 addresses

**URL:** <https://community.convox.com/t/disabling-ec2-instance-public-ipv4-addresses/939>\
**Category:** Rack (Version 2)\
**Created:** [January 11, 2024, 9:52pm UTC](https://community.convox.com/t/disabling-ec2-instance-public-ipv4-addresses/939 "2024-01-11T21:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://community.convox.com/u/scott)\
**Post date:** [January 11, 2024, 9:52pm UTC](https://community.convox.com/t/disabling-ec2-instance-public-ipv4-addresses/939/1 "2024-01-11T21:52:49Z")

</div>

AWS is going to start charging for ip addresses: [New – AWS Public IPv4 Address Charge + Public IP Insights | AWS News Blog](https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/). Is there a way to disable public ipv4 addresses on our EC2 instances? I see that there is an option for private networking [Convox Docs](https://docsv2.convox.com/management/private-networking#cost) but that isn’t what I’m looking for. The costs of the 3 NAT gateways will increase our costs far more than the public ips will. I want this to still be a public rack but just to have the load balancer communicate communicate with the EC2 instances via ipv6 addresses that don’t have any costs associated with them.

I see that there is an option to have load balancers be dualstack to communicate over ipv4/6. ECS also appears to have support for ipv6. And you can set a subnet to auto assign an ipv6 address and not auto assign a ipv4 one. This seems like it should be possible, but I’m not seeing how since Convox is creating/updating all of these pieces automatically.

I did the math and this change will be a 10-15% increase on our AWS bill, which is fairly large.

---

<div class="post-metadata">

**Author:** ![Nick-Convox](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/nick-convox/32/250_2.png) [@Nick-Convox](https://community.convox.com/u/Nick-Convox)\
**Post date:** [January 24, 2024, 2:03pm UTC](https://community.convox.com/t/disabling-ec2-instance-public-ipv4-addresses/939/2 "2024-01-24T14:03:42Z")

</div>

Hey @scott

We are actively looking at adding some cost savings features that would minimize the amount of public IPv4 addresses being used by a rack. I will be sure to update this thread once the feature is live in-case you miss the patch notes.

Regards,  
Nick
