From Heroku to Kamal

Episode #462 by Teacher's Avatar David Kimura

Summary

Ready to migrate your app off of Heroku? In this episode, we guide you through a full migration, from backing up data to securing your new server setup.
rails infrastructure deployment kamal 25:26

Chapters

  • Introduction (0:00)
  • Creating services in Digital Ocean (2:18)
  • Note about prep work (3:35)
  • Backing up the database (5:10)
  • Setting up Kamal (8:34)
  • Updating the credentials (12:32)
  • Enabling Swap (13:12)
  • Upgrading packages and server hardening (15:34)
  • First deploy attempt (16:52)
  • DNS Changes (19:26)
  • Maintenance Mode (20:13)
  • Infrastructure Networking (21:13)
  • DNS Caching (23:56)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams