infrastrucutre as code
TRANSCRIPT
Infrastructure as codeVenu Murthy
Adding smartness to your infrastructure now!
Who am ihttps://github.com/openstack/ec2-driver
2
What is infra as code3
But why?Success is when you design for failure
4
Why is this important for you!
5
Why is this important for you!
6
77
“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
1010
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 Systemon 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
Human readable
&
Easy 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
Human readable
&
Easy to define
15
Mitigating the risks by providing
15
Consistent Environmentsthroughout 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 control from 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
InterpreterAWS/
OpenStack Service API
Desired App State
Desired infra State
THANK YOUFor questions or suggestions: