Search⌘ K
AI Features

The Cloud: Our Final Frontier

Explore the process of deploying a Rails application to a cloud environment using Docker Swarm on AWS. Learn to create an AWS account, set up access keys, configure S3 buckets, and deploy your app to a cloud cluster. Gain practical experience with cloud deployment considerations and resource management.

What to expect in this chapter?

We have already seen how to deploy to a local Swarm cluster, albeit with only a single node. In this chapter, we take this a step further and create infrastructure running in the cloud. We will create a cluster on Amazon Web Services (AWS). By the end of this chapter, we will have our application deployed and running in AWS.

Although our cloud deployment won’t be production-grade, you will have gained some valuable experience and will have started to get a feel for some of the real-world considerations at play. Note that, as the cloud services we use in this chapter aren’t free, some (small) ...