datadog and hashicorp debugging in the cloud with · 2020. 11. 20. · datadog @phrawzty - what is...
TRANSCRIPT
![Page 1: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/1.jpg)
Debugging in the Cloud with Datadog and HashiCorp
![Page 2: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/2.jpg)
TaylorDolezal
Developer AdvocateHashiCorp@onlydole
DanielMaher
Developer AdvocateDatadog
@phrawzty
![Page 3: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/3.jpg)
- What is infrastructure as code?
- Understanding observability
- Live demo
Agenda
![Page 4: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/4.jpg)
Infrastructure as Code
![Page 5: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/5.jpg)
Infrastructure
as Code
![Page 6: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/6.jpg)
Infrastructure
as Code
![Page 7: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/7.jpg)
Infrastructure
as Code
▪ executable documentation
![Page 8: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/8.jpg)
Infrastructure
as Code
▪ executable documentation
▪ enables collaboration
![Page 9: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/9.jpg)
Infrastructure
as Code
▪ executable documentation
▪ enables collaboration
▪ safe and predictable
![Page 10: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/10.jpg)
Infrastructure
as Code
▪ executable documentation
▪ enables collaboration
▪ safe and predictable
![Page 11: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/11.jpg)
HashiCorp
Configuration Language
![Page 12: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/12.jpg)
HashiCorpConfigurationLanguage
![Page 13: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/13.jpg)
![Page 14: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/14.jpg)
![Page 15: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/15.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
![Page 16: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/16.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service { key = "value"}
![Page 17: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/17.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service { key = "value"}
![Page 18: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/18.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
![Page 19: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/19.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" {
}
![Page 20: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/20.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" {
}
![Page 21: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/21.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
}
![Page 22: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/22.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
![Page 23: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/23.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
![Page 24: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/24.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
![Page 25: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/25.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
![Page 26: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/26.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
![Page 27: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/27.jpg)
CODE EDITOR
HashiCorpConfigurationLanguage
CODE EDITOR
service "http" "web_proxy" { listen_addr = "127.0.0.1:8080"
process "server" { command = ["proxy-app", "server"] }}
variable "port" {
}
![Page 28: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/28.jpg)
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}
![Page 29: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/29.jpg)
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}
![Page 30: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/30.jpg)
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}
![Page 31: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/31.jpg)
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}
![Page 32: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/32.jpg)
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}
![Page 33: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/33.jpg)
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}
![Page 34: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/34.jpg)
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}
![Page 35: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/35.jpg)
Understanding
observability
![Page 36: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/36.jpg)
![Page 37: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/37.jpg)
![Page 38: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/38.jpg)
One platform with seamlessly
integrated, smart tooling
Try a free trial atdatadoghq.com
![Page 39: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/39.jpg)
How do Datadog & Terraform integrate?
![Page 40: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/40.jpg)
Datadog Provider for Terraform
![Page 41: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/41.jpg)
Demo
![Page 42: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/42.jpg)
© 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
![Page 43: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/43.jpg)
Q & A
![Page 44: Datadog and HashiCorp Debugging in the Cloud with · 2020. 11. 20. · Datadog @phrawzty - What is infrastructure as code? - Understanding observability - Live demo Agenda. Infrastructure](https://reader035.vdocuments.net/reader035/viewer/2022081622/613b9beaf8f21c0c826917c2/html5/thumbnails/44.jpg)
Thank You
44