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

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.

Where Next?

Popular in Books Top

AstonJ
by Benjamin Tan Wei Hao The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin w...
New
shankardevy
Dear Elixir Alchemists I’m happy to share that I’m working on my 2nd series of books (See my first one here) and this time it’s about As...
New
PragmaticBookshelf
Frank Hunleth @fhunleth Bruce A. Tate @redrapids edited by Jacquelyn Carter @jkcarter Want to get better at coding Elixir? Write a har...
New
radar
by Ryan Bigg Joy of Elixir came about because I saw that there was not very much when it comes to absolute beginner material for lear...
New
shankardevy
I am happy to announce that I am completing final rounds of my Phoenix book (which is now a series of books/booklets). ...
New
radar
:wave: You might remember me as the author of Joy of Elixir: https://forum.elixirforum.com/t/joy-of-elixir-self-published-free/ I’ve got...
New
PragmaticBookshelf
Rebecca Le and Zach Daniel @zachdaniel _edited by Kelly Lee @k.lee _ Ash Framework is the game-changing toolkit for Elixir developers. W...
New
PragmaticBookshelf
Alexander Koutmos @akoutmos Elixir Patterns aims to surface the powerful and unique characteristics of the Erlang virtual machine and sho...
New
tristan
Adopting Erlang is a collaborative effort between myself (Tristan), Fred Hebert and Evan Vigil-McClanahan. It is an ongoing effort to gat...
New
peerreynders
by Darin Wilson and Eric Meadows-Jönsson Languages may come and go, but the relational database endures. Learn how to use Ecto, the prem...
New

Other popular topics Top

sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

We're in Beta

About us Mission Statement