SlideShare a Scribd company logo
A Novel Building Infrastructure As Code
Kimi
2017/10/06
Outline
• Configuration Management
• Infrastructure As Code
• Terraform
• Serverless framework
• Hands On
• Conclusion
• Q&A
Configuration Management
Tools
• Ansible
• Chef
• Puppet
• AWS OpsWork
Tools overview
Ansible Chef Puppet AWS OpsWork
Engine Python Ruby Ruby Python
Agent X V V X
Difficulty Easy Medium Hard Easy
Age 3 2 1 4
* Large number means younger.
How it works?
A novel building infrastructure as code
Ansible Playbook
Short Demo
Infrastructure As Code
• Automate
• Less manual work and human mistake
• Re-useable
• DevOps CI/CD
• Effectively
Cross Region Building Infa.
Infrastructure As Code
Legacy
• Web GUI
• CLI command
Tools
• AWS CloudFormation
• GCP Deployment Manager
• Azure Resource Manager
• Terraform
• Serverless farmwork
How it works?
AWS CloudFormation
Short Demo
Terraform
Terraform Benefit
• Compatibility with all of the most popular cloud
platform
• Fixable
• Modulize
• Easily readable
Terraform Keyword
• Provider
• Variable
• Resource
• Data
• Module
• Output
• Destroy
• Plan
• Apply
• Graph
Terraform Example
variable "access_key" {
  description = "access key for subaccount"
}
variable "secret_key" {
  description = "secret key for subaccount"
}
provider "aws" {
  access_key = "${var.access_key}"
  secret_key = "${var.secret_key}"
  region      = "ap-northeast-1"
}
resource "aws_iam_policy" "test_policy" {
name         = "TibaMe-Tiptop-S3"
description = "TibaMe Tiptop S3 Access Permission"
policy       = "${file("s3_policy.json")}"
}
output “Role-Name” {
value = “${aws_iam_policy.test_policy.name}”
}
Terrafrom Demo
Serverless framework
• Building Serverless related Infrastructure
• Deploy
• Plugin
• AWS Lambda, Azure Functions, Google
CloudFunctions
• YAML-formatted templates
Serverless example
# Tiptop serverless YAML template
service: TibameLambda
provider:
name: aws
runtime: nodejs6.10
stage: Stage
region: ap-northeast-1
versionFunctions: false
functions:
Picture-Resize:
handler: index.handler
memorySize: 512
timeout: 30
description: Tibame Lambda Picture Resize
#Lambda role must created first
role: arn:aws:iam::271681955745:role/LambdaResizeRole
Serverless Demo
A novel building infrastructure as code
A novel building infrastructure as code
Conclusion
• Git control
• Manual work as less as possible
• Templete >>> Document
• Build infrastructure as code
• Control configuration via CM tools
• CI/CD
Q & A
One more thing…
Let’s talk about
DevOps Evolution
A novel building infrastructure as code
Enjoy Vacation

More Related Content

PDF
Making Wallstreet talk with GO (GO India Conference 2015)
PDF
Ohio Devfest - Visual Analysis with GCP
PDF
Scaling WordPress - WP on AWS
PDF
Spotify's journey to GCP
PPTX
Keynote TIAD Camp Serverless
PPTX
Using Azure Functions for Integration
PPTX
How to create a Function App on Cosmos DB
PPTX
GAB 2017 - Logic Apps and Azure Functions
Making Wallstreet talk with GO (GO India Conference 2015)
Ohio Devfest - Visual Analysis with GCP
Scaling WordPress - WP on AWS
Spotify's journey to GCP
Keynote TIAD Camp Serverless
Using Azure Functions for Integration
How to create a Function App on Cosmos DB
GAB 2017 - Logic Apps and Azure Functions

What's hot (18)

PPTX
Azure Functions Real World Examples
PDF
Real time serverless data pipelines on AWS
PDF
Serverless Framework (2018)
PPTX
Introduction to Azure Functions - Tutorial
PDF
Serverless Architecture GCP In Production
PDF
Platform as a Service for Rapid Development
PDF
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
PDF
AWS for web developers
PPTX
Azure functions
PPTX
Serverless with Azure Functions
PPTX
Cost Optimization Best Practices from Trend Micro
PPTX
Developing serverless applications with .NET on AWS
PPTX
Automating AWS with Ansible
PDF
Neptue Graph Database - 0 to Production
PDF
Tis the Season to Scale
PPTX
PDF
Firebase Cloud Functions: a quick overview
PPTX
Spangulumbraco
Azure Functions Real World Examples
Real time serverless data pipelines on AWS
Serverless Framework (2018)
Introduction to Azure Functions - Tutorial
Serverless Architecture GCP In Production
Platform as a Service for Rapid Development
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
AWS for web developers
Azure functions
Serverless with Azure Functions
Cost Optimization Best Practices from Trend Micro
Developing serverless applications with .NET on AWS
Automating AWS with Ansible
Neptue Graph Database - 0 to Production
Tis the Season to Scale
Firebase Cloud Functions: a quick overview
Spangulumbraco
Ad

Similar to A novel building infrastructure as code (20)

PDF
Creating AWS infrastructure using Terraform
PPTX
Infrastructure as Code
PDF
Transition to Infrastructure as Code
PDF
Terraform: Infrastructure as Code
PDF
DevOps Fest 2020. immutable infrastructure as code. True story.
PDF
Infrastructure as code
PDF
Cloud infrastructure as code
PDF
Infrastructure as code with Terraform
PDF
Infrastructure as Code with Terraform
PPTX
Infrastructure as Code with Terraform.pptx
PPTX
Infrastrucutre as Code
PDF
COSCUP 2017 - infrastructure As Code
PDF
Infrastructure as Code
PDF
AWSインフラのコード化にトライしてみて
PPTX
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
PDF
Best Practices of Infrastructure as Code with Terraform
PPTX
Infrastructure as Code (IaC): Introduction to scripted infrastructure
PDF
DevOps Online Training
PPTX
Integration-Monday-Infrastructure-As-Code-With-Terraform
PDF
Infrastructure as code chez Scaleway
Creating AWS infrastructure using Terraform
Infrastructure as Code
Transition to Infrastructure as Code
Terraform: Infrastructure as Code
DevOps Fest 2020. immutable infrastructure as code. True story.
Infrastructure as code
Cloud infrastructure as code
Infrastructure as code with Terraform
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform.pptx
Infrastrucutre as Code
COSCUP 2017 - infrastructure As Code
Infrastructure as Code
AWSインフラのコード化にトライしてみて
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Best Practices of Infrastructure as Code with Terraform
Infrastructure as Code (IaC): Introduction to scripted infrastructure
DevOps Online Training
Integration-Monday-Infrastructure-As-Code-With-Terraform
Infrastructure as code chez Scaleway
Ad

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Artificial Intelligence
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
737-MAX_SRG.pdf student reference guides
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
PPT on Performance Review to get promotions
PPT
Occupational Health and Safety Management System
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPT
introduction to datamining and warehousing
PPTX
Current and future trends in Computer Vision.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Automation-in-Manufacturing-Chapter-Introduction.pdf
Artificial Intelligence
Exploratory_Data_Analysis_Fundamentals.pdf
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
737-MAX_SRG.pdf student reference guides
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
UNIT 4 Total Quality Management .pptx
PPT on Performance Review to get promotions
Occupational Health and Safety Management System
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
introduction to datamining and warehousing
Current and future trends in Computer Vision.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Visual Aids for Exploratory Data Analysis.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Nature of X-rays, X- Ray Equipment, Fluoroscopy

A novel building infrastructure as code