/fly-live-beats

Deploying the Live Beats app to various platforms

Primary LanguageElixirMIT LicenseMIT

Fly Live Beats

Amazon Web Services (AWS) is the largest cloud provider in the world, with around a third of the market share. It dominates the market for running a container in the cloud. An estimated 80 percent of cloud-hosted containers run on AWS. So it made sense to start there.

I tried deploying the same app to both Fly.io and AWS to compare the experience.

The app is Live Beats. It's a full-stack app including form validation, file uploads and navigation. It uses Phoenix LiveView to provide a real-time experience without needing JavaScript. HTML is rendered on the server. Changes are automatically tracked so the client is only sent the data it needs. This reduces latency, keeps the payload small and means the application can react faster.

Note: The original app was written to run on Fly.io. So it you are deploying there, make sure to use that code. If you are deploying to AWS, you would instead use the modified version of that app that's in this repo. For reference you might like to see the changes I've made to it.

First I'll try running Live Beats locally.