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

Using Livebook to build and deploy internal too...

Hugo Baraúna
September 03, 2024

Using Livebook to build and deploy internal tools @ ElixirConf 2024

I gave this talk at ElixirConf US 2024

Our primary job as developers is to deliver new features. As the product grows, a second job emerges: building internal tools.

In this talk, you’ll learn how to build internal tools fast with Livebook and Elixir and with zero to minimal HTML and CSS.

The presentation will cover:

- What are Livebook apps
- What you can build with Livebook apps
- How to deploy Livebook apps

By the end of this talk, you’ll understand how to leverage Livebook to transform scripts, SQL queries, and backend operations into web apps that anybody in your company can use. This will help make your co-workers more self-sufficient and free up your time.

Hugo Baraúna

September 03, 2024
Tweet

More Decks by Hugo Baraúna

Other Decks in Programming

Transcript

  1. But over time a second job emerges { {"Can you

    pull this report for me?” - product "Can you run the refund script for me?” - support “How did you do that in production? - engineering
  2. “Should I do it myself, or should I build something

    to help them?” https://xkcd.com/1205/
  3. Hugo Baraúna @hugobarauna Dev advocate @ Livebook 🥑 Elixir Radar

    newsletter 📩 Elixir Patterns book with @akoutmos 📕 From Brazil 🇧🇷
  4. A Livebook app is a way to run a Livebook

    notebook as an application
  5. Rodolfo Silva CTO @ In fl eet Discord bot Hey

    team, just sharing some relevant facts: Analysis of Submissions and Goal Status Goal On target Outside target Goal status Goal achieved Analysis generated on: 2024-08-20 13:43:00Z 95% 97% 3% in 164 LOC
  6. How to deploy with Docker Copy the Docker fi le

    generated via Livebook 1 Generate a Docker image 2 Run the Docker image in a container hosting service (Fly.io, Amazon AWS, Google Cloud, Kubernetes etc) 3
  7. How to deploy with Livebook Teams Create a deployment group

    inside your Teams organization 1 Install the Livebook app server docker image in your infra-structure 2 Click the “deploy" button 3
  8. How to deploy with Livebook Teams Create a deployment con

    fi g inside your Teams organization Install the Livebook app server docker image inside your infra-structure Click the “deploy" button 1 Once the setup is done
  9. Building blocks for rapid development Elixir-based UI components 1 Database

    integrations 2 Integration with your main Elixir/Phoenix app 3
  10. Options to build your own UI component Kino.HTML + CSS

    i Kino.HTML + CSS + Javascript ii Custom Kino iii
  11. Integration with your main Elixir/Phoenix app using a No Code

    tool internal tool with No Code your main Elixir/Phoenix app HTTP HTTP API
  12. Integration with your main Elixir/Phoenix app your Livebook app your

    main Elixir/Phoenix app node a node b Erlang distribution :erpc.call