Skip to content

Commit

Permalink
related topics
Browse files Browse the repository at this point in the history
  • Loading branch information
andie787 committed Aug 14, 2024
1 parent 5181378 commit 47baec9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions launch/autostop-autostart.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ redirect_from:

For Fly Apps with a service configured, [Fly Proxy](/docs/reference/fly-proxy/) can automatically start and stop or suspend existing Machines based on incoming requests, so that your app can meet demand without keeping extra Machines running. Fly Machines are fast to start and stop, and you [don't pay for their CPU and RAM](/docs/about/pricing/#stopped-fly-machines) when they're in a `stopped` or `suspended` state.

Learn the details of how [Fly Proxy autostops and autostarts Machines](/docs/reference/fly-proxy-autostop-autostart/).
Learn the details of [how Fly Proxy autostop/autostart works](/docs/reference/fly-proxy-autostop-autostart/).

## When to use autostop/autostart

Autostop/autostart works well for apps with highly variable workloads, for smaller apps with low or sporadic traffic, and for most apps that aren't receiving requests continuously. You can reduce resource usage and costs by using autostop/autostart to manage your Fly Machines as demand decreases and increases. You'll never have to run excess Machines to handle peak load; you'll only run, and get charged for, the number of Machines that you need. If you need to, you can keep one or more Machines running in your primary region.
Autostop/autostart works well for apps with highly variable workloads, for smaller apps with low or sporadic traffic, and for most apps that aren't receiving requests continuously. You can reduce resource usage and costs by using autostop/autostart to manage your Fly Machines as demand decreases and increases. You'll never have to run excess Machines to handle peak load; you'll only run, and get charged for, the number of Machines that you need. You can choose to keep one or more Machines running in your primary region.

## Configure autostop/autostart

Expand Down Expand Up @@ -103,3 +103,9 @@ When you create a new app using the `fly launch` command, the default settings i
### Apps with no autostop/autostart settings

For apps that don't explicitly specify any autostop/autostart settings in `fly.toml`, Fly Proxy will automatically start stopped Machines when needed, but won't automatically stop or suspend them.

## Related topics

- [How Fly Proxy autostop/autostart works](/docs/reference/fly-proxy-autostop-autostart/)
- [Autostop/autostart private apps](/docs/blueprints/autostart-internal-apps/)
- [Autoscale based on metrics](/docs/launch/autoscale-by-metric/)
6 changes: 3 additions & 3 deletions reference/fly-proxy-autostop-autostart.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ nav: firecracker
<img src="/static/images/docs-stop-start.webp" alt="">
</figure>

Fly Proxy autostop/autostart automatically stops (or suspends) and starts existing Machines based on incoming requests to your app. You can scale your app for peak loads, and save on resource costs by only running those Machines when needed, since you [don't pay for Machine CPU and RAM](/docs/about/pricing/#stopped-fly-machines) when they're in a `stopped` or `suspended` state. You can set a minimum number of machines to keep running at all times in your primary region.
Fly Proxy autostop/autostart automatically stops (or suspends) and starts existing Machines based on incoming requests to your app. You can scale your app for peak loads, and save on resource costs by running those Machines only when needed, since you [don't pay for Machine CPU and RAM](/docs/about/pricing/#stopped-fly-machines) when they're in a `stopped` or `suspended` state. You can set a minimum number of machines to keep running at all times in your primary region.

Fly Proxy autostop/autostart works for Fly Apps with a service configured in the `fly.toml` file, which covers publicly available apps that accept requests from the internet. You can also use Fly Proxy autostart/autostart for private apps, by setting up services and using a Flycast private IPv6 address. See [Flycast - Private Fly Proxy Services](/docs/networking/flycast/) and [Autostop/autostart private apps](/docs/blueprints/autostart-internal-apps/).
Fly Proxy autostop/autostart works for Fly Apps with a service configured in the `fly.toml` file, which covers publicly available apps that accept requests from the internet. But you can also use Fly Proxy autostart/autostart for private apps, by setting up services and using a Flycast private IPv6 address. See [Flycast - Private Fly Proxy Services](/docs/networking/flycast/) and [Autostop/autostart private apps](/docs/blueprints/autostart-internal-apps/).

Autostop/autostart works well with apps that [shut down automatically when idle](/docs/launch/autostop-autostart/#apps-that-shut-down-when-idle). The Fly Proxy can still restart your app when there's traffic.

Expand Down Expand Up @@ -51,6 +51,6 @@ Fly Proxy determines when to start a Machine as follows:

## Related topics

- [Fly Proxy features](/docs/reference/fly-proxy)
- [Configure autostop/autostart for Fly Launch apps](/docs/launch/autostop-autostart/)
- [Autostop/autostart private apps](/docs/blueprints/autostart-internal-apps/)
- [Fly Proxy features](/docs/reference/fly-proxy)

0 comments on commit 47baec9

Please sign in to comment.