18
Introduction - Terraform SL Application Engineering Team

Terraform

Embed Size (px)

Citation preview

Page 1: Terraform

Introduction - TerraformSL Application Engineering Team

Page 2: Terraform

AGENDA1.Terraform Intro

2.Terraform

🔻 Getting started with Terraform

3.Terraform

🔻 Advance concepts

🔻 Demos

Page 3: Terraform

TERRAFORMTerraform is a tool for building, changing, and versioning infrastructure safely and efficiently.

Page 4: Terraform

What is Terraform?

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

Page 5: Terraform

AVAILABLE TOOLS 🔻 AWS CloudFormation

🔻 Puppet, Chef, Ansible, Salt …

🔻 AWS API

🔻 Terraform by HashiCorp

Page 6: Terraform
Page 7: Terraform
Page 8: Terraform

TERRAFORM FACTSLatest version : 0.7.x

Open-source

Active development:

🔻 GitHub Issues ( 5 - 15 issues resolving daily)

🔻 Growing community ( IRC, Mailing list, Stack Overflow)

🔻 CHANGELOG.md

https://github.com/hashicorp/terraform/blob/v0.7.x/CHANGELOG.md

Page 9: Terraform

Terraform vs CloudFormation CloudFormation Terraform

Configuration Format JSON HCL/JSON

State management No Yes

Execution control No Yes

Logical comparisons Yes Limited

Supports iterations No Yes

Providers supported Only AWS 20+

AWS Resource types 121 103 + WIP

Page 10: Terraform

Terraform - Getting started Installing Terraform

To install Terraform, find the appropriate package for your system and download it. Terraform is packaged as a zip archive.

Example for Linux/Mac - Type the following into your terminal:

PATH=/usr/local/terraform/bin:/home/your-user-name/

terraform:$PATH

Page 11: Terraform

Terraform Commands

Page 12: Terraform

Terraform Apply

Page 13: Terraform

TERRAFORM REMOTE

Page 14: Terraform

TERRAFORM PLAN

Page 15: Terraform

Terraform Refresh

Page 16: Terraform

The key features of Terraform

Infrastructure as Code

Execution Plans

Resource Graph

Change Automation

Page 17: Terraform

USE CASESCloud App Setup

Multi-Tier Applications

Self-Service Clusters

Software Defined Networking

Resource Schedulers

Multi-Cloud Deployment

Page 18: Terraform

Demo