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. 1. DevOps · 10 min
    The 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. 2. DevOps · 18 min
    Linux 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. 3. DevOps · 16 min
    Networking 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. 4. DevOps · 14 min
    DNS 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. 5. DevOps · 15 min
    HTTPS, 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

  1. 6. DevOps · 16 min
    AWS 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.

  2. 7. DevOps · 20 min
    VPC: 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.

  3. 8. DevOps · 20 min
    EC2: 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.

  4. 9. DevOps · 20 min
    RDS: 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.

  5. 10. DevOps · 20 min
    Docker: Containerize Your Next.js and Node App

    Images, layers, Dockerfiles and Compose — build once, run the same thing on your laptop and on EC2.

  6. 11. DevOps · 20 min
    Nginx: 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

  1. 12. DevOps · 25 min
    ALB 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.

  2. 13. DevOps · 22 min
    CI/CD with GitHub Actions

    Lint, test, build and deploy on every push — automatically, with no one SSH-ing into a server.

  3. 14. DevOps · 25 min
    Terraform: Infrastructure as Code

    Describe your whole cloud in files, review it in pull requests, and rebuild it in minutes.

  4. 15. DevOps · 25 min
    Monitoring and Logging with CloudWatch

    Knowing what your system is doing before your users tell you: metrics, logs, alarms and dashboards.

  5. 16. DevOps · 27 min
    Security Hardening and Backups

    Locking down what you built: patching, secrets, least privilege, automated backups and tested restores.

  6. 17. DevOps · 27 min
    Cost 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

  1. 18. System Design · 10 min
    Docker & 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.

  2. 19. System Design · 12 min
    Kubernetes 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.

  3. 20. System Design · 10 min
    CI/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.

  4. 21. Full-Stack Questions · 38 min
    Containers, Kubernetes, Terraform and AWS for Full-Stack Interviews

    Containers versus VMs, Kubernetes objects, probes, rollouts, Helm, platform choice, IAM, Terraform state, secrets and cost.

  5. 22. Full-Stack Questions · 43 min
    Deployment, 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

  1. 23. System Design Case Studies 2 · 20 min
    From 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.

  2. 24. DevOps · 30 min
    The 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.

  3. 25. DevOps · 9 min
    Hosting 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.