Blog
Thoughts on engineering, design, and building great products.
Docker Swarm: Cluster Architecture and Raft
Stepping into multi-machine orchestration: Swarm gathers many Docker hosts into a cluster of managers and workers. Understand the desired-state model, the Raft consensus mechanism, and why you want an odd number of managers. Includes cluster init and how to simulate multiple nodes for learning.
Swarm: Service, Scale and Rolling Update
On a Swarm cluster you don't run individual containers, you declare a service. This article creates a multi-replica service, scales it up and down, updates the version without downtime (rolling update), and watches Swarm self-heal.
Swarm: Overlay Network and Routing Mesh
How do containers on different nodes talk to each other, and why does publishing one port make it reachable from any node? This article explains the overlay network (VXLAN), service discovery via VIP, and the routing mesh.
Swarm: Stack and Secrets — A Complete Deployment
The final article: deploy a whole multi-service app onto the cluster with docker stack deploy from a compose file, manage passwords safely with secrets, then clean everything up and leave the swarm. With a series wrap-up.
What DevOps Is and Why You Should Learn It Alongside AWS
Series opener: what problem DevOps solves, what work it covers, why we learn it together with AWS, and the hands-on roadmap ahead.
Open an AWS Account Safely and Set Up a Billing Alert
Create an AWS account the right way: enable MFA on the root account, create an IAM user for daily use, install the AWS CLI, and set a Budget so no bill catches you off guard.
EC2: Create Your First Virtual Server and Run a Web Server
Create an EC2 instance, SSH into it, install nginx, and open the web page in a browser. The first article with a billable resource, so also the first with a cleanup section.