jack-s9

jack-s9

Phoenix Deployment Handbook (self-published)

Simplify and streamline your Elixir Phoenix Deployments.

Deploy with tools that are easy to use, maximize Elixir’s features, and have exceptional documentation.

Before I deployed my first Elixir Phoenix app to actual users, I was terrified.

  • Wasn’t I supposed to use Docker?
  • What about Releases? When I use releases, it breaks my config?!?
  • I know I’m going to have some bugs once people start using it. How do I get my users to give me a heads up when things don’t work?
  • It’s going to be a pain to push bug fixes because my deployment process is tedious.
  • I need to remember to migrate my database after I deploy.
  • Do I need to deploy and run a separate app just to capture logs?
  • I read you shouldn’t use Elixir Phoenix for your SaaS because the packages and tools aren’t there. Is that what I’m experiencing?
  • Many of these companies with enterprise services don’t say anything about Elixir.
  • Great…I finally picked Heroku, but now I’m reading about all the Elixir features I can’t use
  • How am I going to know if people are using it? What pages are people visiting?
  • Google Analytics is confusing and I don’t feel great about giving Google my users’ data

If you’ve had any of these pains then the Phoenix Deployment Handbook is for you.

  • You’ll learn how to deploy your app with a single command.
  • Then set up Continuous Deployment so deploying changes and migrating your database is as easy as pushing to GitHub.
  • You’ll create a user auth system and makes sure it works correctly with your LiveView app.
  • Your users will be able to reset their passwords via email. And you can use the template to send other emails.
  • With error monitoring, you’ll get notified of bugs and fix them before the user has a chance to tell you about them.
  • When you come across a really difficult bug, you’ll have a log history to pinpoint the exact problem.
  • Finally, you’ll have privacy-preserving Web Analytics with a simple dashboard to help you grow your user base.

I am confident you will save at least 10 hours of research and effortfollowing the steps I outline in the Phoenix Deployment Handbook.

You’re not sure you need it..no worries. If you don’t save over 10 hours following the handbook, I will refund 100% of your purchase.

Buy the Phoenix Deployment Handbook now and use it to deploy and set up the tools for your current project or your next big idea!

Format: PDF

Pages: 100+

Chapters:

  1. Deploy a LiveView app to Fly
  2. Continuous Deployment with GitHub Actions
  3. Authentication with mix phx.gen.auth
  4. Email with Swoosh and Mailgun
  5. Error Monitoring with Honeybadger
  6. Log Management with Logflare
  7. Web Analytics with Plausible

Bonus Chapters:

  1. Best Practices for Elixir Config and Environment Variables
  2. Debugging in Elixir…Beyond IO.inspect/2
  3. What You Need to Know About Logging in Elixir

Attachment:

  1. Quick Reference Guide

I’ve just released the Phoenix Deployment Handbook. It is available for purchase and download. It covers a lot of topics I write about at staknine.com.

In the book you’ll learn how to:

  • Deploy to Fly with two commands
  • Automate deployments when you push to GitHub
  • Set up email delivery, error monitoring, log management, and web analytics

The goal is to save you hours deploying your first app or improving your existing deployment process.

Visit the link below to learn more and download the Quick Reference Guide attachment for free: https://staknine.com/phoenix-deployment-handbook/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

I started the book on January 2nd, 2022 and posted weekly updates on my progress. The goal was to release the book by the end of January. I ended up releasing the final draft on January 29th. Here is a Twitter thread with my weekly updates.

In terms of writing the book and planning the launch, here were the two main resources I used:

The year of hustle roadmap from stackingthebricks.com for a plan to actually ship it. And a video from Adam Wathan called Nailing Your First Launch.

Let me know if you have questions or feedback!

Jack

First Post!

APB9785

APB9785

Creator of ECSx

Will there be a physical release?

Most Liked

dimitarvp

dimitarvp

That’s a shame, I’d order a hardcover in a heartbeat.

jack-s9

jack-s9

Thanks for the feedback! I’m going to do some research to see what it would take to offer a hard copy version.

jack-s9

jack-s9

The book walks you through deploying a project with continuous deployment then sets up tools like error monitoring and logging.

I recommend following along with your own project. It can be an actual project you’ve been working on or the simple demo app in the book.

Last Post!

matt-savvy

matt-savvy

Awesome, thanks.

Still looking forward to digging into the book.

Where Next?

Popular in Books Top

AstonJ
By Simon St. Laurent, J. David Eisenberg Elixir is an excellent language if you want to learn about functional programming, and with thi...
New
AstonJ
By Simon St. Laurent If you’re new to Erlang, its functional style can seem difficult, but with help from this hands-on introduction, y...
New
peerreynders
An Outsider’s Guide to Statically Typed Functional Programming by Brian Marick This book is about using statically typed functional p...
New
peerreynders
Don’t forget you can get 35% off the ebook using the code ‘devtalk.com’ :023: Available in Beta now This title will be available on o...
355 17228 140
New
PragmaticBookshelf
Bruce Tate @redrapids edited by Jacquelyn Carter @jkcarter Elixir is a functional language that crosses many boundaries. With a syntax b...
New
PragmaticBookshelf
Sean Moriarity @seanmor5 edited by Tammy Coron @Paradox927 Stable Diffusion, ChatGPT, Whisper—these are just a few examples of incredibl...
New
codestirring
Hey Elixir Forum, I’ve written a ebook called the Phoenix LiveView Cookbook which I’ve written in the hopes of distilling the knowledge ...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement