Skip to content
Road MatesRoad Mates Enter

Roadmaps › Cloud Engineer › 3. Automating Infrastructure As Code

Roadmaps

Roadmaps

Tech & Data
Engineering & Trades
Health & Medicine
Business, Finance & Law
Marketing, Media & Writing
Art, Design & Food
Music & Performance
Sports, Fitness & Games
Languages & Exams
Education & Academia
Moving Abroad
Aviation & Public Service

Phase 3 of 6

Automating Infrastructure As Code

Usually 2–3 months

Stopping manual console clicks and rebuilding everything with Terraform or similar, adding Docker containers and a CI/CD pipeline that deploys on every commit. By the end, the whole environment can be destroyed and recreated from code.

What you do

You stop clicking in consoles and start describing your infrastructure in code. You pick a tool such as Terraform and rewrite your existing cloud environment as configuration files, committing and reviewing changes in git. At the same time you package your app into Docker containers and create a CI/CD pipeline so every change can be tested and deployed automatically.

  • Write Terraform to create networks, instances or container services, security rules, load balancers, and databases. Prove it works by destroying and recreating the whole stack from code.
  • Containerize your application with Dockerfiles, using environment variables and secrets correctly instead of hard‑coding configuration.
  • Set up a CI/CD pipeline in a service like GitHub Actions, GitLab CI, or Azure DevOps that runs tests and deploys on each commit to main or a release branch.
  • Add monitoring, logs, and simple health checks so you can see whether each deploy is healthy without logging into servers manually.

You're done when

A public GitHub repo with Terraform, Dockerfiles, and a passing CI/CD pipeline that deploys the app.

Resources

Before and after

Track this phase, post your proof, and meet people in the same phase.

Join this road, free →