Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Development Environments that Feel Local

Chris Fidao
September 14, 2022

Development Environments that Feel Local

We use Fly.io Machines to create fast, ephemeral development environments that feel local.

Chris Fidao

September 14, 2022
Tweet

More Decks by Chris Fidao

Other Decks in Programming

Transcript

  1. Remote Dev Searching for the perfect dev setup (that feels

    local)
  2. @ f ideloper Continuous Integration Exclusively for Laravel. Deploy Applications

    Close to Your Users
  3. 2011 Macbook Air

  4. f ly.io • Still don’t want any cruft! • Dependency

    Hell • Brew • Docker New job, new laptop
  5. Fly.io: Heroku-ish Docker, except not Docker 🎩 🧐

  6. f ly.io Global Easy Fast Great free tier

  7. Fly Machines 🤔

  8. Fly Machines There’s an API

  9. Fly Machines They can stop when your app exits

  10. Fly Machines They can start, within a few ms, upon

    network access
  11. 💡 🎩 🧐

  12. What I Want Use my own editor No funky setup/con

    f iguration Local tooling (git), remote compute (PHP, etc)
  13. What else do I need? File Syncing Network Forwarding

  14. ✅ File Syncing ✅ Network Forwarding

  15. Fly.io Global Easy Fast API Stoppable Quick Starts Machines File

    Syncing Network Forwarding Mutagen Wake on Network Access Free-ish
  16. Vessel

  17. vessel. f ly.dev

  18. curl -L https://fly.io/install.sh | sh

  19. curl https://vessel.fly.dev/install.sh | sh

  20. vessel auth

  21. None
  22. None
  23. ~40ms

  24. None
  25. Customize

  26. Use Any Docker Image

  27. I like this! • ✅ It’s fast • ✅ Not

    running 24/7 • ✅ Wake on network access • ✅ SSH available • ✅ Customizable • ✅ Extendable
  28. Annoying Stuff (aka Coming Soon™) • Requires ` f lyctl`

    be installed • No data persistence (yet) • You may want a DB, Cache • (I use SQLite!)
  29. vessel. f ly.dev issues + feedback @ f ideloper