Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation and pricing for static machine IPs #1830

Merged
merged 5 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions about/pricing.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ Fly.io pricing is per region group for outbound data transfer. You'll see a more

To opt-in to granular bandwidth pricing, go to the [**Organizations** page](https://fly.io/organizations) in the dashboard, click the organization name to change, then click **Switch to granular bandwidth pricing**. You won't be able to return back not using the granular data transfer rates once you opt-in.

### Static Machine IP pricing

Static IPs for machines are $0.005 per hour.
Machines do not have a static IP by default.

## Fly Kubernetes

[Fly Kubernetes](/docs/kubernetes/) (FKS) is a managed Kubernetes service that runs on Fly.io.
Expand Down
21 changes: 21 additions & 0 deletions machines/overview.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,27 @@ Updating a Machine takes it down (like with `fly machine stop`), applies configu
not changing the image, so we don't have to go fetch it from the global registry, this is fast, for the same reason `stop` and `start`
are; we've already done the heavy lifting.

### Static Machine IPs

Static egress IPs can be attached to a machine. These IPs survive a [machine migration].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does a static egress IP have any other features beyond surviving a machine migration- isn't it also unique to the machine and not shared among other customers?
(Also is [machine migration] supposed to link somewhere)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 I forgot to paste in the links. Also yeah, its unique to the machine.


Static egress IPs are useful when your machine needs to connect to a service that requires allowlisting a specific set of IPs.
If supported, it is recommended to use [Wireguard].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this means- use Wireguard for what? (also, is [Wireguard] supposed to link somewhere)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to paste in the link. Also yeah the sentence should be better framed. Thank you!


You can attach a static egresss IP to your machine with `fly machine egress-ip allocate <machine_id>`
gargakshit marked this conversation as resolved.
Show resolved Hide resolved

```cmd
fly machine egress-ip allocate e784e7d9a65208
```

```output
? Looks like you're allocating a static egress (outgoing) IP. This is an advanced feature, and is not needed by most apps.
Are you sure this is what you want? Yes
Allocated egress IPs for machine e784e7d9a65208:
IPv4: 209.71.93.224
IPv6: 2a09:8280:e600::2e:951:0
```

### Placement

When you `create`, `run`, or `clone` a Machine, you can pick a Fly.io region to place it in. Our API will contact the Machines API
Expand Down
Loading