Using Terraform to automate your infrastructure on AWS. What is Terraform and how is it different from Ansible. How to control cloud deployments using Terraform.
3. CloudZone, Matrix’s cloud unit, is a leading AWS solution
provider in region. With over 7 years of experience with
AWS, CloudZone provides its customers with a complete
service package that includes consulting, professional
services and managed services.
As an Premier Consulting Partner , Worldwide
Channel Reseller and Managed Service Provider of
Amazon Web Services, we ensure that our customers
adopt the most advanced technologies and best
practices.
@cloudzoneio
4. Agenda
• Small talk about Cloud Orchestration and latest Buzzwords
• Some facts about Terraforms
• Why Terraform ?
• Demo
9. Terrafrom Facts
• Latest Version: 0.6.12 (February 24, 2016)
• Format: Based on
• Open Source, Written in Go lang
• Very Active Development (Less stable from my experience)
• Growing Community
10. HCL
• Based on libucl
• Human readable
• JSON Interoperable
14. Terraform provides a common configuration to launch infrastructure
from physical and virtual servers to email and DNS providers. Once
launched, Terraform safely and efficiently changes infrastructure as
the configuration is evolved.
Atlas
AWS
Azure
Chef
CloudFlare
CloudStack
Consul
Datadog
Terraform
Docker
Dyn
Google Cloud
Heroku
Mailgun
MySQL
OpenStack
Packet
PostgreSQL
DigitalOcean
DNSMadeEasy
DNSimple
TLS
VMware vCloud Director
VMware vSpherePowerDNS
Rundeck
StatusCake
Template
16. CloudFormation Ansible Terraform
Syntax JSON Yaml HCL
State Management No Yes Yes
Execution Control No No Yes
Manage Already Created
Resources
No Yes Hard
Providers Support AWS Only +++ ++
18. Multi-Provider
Multiple instances of a single provider can
be configured so resources can apply to
different settings. As an example, this
allows Terraform to manage multiple
regions with AWS.
20. Dell R610 128GB 600GB 10K SAS
Dell R610 256GB 600GB 15K SAS
EC2 i2.4xlarge 600GB PIOPS 500
EC2 cr1.8xlarge 600GB PIOPS 1000
Don’t try to “Google
Translate” your
environment to the Cloud
21. Matrix IT work Copyright 2014. Do not remove source or Attribution from any graphic or portion of graphic
Everything can be and
should be automated
22. Matrix IT work Copyright 2014. Do not remove source or Attribution from any graphic or portion of graphic
Design for failure and
nothing will fail