Rails on Hetzner with Kamal - Deployments from Scratch PT. 1

Walkthrough of how to setup a simple Ruby on Rails deployment with SQLite on Hetzner. It uses the new Kamal deployment system from Basecamp. This is the first video in the series of setting up Rails to be self hosted.
--------------------------------------
Reference Links:
Write up → devscoach.com/blog/kamal-hetz...

Пікірлер: 14

  • @DavidMann10k
    @DavidMann10k28 күн бұрын

    Dang, I got it, that's so cool! I got a little distracted by the write up because it takes a different approach and I didn't pick up immediately that it was intended to be even simpler and eschew Cloudflare.

  • @gunnars04
    @gunnars042 ай бұрын

    Exactly what I was looking for! Thanks a lot! ❤

  • @devscoach

    @devscoach

    2 ай бұрын

    Glad it was helpful!

  • 3 ай бұрын

    Excellent content! 👏🏼👏🏼👏🏼

  • @ernestadonu9110
    @ernestadonu91103 ай бұрын

    We will support by subscribing and learn how to Deploy.

  • @GurbanHaydarov
    @GurbanHaydarov3 ай бұрын

    Thanks!

  • @taylorkoepp3048
    @taylorkoepp30482 ай бұрын

    Nice tutorial but I'm struggling to understand what benefits Kamal brings. It just seems to add another layer of abstraction over Docker. This process doesn't seem any less complicated than using docker-compose.

  • @devscoach

    @devscoach

    2 ай бұрын

    Thanks! I’m not an expert on the deploy process of docker-compose. Does it setup the servers as well? Pushing env vars, etc? The last time I tried it for deployment was 5+ years ago

  • @DavidMann10k

    @DavidMann10k

    28 күн бұрын

    I can take a swing at that one. Docker compose fills a lot of the same gaps, but it's not quite as "full service" as Kamal which is really specialized at deploying web servers and their "accessories". But it also supports provisioning docker and setting up everything from scratch onto a bare metal server. This creates vendor independence, because anywhere you can get an Ubuntu instance running with your SSH key you can run kamal setup/deploy, and now your server is running there now too. In my limited experience it seems more simple. It also has some fancy features that you normally only get by running through a PAAS, like Heroku, like redirecting traffic, and asset-bridging for a seamless deployment.

  • @ernestadonu9110
    @ernestadonu91103 ай бұрын

    Should I dockerize my application before I can use kamal?

  • @devscoach

    @devscoach

    3 ай бұрын

    Yes Kamal requires everything is a docker image to deploy. Rails has a nice gem called dockerfile-rails which makes a generator to autogenerate dockerfile if you need.

  • @ernestadonu9110

    @ernestadonu9110

    3 ай бұрын

    @@devscoach thank you for this