datadog and hashicorp debugging in the cloud with · 2020. 11. 20. · datadog @phrawzty - what is...

Post on 09-Aug-2021

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Debugging in the Cloud with Datadog and HashiCorp

TaylorDolezal

Developer AdvocateHashiCorp@onlydole

DanielMaher

Developer AdvocateDatadog

@phrawzty

- What is infrastructure as code?

- Understanding observability

- Live demo

Agenda

Infrastructure as Code

Infrastructure

as Code

Infrastructure

as Code

Infrastructure

as Code

▪ executable documentation

Infrastructure

as Code

▪ executable documentation

▪ enables collaboration

Infrastructure

as Code

▪ executable documentation

▪ enables collaboration

▪ safe and predictable

Infrastructure

as Code

▪ executable documentation

▪ enables collaboration

▪ safe and predictable

HashiCorp

Configuration Language

HashiCorpConfigurationLanguage

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service { key = "value"}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service { key = "value"}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" {

}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" {

}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" {

}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:${var.port}"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

CODE EDITOR

HashiCorpConfigurationLanguage

CODE EDITOR

service "http" "web_proxy" { listen_addr = "127.0.0.1:${var.port}"

process "server" { command = ["proxy-app", "server"] }}

variable "port" { description = "Port for web_proxy" default = 8080}

Understanding

observability

One platform with seamlessly

integrated, smart tooling

Try a free trial atdatadoghq.com

How do Datadog & Terraform integrate?

Datadog Provider for Terraform

Demo

© 2019 HashiCorp

Resources

42

Sign up for Datadogdatadoghq.com/free-datadog-trial/

Sign up for Terraform Cloudapp.terraform.io/signup/account

Datadog Provider for Terraformterraform.io/docs/providers/datadog/

Demo: StoreDog Applicationgithub.com/datadog/ecommerce-workshop

Demo: Debugging the Cloud https://github.com/onlydole/debugging-the-cloud

Q & A

Thank You

44

top related