# Static egress IPs for machines

**URL:** <https://community.fly.io/t/static-egress-ips-for-machines/22004>\
**Category:** Fresh Produce\
**Created:** [September 24, 2024, 4:51pm UTC](https://community.fly.io/t/static-egress-ips-for-machines/22004 "2024-09-24T16:51:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![akshit-fly](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/akshit-fly/32/37188_2.png) [@akshit-fly](https://community.fly.io/u/akshit-fly)\
**Post date:** [September 24, 2024, 4:51pm UTC](https://community.fly.io/t/static-egress-ips-for-machines/22004/1 "2024-09-24T16:51:42Z")

</div>

You can now assign static egress IPs to your machines.!

Although most apps don’t need it, it is useful when using services like MongoDB atlas that require allowlisting a range of IPs.

You can allocate static egress IPs to your machine by running `fly machine egress-ip allocate <machine ID>`. These IPs survive machine migration and are not shared between machines.

Static egress IPs for machines will cost $0.005 per hour.

---

_[View the full topic](https://community.fly.io/t/static-egress-ips-for-machines/22004)._
