This is a basic overview of the cloud architecture and deployment.
- Build the docker images on your machine
docker-compose build
- Tag the docker images
docker tag
- Push the images to the registry
docker push
- Apply your k8s configuration files to the cluster
kubectl apply
- The cluster pulls the docker images from the registry
- The cluster creates pods from the images, these are running instances of the CMS and API
- Your DNS record points your domain to the IP address of your cluster
- The cert-manager pod handles SSL certificates via Let's Encrypt, to allow for requests via https
- The mobile app / web browser makes https requests
- The load balancer directs the request to one of the nodes in the cluster
- The Nginx Ingress determines which requests are routed to which pods. For example, requests to cms.example.com are directed to the CMS pods
- The pods access the database on the droplet
More detailed step by step instructions are found here