Disclaimer: Some of the basic setup instructions, such as creating a GPG key and setting up an instance on Vultr, were sourced from the web and slightly modified for the purposes of this documentation. ChatGPT was used to format the documentation in this repository.
Some initial setup may be required to use PGP for signing commits. Below is a link to the steps I took to accomplish this:
Since this task involves building clusters that communicate with each other, I have chosen to set up cloud instances. I started with one instance initially and added the additional virtual machine (VM) towards the end of the project.
Server Specs:
Regular Performance Intel Cloud Compute Share vCPU
4 vCPU
8 gb RAM
160gb SSD
Ubuntu 22.04
Next, we will proceed to build the application on our newly configured virtual machine (VM).
After completing the build using Cargo, we will want to transpose the application into a Docker image.
Docker Image Download Link
Next, we will use an orchestration tool to launch multiple containers on localhost. For this task, I have chosen to use Docker Compose. By utilizing Docker Compose on localhost, we can efficiently manage and deploy the required containers for our application. Docker Compose simplifies the process of defining and running multi-container applications, allowing us to define the services, their configurations, and the communication between them in a declarative manner. This approach provides an efficient and scalable solution for our orchestration needs.