`
-| Tail log files | `heroku logs` | `fly logs` |
-| View configuration | `heroku config` | `fly ssh console -C "printenv"` |
-| View releases | `heroku releases` | `fly releases` |
-| Help | `heroku help` | `fly help` |
-
-Check out the [Fly CLI docs](https://fly.io/docs/flyctl/) for a more extensive inventory of Fly commands.
-
-### Deployments
-
-By default Heroku deployments are kicked off via the `git push heroku` command. Fly works a bit differently by kicking of deployments via `fly deploy`—git isn't needed to deploy to Fly. The advantage to this approach is your git history will be clean and not full of commits like `git push heroku -am "make app work"` or `git push heroku -m "ok it will really work this time"`.
-
-To achieve the desired `git push` behavior, we recommend setting up `fly deploy` as the final command in your continuous integration pipeline, as outlined for GitHub in the [Continuous Deployment with Fly and GitHub Actions](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/) docs.
-
-#### Release phase tasks
-
-Heroku has a `release: rake db:migrate` command in their Procfiles to run tasks while the application is deployed. Rails 7.1 will include a `bin/rails db:prepare` in the list of commands to be run on deploy in their `bin/docker-entrypoint` file. Fly.io supports both approaches.
-
-If you don't want to run migrates by default per release, delete the prequite but leave the `:release` task. You'll be able to manually run migrations on Fly via `fly ssh console -C "/app/bin/rails db:migrate"`.
-
-#### Deploy via git
-
-Heroku's default deployment technique is via `git push heroku`. Fly doesn't require a git commit, just run `fly deploy` and the files on your local workstation will be deployed.
-
-Fly can be configured to deploy on git commits with the following techniques with a [GitHub Action](https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/).
-
-### Databases
-
-Fly and Heroku have different Postgres database offerings. The most important distinction to understand about using Fly is that it automates provisioning, maintenance, and snapshot tasks for your Postgres database, but it does not manage it. If you run out of disk space, RAM, or other resources on your Fly Postgres instances, you'll have to scale those virtual machines from the [Fly CLI](https://fly.io/docs/reference/postgres/).
-
-Contrast that with Heroku, which fully manages your database and includes an extensive suite of tools to provision, backup, snapshot, fork, patch, upgrade, and scale up/down your database resources.
-
-The good news for people who want a highly managed Postgres database is they can continue hosting it at Heroku and point their Fly instances to it!
-
-#### Heroku's managed database
-
-One command is all it takes to point Fly apps at your Heroku managed database.
-
-```cmd
-fly secrets set DATABASE_URL=$(heroku config:get DATABASE_URL)
-```
-
-This is a great way to get comfortable with Fly if you prefer a managed database provider. In the future if you decide you want to migrate your data to Fly, you can do so [pretty easily with a few commands](#transfer-the-database).
-
-
-#### Fly's databases
-
-The most important thing you'll want to be comfortable with using Fly's database offering is [backing up and restoring your database](/docs/rails/the-basics/backup-and-restoring-data/).
-
-As your application grows, you'll probably first [scale disk and RAM resources](/docs/reference/postgres/#scaling-vertically-adding-more-vm-resources), then [scale out with multiple replicas](/docs/reference/postgres/#scaling-horizontally-adding-more-replicas). Common maintenance tasks will include [upgrading Postgres](/docs/reference/postgres/#upgrading-the-postgres-app) as new versions are released with new features and security updates.
-
-[You Postgres, now what?](/docs/reference/postgres-whats-next/) is a more comprehensive guide for what's required when running your Postgres databases on Fly.
-
-### Pricing
-
-Heroku and Fly have very different pricing structures. You'll want to read through the details on [Fly's pricing page](/docs/about/pricing/) before launching to production. The sections below serve as a rough comparison between Heroku and Fly's plans as of August 2022.
-
-
- Please do your own comparison of plans before switching from Heroku to Fly. The examples below are illustrative estimates between two very different offerings, which focuses on the costs of app & database servers. It does not represent the final costs of each plan. Also, the prices below may not be immediately updated if Fly or Heroku change prices.
-
-
-#### Free Plans
-
-Heroku will not offer free plans as of November 28, 2022.
-
-Fly offers free usage for up to 3 full time VMs with 256MB of RAM, which is enough to run a tiny Rails app and Postgres database to get a feel for how Fly works.
-
-#### Plans for Small Rails Apps
-
-Heroku's Hobby tier is limited to 10,000 rows of data, which gets exceeded pretty quickly requiring the purchase of additional rows of data.
-
-| Heroku Resource | Specs | Price |
-|----------|------|-------|
-| App Dyno | 512MB RAM | $7/mo |
-| Database | 10,000,000 rows | $9/mo |
-| **Estimated cost** | | $16/mo |
-
-Fly's pricing is [metered for the resources](https://fly.io/docs/about/pricing/) you use. Database is billed by the amount of RAM and disk space used, not by rows. The closest equivalent to the Heroku Hobby tier on Fly looks like this:
-
-| Fly Resource | Specs | Price |
-|----------|------|-------|
-| App Server | 1GB RAM | ~$5.70/mo |
-| Database Server | 256MB RAM / 10Gb disk | ~$3.44/mo |
-| **Estimated cost** | | ~$9.14/mo |
-
-#### Plans for Medium to Large Rails Apps
-
-There's too many variables to compare Fly and Heroku's pricing for larger Rails applications depending on your needs, so you'll definitely want to do your homework before migrating everything to Fly. This comparison focuses narrowly on the costs of app & database resources, and excludes other factors such as bandwidth costs, bundled support, etc.
-
-| Heroku Resource | Specs | Price | Quantity | Total |
-|----------|-------|-------|----------|--------|
-| App Dyno | 2.5GB RAM | $250/mo | 8 | $2,000/mo |
-| Database | 61GB RAM / 1TB disk | $2,500/mo | 1 | $2,500/mo |
-| **Estimated cost** | | | | $4,500/mo |
-
-Here's roughly the equivalent resources on Fly:
-
-| Fly Resource | Specs | Price | Quantity | Total |
-|----------|-------|-------|----------|--------|
-| App Server | 4GB RAM / 2X CPU | ~$62.00/mo | 8 | ~$496/mo |
-| Database Server | 64GB RAM / 500GB disk | ~$633/mo | 2 | ~$1,266/mo |
-| **Estimated cost** | | | | ~$1,762/mo |
-
-Again, the comparison isn't realistic because it focuses only on application and database servers, but it does give you an idea of how the different cost structures scale on each platform. For example, Heroku's database offering at this level is redundant, whereas Fly offers 2 database instances to achieve similar levels of redundancy.