---
title: Building a Fly.io driver for Laravel Sidecar (Part 1)
url: "https://aaronfrancis.com/videos/building-a-flyio-driver-for-laravel-sidecar-2"
path: "/videos/building-a-flyio-driver-for-laravel-sidecar-2"
type: video
author: Aaron Francis
published: 2024-09-17
topic: "Laravel & PHP"
keywords: [fly.io driver, laravel sidecar, fly.io, laravel, open source, sidecar, serverless, deployment]
youtube_url: "https://www.youtube.com/watch?v=xU6gv8q_-zQ"
chunked: true
full_bytes: 113403
section_count: 8
full_url: "/videos/building-a-flyio-driver-for-laravel-sidecar-2/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Building a Fly.io driver for Laravel Sidecar (Part 1)

## Sections (110.7 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (110.7 KB)](/videos/building-a-flyio-driver-for-laravel-sidecar-2/full.md).

### 1. Part 1 (00:03–24:24 · 15.4 KB)
Aaron tests his stream setup on Twitch/Restream, discusses building a Fly.io driver for Sidecar for Laravel, explaining how Sidecar bundles serverless functions (Node.js, Python, PHP, Go, .NET, Ruby) and ships them to AWS Lambda for execution without managing APIs.
Keywords: `ffmpeg`, `api`, `fly.io`, `restream`, `go`, `stream`, `secrets`, `hey`
[Read section 1 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/1-part-1.md)

### 2. Part 2 (24:24–46:20 · 15.4 KB)
Aaron walks through Sidecar's PHP API for invoking Lambda functions across multiple languages, discusses migrating docs from Hammerstone to aaronfrancis.com, and reviews Fly.io machine CLI commands and configuration options (memory, timeout, placement) relevant to the new driver.
Keywords: `browser fly`, `javascript`, `vms`, `fly launch`, `digitalocean`, `applescript`, `fly.io`, `prs`
[Read section 2 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/2-part-2.md)

### 3. Part 3 (46:20–1:11:54 · 15.6 KB)
Aaron explains why Fly.io is preferable to Lambda for Sidecar (more control, actual machines vs Firecracker), creates a Fly app via CLI, deploys a preexisting Docker image, and proves the app is accessible from the public internet.
Keywords: `fly sidecar`, `laravel cloud`, `javascript`, `firecracker vms`, `vms`, `typescript`, `fly`, `seems cool`
[Read section 3 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/3-part-3.md)

### 4. Part 4 (1:11:55–1:40:22 · 15.6 KB)
Aaron discusses using HTTP with public URLs instead of AWS SDK for Fly/Cloudflare (requiring authentication), writes and deploys a custom Dockerfile for a Node.js function via Fly CLI, and demonstrates creating and testing a new machine.
Keywords: `tired proxy`, `url`, `linkedin`, `yarn lock`, `docker file`, `npm`, `npm install`, `fly`
[Read section 4 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/4-part-4.md)

### 5. Part 5 (1:40:23–2:10:17 · 15.6 KB)
Aaron explains the sidecar pattern—a bursty, resource-intensive, or infrastructure-heavy function deployed separately from the main app—then attempts to create a machine via CLI, troubleshoots command syntax issues, and finally succeeds.
Keywords: `fly sidecar`, `fly.io`, `fly`, `docker locally`, `machine`, `sidecar`, `app`, `docker`
[Read section 5 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/5-part-5.md)

### 6. Part 6 (2:10:22–2:40:22 · 15.6 KB)
Aaron debugs machine creation and routing issues (.dev TLD requiring HTTPS port 443), discovers Chris solved the port routing problem, confirms the app responds to HTTPS requests, and celebrates getting the proof-of-concept working.
Keywords: `fly toml`, `sqlite`, `entry point`, `minute ago`, `fly`, `app`, `machine`, `process`
[Read section 6 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/6-part-6.md)

### 7. Part 7 (2:40:25–3:05:35 · 15.5 KB)
Aaron discusses transitioning from Fly CLI to REST API, reviews machine auto-start behavior, digresses about his personal background (teaching accounting at Texas A&M, four children including twins, upcoming site redesign), and mentions building Turso Laravel driver next.
Keywords: `fly machine`, `fly toml`, `fly sidecar`, `mastering postgres`, `vue`, `sqlite`, `machine`, `fly`
[Read section 7 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/7-part-7.md)

### 8. Part 8 (3:05:35–3:08:10 · 2.2 KB)
Aaron wraps up the stream, reflects on personal photos and family updates, confirms all test machines were cleaned up, teases next Thursday's Turso driver stream, thanks the chat for collaborative troubleshooting, and signs off.
Keywords: `go`, `go away`, `keep track`, `yall`, `browserfly`, `thursday`, `four`, `silly`
[Read section 8 verbatim](/videos/building-a-flyio-driver-for-laravel-sidecar-2/sections/8-part-8.md)

---

## Related on aaronfrancis.com

- [Building a Fly.io driver for Laravel Sidecar (Part 2)](/videos/building-a-flyio-driver-for-laravel-sidecar) *(Video · 2024-09-19 · shared: fly.io driver, laravel sidecar, fly.io)*
- [A little bit of Lambda](/about/speaking/a-little-bit-of-lambda) *(Talk · 2021-09-28 · shared: sidecar, serverless, laravel)*
- [Sidecar](/software) *(Software · shared: sidecar, laravel, serverless)*
- [Aaron Francis on Torchlight](/podcast/aaron-francis-on-torchlight-jy1c4a) *(Podcast · 2022-09-16 · shared: fly.io, serverless, sidecar)*
- [Refine, Sidecar, Laravel, and Serverless](/podcast/refine-sidecar-laravel-and-serverless-msxhy3) *(Podcast · 2022-03-14 · shared: sidecar, laravel, serverless)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `fly.io driver` ([F-G](/llms/keywords/f-g.txt)), `laravel sidecar` ([K-L](/llms/keywords/k-l.txt)), `open source` ([O-P](/llms/keywords/o-p.txt)), `sidecar` ([S](/llms/keywords/s.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
