Goetz Rieger

Dev & Test in the Cloud? Deploy your cloud environments with Ansible & Terraform

Stop getting surprise cloud bills from orphaned dev resources. Learn to automate your environment lifecycle by combining Terraform for provisioning and Ansible for configuration.

Dev & Test in the Cloud? Deploy your cloud environments with Ansible & Terraform
#1about 2 minutes

Understanding the need for cloud automation

Cloud environments offer repeatable deployments for development and testing but introduce management complexity that requires automation.

#2about 3 minutes

The three stages of the cloud environment lifecycle

Cloud operations are broken down into Day 0 for building, Day 1 for deploying and configuring, and Day 2 for managing and decommissioning.

#3about 2 minutes

Using Terraform for provisioning and Ansible for configuration

Terraform excels at Day 0 infrastructure provisioning, while Ansible is the ideal tool for Day 1 application and system configuration.

#4about 3 minutes

Exploring the core principles of Ansible automation

Ansible's design is based on being simple, powerful through its modular architecture, and agentless for easy integration.

#5about 5 minutes

How to call Terraform from an Ansible playbook

Use the Ansible collection for Terraform to orchestrate cloud provisioning and configuration from a single, unified Ansible playbook.

#6about 3 minutes

How to call Ansible from a Terraform plan

The Terraform provider for Ansible allows triggering a playbook after provisioning, with Ansible Automation Platform enabling more complex workflows.

#7about 4 minutes

Decommissioning cloud environments safely with Terraform

Terraform's state file makes it the superior tool for reliably decommissioning all cloud resources, preventing orphaned components and unexpected costs.

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

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025
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
DC
Daniel Cranney
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev
Inside last week’s Dev Digest 194 . 🧠 Learn how to become an AI-native software engineer 🤷‍♂️ How can you stand out when anyone can build anything? 👂 Whisper Leak allows listening to encrypted chats 🐝 What’s new the OWASP2025 Top Ten List 🙅‍♀️ Curse...
Dev Digest 194: AI vs. Version Control, Password Louvre & Cursed Webdev

From learning to earning

Jobs that call for the skills explored in this talk.