> Canonical URL: https://codingcat.dev/podcast/3-22-fly-io-with-dov-alperin

# Speedrun Your App Onto Fly.io

🎧 Podcast Episode · S3E22November 15, 2023

# Speedrun Your App Onto Fly.io

![](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/8a10ce4a328dc24b0b795fb2238d9b81049635a3-1920x1080.png?w=1920&h=1080&q=82&fit=max&auto=format)[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)[![Dov Alperin](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/7af6aa6690ac48f6601ba6e352133988aa6bc8fa-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Dov Alperin](/guest/dov-alperin)🎧 Listen & Subscribe[Spotify](https://open.spotify.com/episode/5zS8lOvpTyl3SMK7Pd6mhz)[Apple](https://podcasts.apple.com/us/podcast/3-22-fly-io-with-dov-alperin/id1491655542?i=1000635700349)[YouTube](https://youtu.be/JFObDifxL74)[Pocket Casts](https://pca.st/episode/56b2a5a8-5030-4f08-b35a-bef4c97c0ec8)[Castbox](https://castbox.fm/episode/id2508485-id650522290)[Castro](https://castro.fm/episode/5Cqahs)[Overcast](https://overcast.fm/itunes1491655542)[RSS](https://anchor.fm/s/115b203c/podcast/rss)

## Episode Sponsors.

[![CodingCat.dev tutorial cover image](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/1564a576c0c19e1b857c9bfba3cfb6364e7af223-2400x1350.jpg?w=1920&q=82&fit=max&auto=format)Partner & Sponsor

### Storyblok

Have you already discovered Storyblok? They have an official Svelte SDK! 74,000 + developers & marketers use it to deliver powerful content experiences on any frontend: Websites, eCommerce, mobile apps, AR/VR, or voice content!](https://www.storyblok.com/?utm_source=codingcat&utm_medium=sponsor&utm_campaign=AWA_SPON_PURRFECT_TRA&utm_content=purrfect-podcast)✏️ Visual Architecture Diagram

## how this episode connects together.

Follow AJ from first principles to production-ready architecture.

Let’s build it!✏️ Visual Diagram: Speedrun Your App Onto Fly.io✓ Good PatternVISUAL DIAGRAM[Diagram Walkthrough]Step-by-step diagram breakdown for Speedrun Your App Onto Fly.io: start with Dov Alperin, implement Architecture & Patterns, and ship to production.AAA Contrast Verified

In today's rapidly evolving digital landscape, businesses are constantly seeking ways to enhance their online presence, improve application performance, and deliver seamless user experiences. Enter edge computing, a transformative technology that brings computational resources closer to the end-users, enabling faster data processing, reduced latency, and enhanced scalability. Fly.io emerges as a frontrunner in this domain, providing a powerful JavaScript platform that empowers developers to build, deploy, and manage edge applications with unparalleled ease and efficiency.

## Interview with Dov from Fly.io

I was lucky enough to sit down and chat with Dov to learn more about his background and Fly.io.

> "Fly.io has a lot of really powerful primitives if you want to build a platform." - Dov

### Dov's Background

Dov actually started working with Fly.io through open source! He created a Terraform provider for their platform which brought him to their attention. Really cool example of open source kickstarting a career.

Some key things about Dov:

- Platform Engineer at Fly.io focused on infrastructure.
- Got into tech through freelance work across React, Node and some Go.
- Learned a lot through open source contributions.
- Currently getting a formal CS degree to complement his experience.

### Why Fly.io for Frontend Devs?

When your app is running closer to users, it improves performance since requests don't need to travel as far. Let's think through an example...

Say you build an amazing new social media app called **CodingCat Social**. It starts to gain traction and users from all over the world begin signing up. If your back end was only running in a single region like US-East, any requests from Africa would need to make a long round trip before getting a response.

With Fly.io, you could deploy your containerized app to regions close to your users. Now when someone in Hong Kong goes to load their feed, it will pull from a local instance rather than one halfway across the world!

### How it Works

Fly.io makes it easy to deploy docker containers globally. Under the hood they utilize:

- [Firecracker microVMs](https://firecracker-microvm.github.io/)
- A network overlay for communication
- Automated services like PostgreSQL databases in regions
- Easy scaling to add instances via CLI

There are also partnerships in the work to offer fully managed databases and other data services all running on Fly.io's infrastructure. Pretty cool!

### CI/CD and Integrations

Since Fly.io uses the standard Docker tooling, it works nicely with CI/CD pipelines. Dov showed an example deploying a Remix app through GitHub Actions. It uses the [Fly CLI](https://fly.io/docs/getting-started/installing-flyctl/) and the syntax looks identical to local commands.

Here is what that workflow looks like:

- Make code changes and push to GitHub
- GitHub Actions runs tests and builds docker image
- Use Fly CLI to deploy freshly built container
- Image runs on Fly.io edge closest to you

They also have integrations for other tools like Terraform if you want to manage infrastructure as code. Overall, it seems pretty straightforward to get up and going!

## Revolutionizing Content Delivery with Fly.io's Global Edge Network

At its core, Fly.io is a global edge network that transforms containers into micro-VMs, strategically distributed across 30+ regions on six continents. This extensive network enables developers to deploy their applications closer to their target audience, significantly reducing latency and ensuring lightning-fast content delivery. Whether you're serving static content, dynamic web applications, or APIs, Fly.io ensures that your users receive content with minimal delay, regardless of their geographical location.

Learn more about [Fly.io's global edge network](https://community.fly.io/t/what-difference-between-edge-and-instace/8797)

## Harnessing the Power of JavaScript for Edge Application Development

Fly.io differentiates itself from other edge computing platforms by embracing JavaScript as its primary language. This choice empowers developers to utilize their existing JavaScript skills and seamlessly transition to edge application development. With Fly.io, developers can write, test, and deploy their applications locally using familiar JavaScript frameworks and tools, eliminating the learning curve associated with new programming languages or complex infrastructure setups.

[Discover Fly.io's JavaScript-centric approach](https://fly.io/docs/js/)

## Simplified Deployment and Management for Effortless Edge Operations

Deploying and managing edge applications can often be a daunting task, requiring specialized expertise and intricate configurations. Fly.io simplifies this process by providing a user-friendly interface and intuitive command-line tools. Developers can effortlessly deploy their applications to any region in the world with just a few clicks or commands, ensuring a smooth and hassle-free deployment experience.

[Learn how to deploy and manage edge applications with Fly.io](https://techcrunch.com/2022/07/28/fly-io-wants-to-change-the-way-companies-deploy-apps-at-the-edge/)

## Unleashing the Scalability of Edge Applications

As user demand fluctuates, edge applications must adapt accordingly. Fly.io's auto-scaling capabilities dynamically adjust the number of micro-VMs allocated to each application based on real-time traffic patterns. This ensures that your applications can handle spikes in demand without performance degradation or downtime, providing a consistent and reliable user experience.

[Explore Fly.io's auto-scaling capabilities](https://fly.io/docs/apps/scale-count/)

## Ensuring Security at the Edge

In today's interconnected world, security remains paramount. Fly.io prioritizes security by employing a robust network architecture and implementing industry-standard security protocols. This safeguards your applications and data from unauthorized access, ensuring that your users' privacy and sensitive information are protected.

With Fly.io, you can rest assured that your [cat website](https://codingcat.dev) is safe and secure. Your cat photos and videos will be protected from prying eyes, and your users' personal information will be kept confidential.

[Read more about Fly.io's security measures](https://fly.io/docs/about/security/)

## Real-World Applications of Fly.io

Fly.io's versatility and ease of use have made it a popular choice for a wide range of applications. From high-traffic websites and e-commerce platforms to real-time gaming experiences and IoT applications, Fly.io empowers developers to build and deploy edge applications that deliver exceptional performance and scalability.

In addition to deploying cat websites, Fly.io can be used to build a variety of other applications, such as:

- **Live streaming video chat platforms**
- **Real-time gaming applications**
- **IoT applications**
- **E-commerce platforms**
- **High-traffic websites**

[Explore some real-world use cases of Fly.io](https://community.fly.io/t/use-cases-applications-for-fly/204)

## Fly.io: A Catalyst for Innovation in the Edge Computing Era

As edge computing continues to revolutionize the digital landscape, Fly.io stands as a powerful platform that empowers developers to create innovative and high-performance edge applications. With its global edge network, JavaScript-centric approach, simplified deployment and management, auto-scaling capabilities, and robust security measures, Fly.io is poised to play a pivotal role in shaping the future of edge computing.

## Wrap Up

That summarizes the key points from my chat with Dov. Fly.io is an interesting platform for running applications globally at the edge for better performance. If your users are distributed, it's worth checking out!

I want to thank Dov again for joining me. Make sure to [Follow Fly.io on Twitter](https://twitter.com/flydotio) and keep tabs on their new offerings coming soon including GPU instances and managed data services.

Until next time, happy coding!

## Video Chapters & Timestamps

Jump directly to any segment of [**Speedrun Your App Onto Fly.io**](https://www.youtube.com/watch?v=JFObDifxL74) on YouTube using the timestamped chapters below:

- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): PM (EDT)
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Welcome Dev and Getting into Fly.io
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Background and Learning
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Hurdles When Starting
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Sponsor: Storyblok
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Fly.io Server Regions
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Technology Under the Hood
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Organization
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Postgres
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Other Services
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Terraform and CICD Pipelines
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Demos and Using Bun
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Replication
- [**00:00**](https://www.youtube.com/watch?v=JFObDifxL74&t=0s): Perfect Picks

## Resources, Links & Official Documentation

- **Watch on YouTube: ** [Speedrun Your App Onto Fly.io Full Video](https://www.youtube.com/watch?v=JFObDifxL74) (plus [Subscribe to CodingCat.dev](https://www.youtube.com/@CodingCatDev?sub_confirmation=1))
- **storyblok.com: ** [https://www.storyblok.com/?utm_source=codingcat&utm_medium=sponsor&utm_campaign=AWA_SPON_PURRFECT_TRA&utm_content=purrfect-podcast](https://www.storyblok.com/?utm_source=codingcat&utm_medium=sponsor&utm_campaign=AWA_SPON_PURRFECT_TRA&utm_content=purrfect-podcast)
- **Show Pick: ** [The Morning Show (picked by Dov Alperin)](https://tv.apple.com/us/show/the-morning-show/umc.cmc.25tn3v8ku4b39tr6ccgb8nl6m)
- **Show Pick: ** [Sentry Performance Monitoring (picked by Alex Patterson)](https://blog.sentry.io/performance-monitoring-for-every-developer-web-vitals-and-function/?original_referrer=https%3A%2F%2Fsentry.io%2F)
- [**Dov Alperin Guest Profile & Episodes on CodingCat.dev**](/guest/dov-alperin)
- [**Dov Alperin on GitHub**](https://github.com/DAlperin)
- [**Episode Sponsor: Storyblok**](https://www.storyblok.com/?utm_source=codingcat&utm_medium=sponsor&utm_campaign=AWA_SPON_PURRFECT_TRA&utm_content=purrfect-podcast)
- [**GitHub Actions CI/CD Documentation:**](https://docs.github.com/en/actions) Automated deployment pipelines, secrets management, and runners
- [**GitHub Documentation:**](https://docs.github.com/) Pull requests, GitHub Actions CI/CD, and repository security
- [**MDN JavaScript Reference:**](https://developer.mozilla.org/en-US/docs/Web/JavaScript) ECMAScript specifications, Web APIs, and runtime fundamentals

## Related CodingCat.dev Tutorials & Podcast Episodes

- [**NPM Tips and Tricks**](/post/npm-tips-and-tricks): Adding NPM Globally, setting default values for packages, and stopping the dreaded sudo calls.
- [**Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2**](/podcast/cwcc-1-2-aws-amplify): AWS Amplify using Gen2, a code first approach
- [**Creating Code in Your Browser with StackBlitz**](/podcast/1-40-creating-code-in-your-browser-with-stackblitz): We sit down with Tomek Sulkowski to talk about how he started as an original engineer for StackBlitz. We also talk about Web Containers and how StackBlitz is le...

## Frequently Asked Questions (FAQ)

### What are the main takeaways from Speedrun Your App Onto Fly.io?

Fly is a platform for running full stack apps and databases close to your users. Fly.io with Dov Alperin: Dov joins Alex to discuss his learning experiences and his path to Fly.io and to talk about all the features it offers. https://codingcat.dev/podcast/3-22-fly-io-with-dov-alperin Sponsors: Storyblok
Have you already discovered Storyblok? They have an official Svelte SDK! 74,000 + developers & m Throughout this podcast, Dov Alperin breaks down real-world implementation details for DevOps, GitHub, JavaScript so developers can apply these patterns directly in production.

### How do you implement DevOps best practices in production?

When adopting DevOps and GitHub in a production stack, start by validating your configuration against the [**GitHub Actions CI/CD Documentation**](https://docs.github.com/en/actions) (Automated deployment pipelines, secrets management, and runners). Focus on incremental adoption, automated testing, and observability so your team can measure performance and developer velocity improvements at each stage.

### Where can I watch the full Speedrun Your App Onto Fly.io walkthrough and find related code resources?

You can watch the complete video session for [**Speedrun Your App Onto Fly.io**](https://www.youtube.com/watch?v=JFObDifxL74) on the [**CodingCat.dev YouTube channel**](https://www.youtube.com/@CodingCatDev?sub_confirmation=1). For a deeper dive into DevOps, check out our related guide: [**NPM Tips and Tricks**](/post/npm-tips-and-tricks).

## ✏️ Episode Summary

Fly.io with Dov Alperin: Dov joins Alex to discuss his learning experiences and his path to Fly.io and to talk about all the features it offers.

https://codingcat.dev/podcast/3-22-fly-io-with-dov-alperin

Sponsors:

Storyblok
Have you already discovered Storyblok? They have an official Svelte SDK! 74,000 + developers & m

## episode picks.

### 🐾 Alex Patterson

- [Sentry Performance Monitoring](https://blog.sentry.io/performance-monitoring-for-every-developer-web-vitals-and-function/?original_referrer=https%3A%2F%2Fsentry.io%2F)

### 🐾 Dov Alperin

- [The Morning Show](https://tv.apple.com/us/show/the-morning-show/umc.cmc.25tn3v8ku4b39tr6ccgb8nl6m)

## recent episodes.

[All Episodes&rarr;](/podcasts)[![GenAI for Engineers, What](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/3e48f44739be2aabf3aaa805e51b3a6328979153-1920x1080.png?w=1920&q=82&fit=max&auto=format)](/podcast/genai-for-engineers-what-s-real-what-s-not-and-what-s-coming)November 19, 2025[AI & MCP Agents](/topic/ai)

### [GenAI for Engineers, What's Real, What's Not and What's Coming](/podcast/genai-for-engineers-what-s-real-what-s-not-and-what-s-coming)

Curious about GenAI for engineers? Learn what's real, what's not, and what's next in AI.

[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)[![Balki Kodarapu](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/25fd44884e232394eb74b776fcec7e8d13330ca0-1060x794.png?rect=133,0,794,794&w=96&h=96&q=82&fit=max&auto=format)Balki Kodarapu](/guest/balki-kodarapu)[![How OAuth, MCP, and the OpenAI Apps SDK, Power the Next Generation of Interactive AI Experiences (with Stytch & OpenAI)](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/0beb99900f4c24e284df2dee3e2d740062c6ce96-1920x1080.png?w=1920&q=82&fit=max&auto=format)](/podcast/how-oauth-mcp-and-the-openai-apps-sdk-power-the-next-generation-of-interactive-ai-experiences)November 4, 2025[AI & MCP Agents](/topic/ai)

### [How OAuth, MCP, and the OpenAI Apps SDK, Power the Next Generation of Interactive AI Experiences (with Stytch & OpenAI)](/podcast/how-oauth-mcp-and-the-openai-apps-sdk-power-the-next-generation-of-interactive-ai-experiences)

Curious about OAuth, MCP servers, and building cool ChatGPT apps? Hear from Max of Stytch as we dive deep, break down the tech, and build a Tamagotchi together!

[![Alex Patterson](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/a606dfaa381aab08ddbe16a33fe1d3e1fb37c927-400x400.jpg?w=96&h=96&q=82&fit=max&auto=format)Alex Patterson](/author/alex-patterson)[![Max Gerber](https://cdn.sanity.io/media-libraries/mlttp0BZbCpV/images/4497bb7ada0e39b4cd13b0e3ca00c930389dab02-1292x1088.png?rect=102,0,1088,1088&w=96&h=96&q=82&fit=max&auto=format)Max Gerber](/guest/max-gerber)