/rails-metal-cloud-metal

How to host a rails app at home, move it to the cloud and back to on prem.

Primary LanguageRuby

rails-metal-cloud-metal

How to host a rails app at home, move it to the cloud and back to on prem.

CI

TL;DR

make
make install
make ci
make rspec

Presentations

A conference 2024???

TODO ...

RORO Melbourne - Thu 22 Feb 2024

✨ soon - be there 🫵 ✨

failure_driven_rails_metal_cloud_metal_qr

RORO Sydney - Tue 13 Feb 2024

✨ Hope you werre there 🎉 ✨

Demos

Demo 1

Rails app deployed locally (using capistrano)

make
make demo-1-local-deploy    # TODO not complete
make rspec                  # in future change to demo-1-test
# make clean

Plan

loosely based on a conversation on Ruby Australia #melb-meets Oct 5th Slack

a guide for zero to hero and back again

  • rails new
  • add a DB, image storage and background processing
  • run in production mode
  • deploy locally - using capistrano and kamal
  • deploy locally on docker
  • host from home to the internet
  • host on the dark web
  • move to a cloud provider
  • switch cloud providers
  • ad multi availability zones (AZ)
  • switch back to an on prem solution with redundancy
  • review
    • what have we learnt?
    • cost comparison
    • smart deploy template?

Experiments

Work Log

available at ./WORK_LOG.md