SlideShare a Scribd company logo
1 of 19
Infrastructure
as code
Venu Murthy
Adding smartness to your infrastructure now!
Who am i
https://github.com/openstack/ec2-driver
2
What is infra as code
3
But why?
Success is when you design for failure
4
Why is this important for you!
5
Why is this important for you!
6
7
7
“Oh! But it works on my laptop!”
Why is this important for you!
8
Build and operate infra as code
■Faster Release
■Consistent Environments
■Security
■Structure
■….
9
10
10
Infrastructure as code is techniques,
practices, and tools from software
development applied to creating
reusable, maintainable, extensible, and
testable infrastructure.
Definition
11
12
Provisioning
infrastructure resources
Installing Operating
System
on both
Creating VMs
to be web server
to be Database Server
Configures the server
Ready the App for
deployment
Fetch repo
build
Run Unit
& Functional tests
deploy
Smoke test
This is how easy it should be to define an environment
machines:
db:
mysql_5.0.27
www:
ruby19
passenger
nginx
network:
domain: qa1.example.com
13
man readable
&
asy to define
This is how easy it should be to define an environment
machines:
db:
mysql_5.0.28
www:
ruby19
passenger
nginx
network:
domain: qa1.example.com
14
man readable
&
asy to define
15
Mitigating the risks by providing
15
Consistent Environments
throughout the software dev. process from Dev’s laptop up to
Production
Phoenix Environments
Providing resilient, fault tolerant Environments which can bring up
your infrastructure in one click
15
Infrastructure as code – IMMUTABLE!
• Extend the advantages of version
controlfrom your app to Infrastructure.
•Auto deployment will cut the repetitive and
manual process of configuring all infrastructure resources.
• Get a unified view simplifying the monitoring and
management of all resources.
16
“Welcome to the
age of Software
Defined
Economy.”
Ansible
Provisioning
Deployment
Amazon
EC2
Instance AMI
Summary
App Infra
Source code YAML/JSON
InterpreterInterpreter
AWS/OpenStack
Service API
AWS/OpenStack
Service API
Desired App
State
Desired App
State
Desired infra
State
Desired infra
State
THANK YOU
For questions or
suggestions:
vm@thoughtworks.com
For questions or
suggestions:
vm@thoughtworks.com

More Related Content

What's hot

Continuous Happiness by Continuous Delivery
Continuous Happiness by Continuous DeliveryContinuous Happiness by Continuous Delivery
Continuous Happiness by Continuous Delivery
Sergejus Barinovas
 
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
Techsylvania
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
Ben Lin
 

What's hot (20)

利用.NET Core 與 Azure Kubernetes Service (AKS) 建立高彈性 Microservices (Azure TechDay)
利用.NET Core 與 Azure Kubernetes Service (AKS) 建立高彈性 Microservices (Azure TechDay)利用.NET Core 與 Azure Kubernetes Service (AKS) 建立高彈性 Microservices (Azure TechDay)
利用.NET Core 與 Azure Kubernetes Service (AKS) 建立高彈性 Microservices (Azure TechDay)
 
Martin Hujer: PHP ve Windows Azure cloudu
Martin Hujer: PHP ve Windows Azure clouduMartin Hujer: PHP ve Windows Azure cloudu
Martin Hujer: PHP ve Windows Azure cloudu
 
Tricerat Simplify Monitoring Install
Tricerat Simplify Monitoring InstallTricerat Simplify Monitoring Install
Tricerat Simplify Monitoring Install
 
Continuous Happiness by Continuous Delivery
Continuous Happiness by Continuous DeliveryContinuous Happiness by Continuous Delivery
Continuous Happiness by Continuous Delivery
 
OS and Application deployment using Razor and Puppet
OS and Application deployment using Razor and PuppetOS and Application deployment using Razor and Puppet
OS and Application deployment using Razor and Puppet
 
Docker notes for newbies
Docker notes for newbiesDocker notes for newbies
Docker notes for newbies
 
Bypassing cisco’s sourcefire amp endpoint solution – full demo
Bypassing cisco’s sourcefire amp endpoint solution – full demoBypassing cisco’s sourcefire amp endpoint solution – full demo
Bypassing cisco’s sourcefire amp endpoint solution – full demo
 
Nodejs Security
Nodejs SecurityNodejs Security
Nodejs Security
 
Insider Dev Tour Taipei 2019 - Future proof your desktop apps with .net core
Insider Dev Tour Taipei 2019 - Future proof your desktop apps with .net coreInsider Dev Tour Taipei 2019 - Future proof your desktop apps with .net core
Insider Dev Tour Taipei 2019 - Future proof your desktop apps with .net core
 
Slides null puliya linux basics
Slides null puliya linux basicsSlides null puliya linux basics
Slides null puliya linux basics
 
PowerShell: A Language for the Internet of Things #ATLPUG
PowerShell: A Language for the Internet of Things #ATLPUGPowerShell: A Language for the Internet of Things #ATLPUG
PowerShell: A Language for the Internet of Things #ATLPUG
 
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
Mark Shuttleworth (Ubuntu) - Faster, Easier and More Secure: The Next Generat...
 
Node Day - Node.js Security in the Enterprise
Node Day - Node.js Security in the EnterpriseNode Day - Node.js Security in the Enterprise
Node Day - Node.js Security in the Enterprise
 
Quoi de neuf Dans Azure ?
Quoi de neuf Dans Azure ?Quoi de neuf Dans Azure ?
Quoi de neuf Dans Azure ?
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
 
Real Life Azure Functions Architecture
Real Life Azure Functions ArchitectureReal Life Azure Functions Architecture
Real Life Azure Functions Architecture
 
20170525 왕진영 AWS 분산딥러닝
20170525 왕진영 AWS 분산딥러닝20170525 왕진영 AWS 분산딥러닝
20170525 왕진영 AWS 분산딥러닝
 
Deployment z Ansible
Deployment z AnsibleDeployment z Ansible
Deployment z Ansible
 
Q&A: Cisco Open NX-OS and Puppet
Q&A: Cisco Open NX-OS and PuppetQ&A: Cisco Open NX-OS and Puppet
Q&A: Cisco Open NX-OS and Puppet
 
Azure Artifactsを触ってみよう
Azure Artifactsを触ってみようAzure Artifactsを触ってみよう
Azure Artifactsを触ってみよう
 

Viewers also liked

Infrastrucutre as sdlc
Infrastrucutre as sdlcInfrastrucutre as sdlc
Infrastrucutre as sdlc
John Willis
 
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
atelier t*h
 
Radioactivity (1)
Radioactivity (1)Radioactivity (1)
Radioactivity (1)
palzz
 
Semantic web-and-public-data
Semantic web-and-public-dataSemantic web-and-public-data
Semantic web-and-public-data
Tenforce
 
Are we with-it? - Lucia Schoombee
Are we with-it? - Lucia SchoombeeAre we with-it? - Lucia Schoombee
Are we with-it? - Lucia Schoombee
HELIGLIASA
 

Viewers also liked (16)

Infrastrucutre as sdlc
Infrastrucutre as sdlcInfrastrucutre as sdlc
Infrastrucutre as sdlc
 
네트워크 부트의 활용, 원격관리
네트워크 부트의 활용, 원격관리네트워크 부트의 활용, 원격관리
네트워크 부트의 활용, 원격관리
 
이것이 리눅스다
이것이 리눅스다이것이 리눅스다
이것이 리눅스다
 
Auto infra with_foreman_katello
Auto infra with_foreman_katelloAuto infra with_foreman_katello
Auto infra with_foreman_katello
 
자동화된 인프라구축 - 2009년 자료
자동화된 인프라구축 - 2009년 자료자동화된 인프라구축 - 2009년 자료
자동화된 인프라구축 - 2009년 자료
 
Distributed Design and Architecture of Cloud Foundry
Distributed Design and Architecture of Cloud FoundryDistributed Design and Architecture of Cloud Foundry
Distributed Design and Architecture of Cloud Foundry
 
NCC achieves transparency via IBX Spend Analytics enabling a complete procure...
NCC achieves transparency via IBX Spend Analytics enabling a complete procure...NCC achieves transparency via IBX Spend Analytics enabling a complete procure...
NCC achieves transparency via IBX Spend Analytics enabling a complete procure...
 
Semantic web-and-public-data - en
Semantic web-and-public-data - enSemantic web-and-public-data - en
Semantic web-and-public-data - en
 
Trabalho 1
Trabalho 1Trabalho 1
Trabalho 1
 
Skolkovo
SkolkovoSkolkovo
Skolkovo
 
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
윈도 Xp 종료, 오픈소스 소프트웨어에 기회가 될 것인가
 
Personalising Customer Experience in the Hospitality Industry June 2016
Personalising Customer Experience in the Hospitality Industry June 2016Personalising Customer Experience in the Hospitality Industry June 2016
Personalising Customer Experience in the Hospitality Industry June 2016
 
Radioactivity (1)
Radioactivity (1)Radioactivity (1)
Radioactivity (1)
 
Semantic web-and-public-data
Semantic web-and-public-dataSemantic web-and-public-data
Semantic web-and-public-data
 
Are we with-it? - Lucia Schoombee
Are we with-it? - Lucia SchoombeeAre we with-it? - Lucia Schoombee
Are we with-it? - Lucia Schoombee
 
和菓子復興大作戦〜萌えキャラで和菓子ブームを〜
和菓子復興大作戦〜萌えキャラで和菓子ブームを〜和菓子復興大作戦〜萌えキャラで和菓子ブームを〜
和菓子復興大作戦〜萌えキャラで和菓子ブームを〜
 

Similar to Infrastrucutre As Code

Software Defined Environment - In one click get the Dev/QA/Staging Environment
Software Defined Environment - In one click get the Dev/QA/Staging EnvironmentSoftware Defined Environment - In one click get the Dev/QA/Staging Environment
Software Defined Environment - In one click get the Dev/QA/Staging Environment
Venu Murthy
 
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
PranavPatil822557
 

Similar to Infrastrucutre As Code (20)

Software Defined Environment - In one click get the Dev/QA/Staging Environment
Software Defined Environment - In one click get the Dev/QA/Staging EnvironmentSoftware Defined Environment - In one click get the Dev/QA/Staging Environment
Software Defined Environment - In one click get the Dev/QA/Staging Environment
 
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkitThe DevOps paradigm - the evolution of IT professionals and opensource toolkit
The DevOps paradigm - the evolution of IT professionals and opensource toolkit
 
The DevOps Paradigm
The DevOps ParadigmThe DevOps Paradigm
The DevOps Paradigm
 
Enabing DevOps in an SDN World
Enabing DevOps in an SDN WorldEnabing DevOps in an SDN World
Enabing DevOps in an SDN World
 
Introduction to Virtualization.pptx
Introduction to Virtualization.pptxIntroduction to Virtualization.pptx
Introduction to Virtualization.pptx
 
Serverless java
Serverless   javaServerless   java
Serverless java
 
Scalable TensorFlow Deep Learning as a Service with Docker, OpenPOWER, and GPUs
Scalable TensorFlow Deep Learning as a Service with Docker, OpenPOWER, and GPUsScalable TensorFlow Deep Learning as a Service with Docker, OpenPOWER, and GPUs
Scalable TensorFlow Deep Learning as a Service with Docker, OpenPOWER, and GPUs
 
Comment améliorer le quotidien des Développeurs PHP ?
Comment améliorer le quotidien des Développeurs PHP ?Comment améliorer le quotidien des Développeurs PHP ?
Comment améliorer le quotidien des Développeurs PHP ?
 
DevOps
DevOpsDevOps
DevOps
 
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
 
Introduction to node.js By Ahmed Assaf
Introduction to node.js  By Ahmed AssafIntroduction to node.js  By Ahmed Assaf
Introduction to node.js By Ahmed Assaf
 
Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment
 
Dattatray Resume
Dattatray ResumeDattatray Resume
Dattatray Resume
 
Kubernetes from the Ground Up
Kubernetes from the Ground UpKubernetes from the Ground Up
Kubernetes from the Ground Up
 
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe DevelopmentEclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
Eclipse Che - A Revolutionary IDE for Distributed & Mainframe Development
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
DevOps Training | DevOps Online Training
DevOps Training | DevOps Online TrainingDevOps Training | DevOps Online Training
DevOps Training | DevOps Online Training
 
DevOps Days Boston 2017: Developer first workflows for Kubernetes
DevOps Days Boston 2017: Developer first workflows for KubernetesDevOps Days Boston 2017: Developer first workflows for Kubernetes
DevOps Days Boston 2017: Developer first workflows for Kubernetes
 
DevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to HabitatDevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to Habitat
 
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
Machine Learning , Analytics & Cyber Security the Next Level Threat Analytics...
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Recently uploaded (20)

Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 

Infrastrucutre As Code

Editor's Notes

  1. In this jargon heavy industry, we have to deal with just too many jargons on a day to day basis What this simply means that you can define your virtual resources like your instances, routers, switches, storage in simple human readable text file and give it to an orchestrator.
  2. In a while we will see how Infra as code can provide the smart infrastructure which is designed for failure
  3. The sys admin could have put in the configuration or dependencies that only he or she is aware of to get the app working. Due to which every server becomes “works of art” and as unique as snowflaks ==== Inconsistent environments make it very difficult to determine why an application breaks when it's promoted from one env. to next. Is it because there's a fault in source code itself? Or is it env configs? Over the course there are some unique configurations set by the sys admin in desperation to just get the app working on prod and s/he alone is aware of these changes.
  4. You will be able to release updates to your software faster, migration is just lift and shift. Health is maintained due to immutable infrastructure pattern, you create new servers periodically to avoid any config drift Since everything is defined you are aware of what goes into the system from ground up. Several teams can collaborate on the code and since changes to the environment goes through code, its easier to know what changes were made.
  5. https://youtu.be/ALJnfgwJcPg?t=100
  6. Environments is not just virtual machines but also the software defined storage, virtual routers, switches, firewalls, load balancers and several We will demo the automated deployment of CRUD app on an environment … First we create two servers Install an operating system on them In a while Configure the servers, we can use ansible, chef and puppet to do this And fetch the repo from github, automate the build, run unit and functional tests and deploy it and also smoke test.
  7. This is how easy it would ideally be for someone to get an env. With the new version of a dependency
  8. This is how easy it would ideally be for someone to get an env. With the new version of a dependency
  9. Amazon AMI
  10. Amazon AMI