Table of contents
State is Docker swarm
The state of docker swarm is a big question for a while now. I have been a docker swarm user for a while and I really like the simplicity of it. But it seems like there is no major development taking place and the only alternative seems to be kubernetes which is quite complex compare to docker swarm. the main take away is that the future of docker swarm is uncertain.
Why use docker swarm
Docker include swarm mode for natively managing a cluster of Docker Engines called a swarm. It is very simple to manage multiple docker nodes and create a cluster. It provides a basic cluster management, networking, service discovery and many more. you can find the full list of features here. For my personal use I don't want to use the complex kubernetes cluster. If you are looking for simple easy to use docker deployment then docker swarm is the best option I can find.
How much does it cost?
Main goal of this series is to make sure the cost is low. So, the cost will be less than 15€ or 15$. I'm going to use hetzner cloud and you can use the referral link here and get 20€ for free to try it out.
What are the goals
The goals are as follows
- Secure the machine properly with proper firewall setup and ssh
- Reverse proxy to redirect traffic to containers (traefik)
- Deploy Redis, postgres, rabbitmq, registry
- Interface for container management (portainer)
- Deploy tasky microservice