DevOps and AWS Guide: From Git Push to Production
Platforms like Vercel hide a lot of work. This guide follows the DevOps series from the big picture down to raw AWS: servers, networks, databases, containers, scaling and automation, with the reasoning behind each piece.
Read the foundations first; the AWS lessons build on them.
Who it is for: Developers moving from managed hosting to running their own infrastructure, and interview candidates who need to explain how deployment works.
25 lessons · Published by Jainik · Last updated
1. Foundations
- 1. DevOps · 10 minThe Big Picture: Vercel vs AWS Mindset
Before touching a single server, understand what problem AWS is actually solving for you. No cost, no server — only clear thinking, plus a safe account setup.
- 2. DevOps · 18 minLinux Fundamentals: Shell, SSH, Users, Permissions
Every EC2 server is a Linux box with no screen. Filesystem, permissions, users, processes — and the fix for “my app dies when I close the terminal”.
- 3. DevOps · 16 minNetworking Basics: IP, Ports, TCP/UDP and Firewalls
How a browser request actually finds and reaches your server. The layer Vercel hides completely, and the one you must understand before EC2 makes any sense.
- 4. DevOps · 14 minDNS Deep Dive: From Domain Name to Server
How a domain name turns into a server address — records, TTL, Route 53, and the one wildcard record that serves unlimited customer subdomains for a multi-tenant SaaS.
- 5. DevOps · 15 minHTTPS, SSL and TLS: Certificates, Let’s Encrypt, ACM
What the padlock in your address bar actually proves, how a free certificate gets issued, and the exact commands to put HTTPS on your own EC2 server.
2. Your first production setup on AWS
- 6. DevOps · 16 minAWS Account and IAM: Identity and Access
Who is allowed to do what in your AWS account. Users, groups, policies, roles and least privilege — the lesson that protects you from the expensive mistakes, and it costs nothing to set up.
- 7. DevOps · 20 minVPC: Subnets, Route Tables, Security Groups
Your own private network inside AWS. Public and private subnets, how traffic gets in and out, and where your database hides.
- 8. DevOps · 20 minEC2: Launch Your First Server and Deploy Next.js Manually
SSH in, install Node, clone, .env, build, and keep it alive with PM2 — the manual deploy every later lesson automates.
- 9. DevOps · 20 minRDS: Managed PostgreSQL
A real database that AWS backs up, patches and fails over for you — and how to connect it privately from your app server.
- 10. DevOps · 20 minDocker: Containerize Your Next.js and Node App
Images, layers, Dockerfiles and Compose — build once, run the same thing on your laptop and on EC2.
- 11. DevOps · 20 minNginx: Reverse Proxy
The receptionist in front of your app: TLS termination, static files, compression, and why port 3000 never goes public.
3. Scale, automate, operate
- 12. DevOps · 25 minALB and Auto Scaling: Scaling to 1000+ Concurrent Users
One server becomes many. Health checks, target groups, and servers that appear when traffic spikes and vanish when it drops.
- 13. DevOps · 22 minCI/CD with GitHub Actions
Lint, test, build and deploy on every push — automatically, with no one SSH-ing into a server.
- 14. DevOps · 25 minTerraform: Infrastructure as Code
Describe your whole cloud in files, review it in pull requests, and rebuild it in minutes.
- 15. DevOps · 25 minMonitoring and Logging with CloudWatch
Knowing what your system is doing before your users tell you: metrics, logs, alarms and dashboards.
- 16. DevOps · 27 minSecurity Hardening and Backups
Locking down what you built: patching, secrets, least privilege, automated backups and tested restores.
- 17. DevOps · 27 minCost Review and Final Production Architecture
Where the money goes, how to cut it, and the complete architecture you have built — box by box.
4. Containers, Kubernetes and rollouts
- 18. System Design · 10 minDocker & Containers for Beginners
“It works on my machine” ends here. What containers really are (and aren't), images, layers and registries, a production-grade multi-stage Dockerfile, running and composing containers locally, tags vs digests, and the security basics.
- 19. System Design · 12 minKubernetes Core Concepts
Running 300 containers across 40 machines by hand doesn't work. How Kubernetes turns “what I want” into “what's running”: the control plane and nodes, the reconciliation loop, pods, deployments, services and ingress, health probes, resources and autoscaling — and whether you need it at all.
- 20. System Design · 10 minCI/CD & Deployment Strategies: Blue-Green and Canary
Friday-evening deploys that need three people and a prayer are optional. CI that catches problems before merge, continuous delivery vs deployment, rolling, blue-green and canary releases — with a simulator — feature flags, zero-downtime database migrations and the DORA metrics.
- 21. Full-Stack Questions · 38 minContainers, Kubernetes, Terraform and AWS for Full-Stack Interviews
Containers versus VMs, Kubernetes objects, probes, rollouts, Helm, platform choice, IAM, Terraform state, secrets and cost.
- 22. Full-Stack Questions · 43 minDeployment, CI/CD and Monitoring
Vercel deploys, Docker for Node, GitHub Actions, feature flags, safe rollouts and migrations, Sentry, OpenTelemetry and SLOs.
5. Scaling a real app
- 23. System Design Case Studies 2 · 20 minFrom One User to Millions: Scaling a Web App on AWS
Ten scaling stages with trigger, change and cost, the metric that tells you, AWS services in plain words, and a queueing arithmetic demo.
- 24. DevOps · 30 minThe Pieces You Keep Hearing About
Nginx, PM2, load balancers, CDN, RDS, VPC, Redis, Docker, CI/CD, Terraform, CloudWatch — what each one is, the problem it solves, where it sits in the flow, and the minimal “how”, before its own lesson.
- 25. DevOps · 9 minHosting Platforms Explained
Vercel, Railway, Render, Dokploy, Coolify, AWS, Kubernetes — where each one fits, and why the real question is stateless vs persistent.
More reading orders are on the guides page, and every series is listed on the home page.