Episode 391 - Deploying with MRSK - YouTube

06-Mar-2023 766
MRSK deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use MRSK to provision and deploy our Rails application to the Virtual Machines.► Full Episode and Show Notes - https://www.driftingruby.com/episodes...0:00 - Introduction3:41 - Setting up infrastructure9:49 - Creating a Rails 7.0.4.2 project12:13 - Adding mrsk13:15 - How mrsk works13:43 - Updating load_defaults14:24 - Adding Dockerfile for mrsk16:15 - Updating the mrsk deploy.yml18:30 - Updating database.yml21:16 - Looking at mrsk cli22:00 - Running mrsk server bootstrap22:24 - Running mrsk deploy28:45 - Allowing Rails to serve public files30:08 - Inspecting the logs31:40 - Accessing via the VM's IP32:27 - Accessing via the load balancer33:45 - Final thoughts.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle