Robert Hoffmann

Stop configuring infrastructure, start coding it!

Tired of writing hundreds of lines of YAML? Learn how the AWS CDK lets you code complex infrastructure using your favorite programming language.

Stop configuring infrastructure, start coding it!
#1about 2 minutes

The evolution of infrastructure provisioning

Infrastructure management has evolved from manual playbooks and bash scripts to declarative Infrastructure as Code tools like CloudFormation and Terraform.

#2about 3 minutes

Why a simple web app needs 300 lines of YAML

Building a basic, highly available web application with CloudFormation can result in hundreds of lines of YAML due to underlying complexities like VPCs and security groups.

#3about 4 minutes

Introducing coding infrastructure with the AWS CDK

The AWS Cloud Development Kit (CDK) allows you to define cloud infrastructure using familiar programming languages like TypeScript, Python, and Java.

#4about 1 minute

The CDK ecosystem extends beyond just AWS

The CDK concept is not limited to AWS, with community projects like CDK for Kubernetes (CDKates) and CDK for Terraform (CDKTF) enabling a similar workflow.

#5about 4 minutes

How CDK transforms code into deployable templates

The CDK CLI compiles your application code into a standard declarative template, like CloudFormation YAML, which is then deployed by the native orchestrator.

#6about 2 minutes

Understanding the power of CDK constructs

CDK uses constructs, which are classes representing infrastructure, at different levels of abstraction to provide sane defaults and create reusable architectural patterns.

#7about 8 minutes

Rewriting 300 lines of YAML with CDK

A practical walkthrough demonstrates how to create a VPC, an auto-scaling group, and a load balancer using just a few lines of TypeScript with the AWS CDK.

#8about 5 minutes

How coding makes infrastructure intent clearer

Using code with expressive functions makes the purpose of your infrastructure easier to understand compared to reading hundreds of lines of declarative configuration.

#9about 4 minutes

Deciding when to code your infrastructure

While coding infrastructure offers benefits like better developer experience, declarative tools may be preferable if your team is already familiar with them or dislikes debugging.

#10about 4 minutes

Resources for learning and using CDK

Get started with CDK using the official online workshop, explore community resources like Construct Hub and CDK Day, and learn about related tools like CDK Pipelines.

#11about 3 minutes

Q&A on idempotency and infrastructure changes

CDK maintains idempotency and handles infrastructure diffs by generating a declarative template that is then processed by the underlying tool like CloudFormation or Terraform.

#12about 4 minutes

Q&A on testing, diagrams, and templates

The CDK ecosystem supports test-driven development (TDD) for infrastructure, can generate diagrams via community tools, and uses templates as a non-editable intermediate format.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
DC
Daniel Cranney
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
Inside last week’s Dev Digest 188 . 🤖 GitHub Copilot CLI is now in public review 💻 Microsoft is bringing ‘vibe working’ to office apps 🎣 Attackers abuse AI tools to generate captchas in fishing attacks ⚠️ When LLMs autonomously attack 🧠 Common cause...
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithms
DC
Daniel Cranney
Developers are Building the Cities of the Future
Smart cities envision a future where urban landscapes are seamlessly connected by cutting-edge technology, transforming the way people travel, work, communicate and engage in commerce. Developers and programmers find themselves in a novel position, d...
Developers are Building the Cities of the Future
BB
Benedikt Bischof
How we Build The Software of Tomorrow
Welcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Thomas Dohmke who introduced us to the future of AI – coding.This is how Thomas describes himself:I am the CEO of GitHub and drive the company’s...
How we Build The Software of Tomorrow
AG
Andre Braun, GitLab
Now is the time for industrialized software development
Now is the time for industrialized software development Recently, I received a letter from my car’s manufacturer alerting me to a recall. They had discovered a defective part and wanted to replace it. It was easily fixed, and I might have forgotten a...
Now is the time for industrialized software development

From learning to earning

Jobs that call for the skills explored in this talk.