Chrysolites Tech Academy
Tech

Infrastructure as Code: Pulumi, Terraform and the AWS CDK

Describe cloud infrastructure in code: learn the ideas behind IaC, then build real AWS environments with Pulumi, Terraform and the AWS CDK.

Intermediate · 4 video lessons · 4-chapter course book · Free

Start learning Open course book

About this course

Cloud infrastructure used to be built by clicking through web consoles, a process that is slow, error-prone and impossible to repeat exactly. Infrastructure as code replaces the clicks with files that describe the servers, networks, storage and permissions you want. A tool reads those files and makes the cloud match, so environments can be reviewed, versioned, recreated and torn down with a single command.

This course teaches the idea through four practical projects on AWS. You start with the principles of infrastructure as code and three hands-on labs in Pulumi with Python, creating storage, a load-balanced fleet of virtual machines and a container service. You then use Terraform to build a complete development environment with its own network and a server you can connect to. Next you meet the AWS Cloud Development Kit and its constructs. Finally you embed infrastructure code inside a web application, building a small self-service platform that creates websites and servers on demand. Each lesson pairs a video course with a book chapter that explains the ideas with diagrams, tables and worked examples.

What you will learn

  • Explain why infrastructure as code improves on manual setup and ad-hoc scripts
  • Compare template, domain-specific and general-purpose approaches to writing IaC
  • Read a plan or preview and predict what an IaC tool will create, change or delete
  • Build an AWS network, security rules and a virtual machine with Terraform
  • Use AWS CDK constructs at different levels of abstraction
  • Provision infrastructure from inside an application with an automation API

Who this course is for

Developers and operations staff who are comfortable with the command line and have met basic cloud ideas, such as servers and storage. Some Python or TypeScript helps for the Pulumi and CDK lessons. You will need an AWS account to follow the labs, and should remember to remove resources afterwards to avoid charges.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.