SlideShare a Scribd company logo
Terraform and AWS at
Tempus
What is Terraform?
• Collection of DSLs for the AWS API
DRYing Terraform
• App Specific things - Plugins for Blueprints
• “Blueprints” - Iterate over modules
• Modules
Network Blueprint / Module
• VPCs (Scenario 2)
• Public/Private
• Multi-Zone
• Peering
• MGMT (bastion, proxy)
Env Specific VPC
VPC Blueprint
VPC Module
App Stack Overview
• Module / Blueprints
• CloudFront -> S3
• AutoScaling Groups
• Instances
• ELB
• RDS
• Security Groups
Shared Data
• Certs
• SSH Public Keys
• VPC Data
App Deploy
• File = Just a bunch of bash
• Every app uses the same module for Deploying
Instance Cloud-init
• Write Docker-compose (user data)
• Auth with ECR
• docker-compose -f thatfile.yml -d
• Healthcheck = Success
RDS -> S3
• There should be an ingress rule here too
• “I’m going to open this up to the pub real quick”
Common Utils
• Common VPC Peered to all other “App” VPCs
• Output Security Info, CIDRs, etc (sick of IPV4 stuff yet?)
• Jenkins (workers in specific SGs)
• Log Shipping
IAM
• Users (Devs and Machine Users)
• Groups / Products
• Roles & Policies
• Controlling Dev and Machine access to
Specific ENVs
CloudFront
• CDNs with Bucket origins
• Static Assets are Deployed to Buckets
• Certs are pushed out to CDNs through Cert
Manager
• CORS policies
Deploying
• Jenkins - Builds Container off Merges, Runs TF
code (Jenkinsfile)
• Docker Compose
• Glue for extraneous TF things
• Gem - GitHub -> AWS SDK -> Terraform
Monitoring
• Cloudwatch -> SNS -> Pagerduty
• Cloudwatch -> ASGs -> scaling and rolling
instances
One-off Scaffolding
• Stateful Instances (<5%)
• Everything “around” the instance is in TF and we
plug in an AMI
Globals and API Region
Support
Results
• The more we control, the less configuration drift
there is
• Output and Import all the things; tight grasp on
ACLs
• Deploy times ~ 5 Minutes
• Build Time ~5 Minutes
Questions

More Related Content

PDF
Netflix Cloud Platform and Open Source
PDF
NetflixOSS and ZeroToDocker Talk
PDF
Matt Chung (Independent) - Serverless application with AWS Lambda
PDF
Securing your AWS Deployments with Spinnaker and Armory Enterprise
PDF
Serverless security - how to protect what you don't see?
PPTX
Shift Left - How to improve your security with checkov before it’s going to p...
PDF
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
PDF
.Net Conf 2018 Service Fabric
Netflix Cloud Platform and Open Source
NetflixOSS and ZeroToDocker Talk
Matt Chung (Independent) - Serverless application with AWS Lambda
Securing your AWS Deployments with Spinnaker and Armory Enterprise
Serverless security - how to protect what you don't see?
Shift Left - How to improve your security with checkov before it’s going to p...
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
.Net Conf 2018 Service Fabric

What's hot (20)

PPTX
Cloudsolutionday 2016: Getting Started with Severless Architecture
PPT
Sebastien goasguen cloud stack the next year
PDF
Terrascan - Cloud Native Security Tool
PPTX
Cloudsolutionday 2016: Docker & FAAS at getvero.com
PPTX
Meetup #3: Migrate a fast scale system to AWS
PPTX
Kubernetes as Orchestrator for A10 Lightning Controller
PPTX
Flynn Bundy - 60 micro-services in 6 months
PDF
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
PPTX
Ibm cloud nativenetflixossfinal
PDF
Understanding AWS with Terraform
PPTX
Netflix0SS Services on Docker
PPTX
Serverless Reality
PPT
Docker in the Cloud
PPTX
Externalized Spring Boot App Configuration
PDF
Case Study: Utilizing Mirantis Fuel to install OpenStack Ansible
PDF
Aws + kubernetes = ❤︎
PPTX
Sas 2015 event_driven
PDF
Network Infrastructure as Code with Chef and Cisco
PPTX
Meetup #3: Migrating an Oracle Application from on-premise to AWS
PDF
Serverless Node.js
Cloudsolutionday 2016: Getting Started with Severless Architecture
Sebastien goasguen cloud stack the next year
Terrascan - Cloud Native Security Tool
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Meetup #3: Migrate a fast scale system to AWS
Kubernetes as Orchestrator for A10 Lightning Controller
Flynn Bundy - 60 micro-services in 6 months
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
Ibm cloud nativenetflixossfinal
Understanding AWS with Terraform
Netflix0SS Services on Docker
Serverless Reality
Docker in the Cloud
Externalized Spring Boot App Configuration
Case Study: Utilizing Mirantis Fuel to install OpenStack Ansible
Aws + kubernetes = ❤︎
Sas 2015 event_driven
Network Infrastructure as Code with Chef and Cisco
Meetup #3: Migrating an Oracle Application from on-premise to AWS
Serverless Node.js
Ad

Similar to 20170831 - Greg Palmier: Terraform & AWS at Tempus (20)

PDF
AWS DevOps - Terraform, Docker, HashiCorp Vault
PPTX
Infrastructure as code with terraform and packer
PDF
Workshop Infrastructure as Code - Suestra
PPTX
terraform cours intéressant et super fort
PPTX
RIMA-Infrastructure as a code with Terraform.pptx
PDF
Provisioning infrastructure to AWS using Terraform – Exove
PPTX
"Continuously delivering infrastructure using Terraform and Packer" training ...
PDF
Terraforming your Infrastructure on GCP
PDF
Microservices with Terraform, Docker and the Cloud. DevOps Wet 2018
PDF
Introductory Overview to Managing AWS with Terraform
PDF
Application Lifecycle Management on AWS
PDF
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
PDF
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
PDF
Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06
PDF
Continuous Deployment @ AWS Re:Invent
PDF
Hashicorp-Terraform-Deep-Dive-with-no-Fear-Victor-Turbinsky-Texuna.pdf
PDF
Terraform-2.pdf
PPTX
Introduction to DevOps on AWS
PDF
Infrastructure as Code with Terraform
PDF
DevOps Braga #9: Introdução ao Terraform
AWS DevOps - Terraform, Docker, HashiCorp Vault
Infrastructure as code with terraform and packer
Workshop Infrastructure as Code - Suestra
terraform cours intéressant et super fort
RIMA-Infrastructure as a code with Terraform.pptx
Provisioning infrastructure to AWS using Terraform – Exove
"Continuously delivering infrastructure using Terraform and Packer" training ...
Terraforming your Infrastructure on GCP
Microservices with Terraform, Docker and the Cloud. DevOps Wet 2018
Introductory Overview to Managing AWS with Terraform
Application Lifecycle Management on AWS
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06
Continuous Deployment @ AWS Re:Invent
Hashicorp-Terraform-Deep-Dive-with-no-Fear-Victor-Turbinsky-Texuna.pdf
Terraform-2.pdf
Introduction to DevOps on AWS
Infrastructure as Code with Terraform
DevOps Braga #9: Introdução ao Terraform
Ad

Recently uploaded (20)

PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
August Patch Tuesday
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Mushroom cultivation and it's methods.pdf
PDF
Approach and Philosophy of On baking technology
PDF
A comparative analysis of optical character recognition models for extracting...
PPT
Teaching material agriculture food technology
PDF
Encapsulation theory and applications.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
OMC Textile Division Presentation 2021.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A comparative study of natural language inference in Swahili using monolingua...
August Patch Tuesday
SOPHOS-XG Firewall Administrator PPT.pptx
Getting Started with Data Integration: FME Form 101
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Heart disease approach using modified random forest and particle swarm optimi...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Mushroom cultivation and it's methods.pdf
Approach and Philosophy of On baking technology
A comparative analysis of optical character recognition models for extracting...
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
OMC Textile Division Presentation 2021.pptx

20170831 - Greg Palmier: Terraform & AWS at Tempus