Re:We migrated our back end from Vercel to Fly.io and the ch...
by grrowl on Sunday October 29, 2023 @08:09PM
(#38064166)
Can you deploy 700MB Dockerfiles to Cloudflare, as they mention as a minimum requirement in the article?
Re:We migrated our back end from Vercel to Fly.io and the ch...
by NicoJuicy on Sunday October 29, 2023 @08:20PM
(#38064234)
Why would they need that on Cloudflare?
Since they didn't had to change much of their original functions to docker, if they would have switched to Cloudflare from Vercel directly.
That would have been a lot quicker for them to do...
Alternatively, Cloudflare supports hono which they moved too.
https://developers.cloudflare.com/pages/framework-guides/dep...
Re:We migrated our back end from Vercel to Fly.io and the ch...
by radicalriddler on Sunday October 29, 2023 @09:15PM
(#38064605)
Didn't they only need the 700MB dockerfile due to Fly.io requiring it?
Re:We migrated our back end from Vercel to Fly.io and the ch...
by benwaffle on Sunday October 29, 2023 @10:31PM
(#38065074)
Fly.io supports up to 8GB docker images
Re:We migrated our back end from Vercel to Fly.io and the ch...
by radicalriddler on Sunday October 29, 2023 @10:59PM
(#38065223)
Cool. By the sounds of it, they needed the docker image in the first place because they chose fly.io. This guy is saying that Cloudflare wouldn't support it, but if they went the cloudflare route (which I'm not saying whether or not it's actually possible), they wouldn't have needed the docker image in the first place.
Re:We migrated our back end from Vercel to Fly.io and the ch...
by NicoJuicy on Monday October 30, 2023 @02:53AM
(#38066428)
Correct. Which was actually already in my tldr
> TLDR: They could have done it cheaper, quicker and without adding DevOps to their workload with just migrating to Cloudflare.
See: quicker= less changes required to migrate...
Re:We migrated our back end from Vercel to Fly.io and the ch...
by reducesuffering on Monday October 30, 2023 @12:32AM
(#38065705)
It is beyond me why anyone but the most pre-revenue bootstrapped projects would spend $150k+/yr eng hours into saving $100 month on infra. Projects like this are trying to make $1m+/yr in revenue.
Re:We migrated our back end from Vercel to Fly.io and the ch...
by NicoJuicy on Monday October 30, 2023 @03:06AM
(#38066486)
This was done in a weekend fyi ( mentioned in the blog post)
Re:We migrated our back end from Vercel to Fly.io and the ch...
by tibozaurus on Monday October 30, 2023 @04:23AM
(#38066874)
Founder of OpenStatus here:
We can't use Cloudflare because there's no way to execute in a specific region, if you know how to do it let me know
Re:We migrated our back end from Vercel to Fly.io and the ch...
by NicoJuicy on Monday October 30, 2023 @06:37AM
(#38067726)
They was an interesting rabbit hole, thanks :p
Found this to be the best resource:
https://community.cloudflare.com/t/how-to-force-region-in-cl...
- Vercel: 150$/m.
- Fly: 23$/m ( + managing servers and devops)
- Cloudflare: 11 $/m.
--- (original)
They could have gone from Vercel to Cloudflare to reduce their costs.
But that would have been almost no work to create a blog post about :p
https://developers.cloudflare.com/pages/framework-guides/dep...
Did some raw math.
Cloudflare is 0,15$ per million requests and Vercel is 2$ per million requests.
Their calculation for Vercel was: 77,600 * (2/1,000,000) = 0.15c per monitor monthly
So that's ~0,011c per monitor monthly on Cloudflare. That would be a bill of 11€ per month ( vs 150 € per month on Vercel ). Probably less, since Cloudflare doesn't count idle CPU time... - https://blog.cloudflare.com/workers-pricing-scale-to-zero/
Which is cheaper than their VPS of 23.34$ / month.
And would have avoided managing servers + security to their workload...