Deploying our full-stack application to the cloud
After creating Docker images and containers locally, it’s time to learn how to deploy them to the cloud so that everyone can access our services. In this book, we are going to use Google Cloud as an example, but the general process also applies to other providers such as Amazon Web Services (AWS) and Microsoft Azure. For the MongoDB database, we are going to use MongoDB Atlas but feel free to use any provider that can host a MongoDB database for you.
Creating a MongoDB Atlas database
To host our database, we are going to use the official cloud solution provided by the MongoDB team called MongoDB Atlas. Let’s get started with registering and setting up a database now:
- Go to https://www.mongodb.com/atlas and press Try Free to create a new account, or sign in with your existing account.
Note
The following instructions may vary slightly due to updates in the MongoDB Atlas UI. If the options are not...