1 of 12

Unifying Dev & Prod Environments with Terraform & Okteto

Richard Weerasinghe and Arsh Sharma

1

2 of 12

What is Terraform?

  • Terraform is a Infrastructure-as-Code (IaC) tool.
  • It defines and manages infrastructure using declarative code written in HCL.
  • Supports various cloud providers, on-premises, and multi-cloud environments.
  • Enables safe, predictable infrastructure changes through a "plan and apply" workflow.
  • Facilitates collaboration and automates infrastructure for repeatability and consistency.

2

3 of 12

Terraform Architecture

3

4 of 12

Over 3000 Terraform Providers

4

5 of 12

GitOps with Terraform

5

6 of 12

What is Okteto?

  • Platform for Development Experience Automation
  • Production like Cloud Development Environments in one click
  • Automating the provisioning of all cloud/external resources
  • Improving DevX by getting right to the code-writing phase
  • Allowing you to use the same tools as production (Helm, Terraform, etc.)

6

7 of 12

External Resources

  • Automate provisioning of resources like storage buckets, databases, queues, etc. which your application uses.
  • This ensures consistency between development environments and production by using real resources during development.
  • Secure and seamless access to these resources for developers.
  • Automate deletion of these external resources when the development environment is deleted, preventing resource sprawl and cost overruns.

7

8 of 12

Demo Time!

Using Terraform to Provision External Resources in Okteto

8

9 of 12

Demo Time!

Using Terraform to Provision External Resources in Okteto

9

10 of 12

Solution Components

10

11 of 12

Skyscrapr.io

Specializing in the creation and upkeep of terraform providers.

richard@skyscrapr.io

11

12 of 12

Thanks!

12