Infrastructure As Code in 200X...
13
YA! I can write code to
manage server
package 'tar' do
version '1.16.1'
action :install
end
Infrastructure As Code in 200X...
▪ Provision Procedure CM
Tool
14
Document:
- Easy Out of Date
- Hard to Maintain
Infrastructure As Code in 201X...
15
YA! I can write code to
manage cloud resource
resource "aws_s3_bucket" "b" {
bucket = "my_tf_test_bucket"
acl = "private"
tags { Name = "My bucket" }
}
Infrastructure As Code in 201X...
▪ Cloud Resource
Infrastructure As Code Tool
16
Document:
- Easy Out of Date
- Hard to Maintain
Google
Cloud Deployment Manager
Azure
Resource Manager
AWS
CloudFormation
Infrastructure As Code in 202X...
17
YA! I can write code to
manage cloud provider
resource "cloud_provider" "poc" {
type = "AWS"
region = "American"
feature = ["LB", "K8S"]
}
Infrastructure As Code in 202X...
▪ Cloud Provider Cloud
Provider As Code tool
18
Document:
- Easy Out of Date
- Hard to Maintain
Whole Picture
25
Makefile
Initial Backend
Get Modules
Plan Resources
Apply Resources
Test Resources
1. Init backend if
not exist
2. Get modules
from source
3. Plan desired
state with previous
one
4. Apply
resource, save
state to backend
5. Test resources