Iteration L1: Deploying Locally
In the past, there was a bewildering number of options available for deployment: Ansible, Capistrano, Chef, and Puppet were all popular choices. But starting with Rails 7.1, Docker has become the official default for deployment.
If you’re not familiar with Docker images, you can find out more in Docker for Rails Developers [Ise19]. Meanwhile, all you need to know is that they’re essentially self-contained and portable runtimes that can be deployed by pretty much any cloud-hosting provider. This means you can build and test your deployment locally and then choose your cloud provider later, and even change your mind and move hosts at any time.
You control what goes into a Docker image by creating a Dockerfile. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access