dpdanpittman / informal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Informal Task

Setting up a DNS Server

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.

Github Configuration

Some initial setup may be required to use PGP for signing commits. Below is a link to the steps I took to accomplish this:

  1. Github Configuration

Build and Dockerize Application

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
  1. Setting up a cloud server

Next, we will proceed to build the application on our newly configured virtual machine (VM).

  1. Building the Application

After completing the build using Cargo, we will want to transpose the application into a Docker image.

  1. Install Docker and Dockerize

Docker Image Download Link

Building and Testing the Cluster

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.

  1. Launch Multiple Containers

Possible Issue and Resolution

  1. Issue and Runbook

About


Languages

Language:Dockerfile 100.0%