Infrastructure As Code Tutorial

Infrastructure As Code Tutorial. Covers Packer, Terraform, Ansible, Vagrant, Docker, Docker Compose, Kubernetes
Alternatives To Infrastructure As Code Tutorial
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
20 hours ago321gpl-3.0C
Real-time performance monitoring, done right!
Devops Exercises43,460
5 days ago14otherPython
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
Traefik43,27318a day ago160September 16, 2022621mitGo
The Cloud Native Application Proxy
16 hours ago235apache-2.0Lua
🦍 The Cloud-Native API Gateway
Awesome Cheatsheets33,674
3 days ago83mitJavaScript
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Portainer25,67712 days ago78April 21, 20211,128zlibGo
Making Docker and Kubernetes management easy.
Dokku24,653220 hours ago77April 22, 202140mitShell
A docker-powered PaaS that helps you build and manage the lifecycle of applications
Faas23,11093 days ago31April 12, 202130mitGo
OpenFaaS - Serverless Functions Made Simple
10 days ago9December 01, 20217Go
Learn and understand Docker&Container technologies, with real DevOps practice!
Rancher21,0992010 hours ago207April 25, 20212,471apache-2.0Go
Complete container management platform
Alternatives To Infrastructure As Code Tutorial
Select To Compare

Alternative Project Comparisons

Infrastructure As Code Tutorial

license Tweet

This tutorial is intended to show what the Infrastructure as Code (IaC) is, why we need it, and how it can help you manage your infrastructure more efficiently.

It is practice-based, meaning I don't give much theory on what Infrastructure as Code is in the beginning of the tutorial, but instead let you feel it through the practice first. At the end of the tutorial, I summarize some of the key points about Infrastructure as Code based on what you learn through the labs.

This tutorial is not meant to give a complete guide on how to use a specific tool like Ansible or Terraform, instead it focuses on how these tools work in general and what problems they solve.

The tutorial was inspired by Kubernetes the Hard Way tutorial. I used it as an example to structure this one.

See my presentation at DevOpsDays Silicon Valley in which I talk more in depth about the tutorial.

Need your help!

This tutorial was created in 2018 and wasn't being kept up to date. Therefore, some of the instructions may not work due to updated APIs, obsolete repositories, etc. I apologize for that, but I currently don't have time to update this tutorial. So if you find that something is broken and you find a fix, please submit a PR.

When submitting a PR, make sure you include a description for it, i.e. what's broken and a test plan for the fix.

Also, note that some of things need to be updated in several different repositories at the same time. Main repositories used in this tutorial:

Target Audience

The target audience for this tutorial is anyone who loves or/and works in IT.

Tools Covered

  • Packer
  • Terraform
  • Ansible
  • Vagrant
  • Docker
  • Docker Compose
  • Kubernetes

Results of completing the tutorial

By the end of this tutorial, you'll make your own repository looking like this one.

NOTE: you can use this example repository in case you get stuck in some of the labs.


This tutorial assumes you have access to the Google Cloud Platform. While GCP is used for basic infrastructure requirements the lessons learned in this tutorial can be applied to other platforms.

Popular Kubernetes Projects
Popular Docker Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Docker Compose
Google Cloud Platform
Infrastructure As Code