arturo pie iac with terraform - sei digital libraryinfrastructure as code with terraform author:...
TRANSCRIPT
![Page 1: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/1.jpg)
IAC WITH TERRAFORM
ARTURO PIE@arturo_pie
![Page 2: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/2.jpg)
▸Based in Toronto, Canada
▸Goal: Build software that dramatically reduces waste in the global supply chain
▸We serve Kelloggs, P&G, DHL, L’Oreal and others
▸Software Craftsmanship
▸Learning organization
▸Modern Agile methodology
▸TDD and pair programming
![Page 3: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/3.jpg)
INFRASTRUCTURE
![Page 4: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/4.jpg)
provider "aws" {region = "us-west-2"
}
resource "aws_vpc" "main" {cidr_block = "10.0.0.0/16"
}
data "aws_ami" "ubuntu" {most_recent = true
filter {name = "name"values = ["ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-*"]
}
filter {name = "virtualization-type"values = ["hvm"]
}
owners = ["099720109477"] # Canonical}
resource "aws_instance" "web" {ami = "${data.aws_ami.ubuntu.id}"instance_type = "t2.large"security_groups = ["${aws_security_group.allow_all.id}"]
tags {Name = "HelloWorld"
}}
resource "aws_rds_cluster" "postgresql" {cluster_identifier = "aurora-cluster-demo"engine = "aurora-postgresql"availability_zones = ["us-west-2a", "us-west-2b", "us-west-2c"]database_name = "mydb"master_username = "foo"master_password = "bar"backup_retention_period = 5preferred_backup_window = "07:00-09:00"
}
resource "aws_security_group" "allow_all" {name = "allow_all"description = "Allow all inbound traffic"vpc_id = "${aws_vpc.main.id}"
ingress {from_port = 0to_port = 0protocol = "-1"id bl k ["0 0 0 0/0"]
INFRASTRUCTURE AS CODE
![Page 5: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/5.jpg)
ENVIRONMENT
![Page 6: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/6.jpg)
![Page 7: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/7.jpg)
![Page 8: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/8.jpg)
![Page 9: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/9.jpg)
Self-service
![Page 10: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/10.jpg)
![Page 11: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/11.jpg)
Self-service
Documentation
![Page 12: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/12.jpg)
![Page 13: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/13.jpg)
![Page 14: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/14.jpg)
Self-service
Documentation
Speed and safety
![Page 15: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/15.jpg)
![Page 16: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/16.jpg)
Self-service
Documentation
Speed and Safety
Version Control
![Page 17: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/17.jpg)
![Page 18: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/18.jpg)
Self-service
Documentation
Speed and Safety
Version Control
Validation
![Page 19: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/19.jpg)
![Page 20: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/20.jpg)
Self-service
Documentation
Speed and Safety
Version Control
Validation
Reusability
![Page 21: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/21.jpg)
![Page 22: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/22.jpg)
Self-service
Documentation
Speed and safety
Version control
Validation
Reusability
Happiness
![Page 23: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/23.jpg)
Self-service
Documentation
Speed and safety
Version control
Validation
Reusability
Happiness
![Page 24: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/24.jpg)
INFRASTRUCTURE AS CODE
Maintainability
Reusability
Testability
Security
Self-service
Documentation
Speed and safety
Version control
Validation
Reusability
Happiness
![Page 25: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/25.jpg)
![Page 26: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/26.jpg)
Ad Hoc Scripts
Chef
Puppet
AnsibleSaltStack
CloudFormation
Heat
Terraform
![Page 27: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/27.jpg)
* Terraform: Up and Running
![Page 28: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/28.jpg)
![Page 29: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/29.jpg)
![Page 30: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/30.jpg)
![Page 31: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/31.jpg)
API CALLSTERRAFORM*.TF FILES
![Page 32: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/32.jpg)
![Page 33: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/33.jpg)
Source Codehttps://github.com/arturopie/iac_with_terraform
![Page 34: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/34.jpg)
![Page 35: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/35.jpg)
![Page 36: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/36.jpg)
Q&AArturo Pie - @arturo_pie
Code is powerful
Source Codehttps://github.com/arturopie/iac_with_terraform
![Page 37: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/37.jpg)
Q&AArturo Pie - @arturo_pie
Code is powerful
Source Codehttps://github.com/arturopie/iac_with_terraform
![Page 38: ARTURO PIE IAC WITH TERRAFORM - SEI Digital LibraryInfrastructure as Code with Terraform Author: Arturo Pie (Nulogy) Subject: Writing infrastructure as code is a considerable initial](https://reader034.vdocuments.site/reader034/viewer/2022051807/6004f9a9fd56b46bcb31cdd4/html5/thumbnails/38.jpg)
NO SILVER BULLET
Maintainability ReusabilityTestabilitySecurity