Setting up the runtime environment
For our runtime environment, we’ll set up the following software:
- RabbitMQ: to act as a message broker.
- Redis: to act as a message-handling vehicle for Celery and to provide caching.
- MongoDB: to store our data.
- Docker: to containerize our software and microservices.
MongoDB is the database that our microservices application will use. We cloud use PostgreSQL, MySQL, or another database as well, but MongoDB can run entirely in the cloud, which aligns nicely with our principle of building cloud-native microservices.
Because we’ll run RabbitMQ and Redis as Docker containers, we’ll start with installing Docker Desktop.
Installing Docker Desktop
Docker Desktop allows you to containerize applications on your workstation, and the installation depends on your platform:
Platform |
Instructions/URL |
Linux... |