CharlesIrvine

CharlesIrvine

I’m working on deploying to fly.io on the free tier. Just trying things out for now.

After I’ve deployed by app with fly launch, I’m not able to redeploy with fly deploy. When I try I get the message below.

Is this expected?

Running i-know-test release_command: /app/bin/migrate
  release_command 9185491f10d983 completed successfully
Updating existing machines in 'i-know-test' with rolling strategy
  [1/2] Updating 9080117ae36387 [app]
Error: failed to update VM 9080117ae36387: You have reached the maximum number of machines for this app.

To unlock more features please add credit to your org (using an admin account) from your billing page:

 https://fly.io/dashboard/cirvine/billing

Or contact us at billing@fly.io and we'll take a closer look at your account.

Showing Posts 1 to 9

christhekeele

christhekeele

If I recall correctly, the free tier limits you to one machine—and fly deploy uses the rolling deployment strategy by default, which would require a second machine. Maybe try the immediate strategy if downtime and risk of an outage if there’s a build failure is acceptable?

CharlesIrvine

CharlesIrvine OP

Sounds reasonable. I can’t figure out how to do an immediate deploy yet. Do you know how?

jswanner

jswanner

--strategy immediate

CharlesIrvine

CharlesIrvine OP

I just now tried:

fly deploy --strategy immediate

and still got:

Updating existing machines in 'irvine-my-app' with immediate strategy
  [1/2] Updating 9080eed2b9e958 [app]
Continuing after error: failed to update VM 9080eed2b9e958: You have reached the maximum number of machines for this app.

To unlock more features please add credit to your org (using an admin account) from your billing page:

 https://fly.io/dashboard/cirvine/billing

Or contact us at billing@fly.io and we'll take a closer look at your account.
  [2/2] Updating 9080354c599287 [app]
Continuing after error: failed to update VM 9080354c599287: You have reached the maximum number of machines for this app.

To unlock more features please add credit to your org (using an admin account) from your billing page:

 https://fly.io/dashboard/cirvine/billing

Or contact us at billing@fly.io and we'll take a closer look at your account.
  Finished deploying

Visit your newly deployed app at https://irvine-my-app.fly.dev/

Any ideas anyone? Doesn’t seem very useful if you can’t redeploy after making changes.

jswanner

jswanner

It could be related to this:

CharlesIrvine

CharlesIrvine OP

But I just today signed up for - I think they call it the hobby tier. It’s supposed to be free I thought. I just want to try it out a little to see if I want to use it for deployment. But if you can only deploy once, that doesn’t seem very useful. Maybe I’m missing something here.

christhekeele

christhekeele

I think you must be missing something, I know what you’ve described is exactly how I started my now-paid-plan projects on fly.io, and I was able to deploy more than once (tho stumbled through some different problems). My hypothesis about the deployment strategy definitely seems incorrect.

tj0

tj0

Perhaps it is some increased fraud prevention of some kind? I’ve occasionally seen posts of this on the public forum. I’ve always put some credits into my accounts, so never ran into it.

CharlesIrvine

CharlesIrvine OP

This problem was due to a problem on the Fly.io side. I reported the problem. When they let me know that it was fixed, deployments then started working without issue.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews