Share
Embed
Cloud Infrastructure as Code
Cloud Genius
October 28, 2013
Transcript
15 slides
-
Infrastructure as code 2 The goal is fully automated cloud
infrastructure. A technical domain revolving around building and managing infrastructure programmatically. We get there with Infrastructure as Code. -
Re-Constructible Cloud Business 3 Enable the reconstruction of the business
from nothing but a source code repository, an application data backup, and bare metal resources. -
Configuration Management 4 Keep track of all the steps required
to take bare metal systems to doing their job in the cloud. And this available as a service in your cloud infrastructure. -
Systems Integration 5 Taking all the systems that have been
configured to do their job, and make them work together to actually run the infrastructure. -
Cloud Integration Framework Helps manage cloud infrastructure 7 ¨ Puppet
- open source ¤ https://github.com/puppetlabs/puppet ¤ www.puppetlabs.com ¨ Chef – open source ¤ https://github.com/opscode/chef ¤ www.opscode.com -
Use API to provision resources 8 • Compute resources such
as • Rackspace Cloud Servers or • Amazon EC2 • Storage resources such as • Amazon S3 or • Rackspace Cloud Files • Networking resources to interconnect your cloud resources -
You can do the same with GUI but… 9 ¨
APIs let you programmatically allocate/release resources ¨ Public / private / hybrid cloud -
Write code to manage infrastructure 10 ¨ Maintain state of
resources on the machines ¨ Generate configurations ¨ Reduce management complexity ¨ Version control your infrastructure code so you can roll back and correct mistakes if any -
Declarative Interface to Resources 11 ¨ Define the outcome ¤
Tell what is needed (not how to do) -
Pull based operations (not push) 12 ¨ Lets a node
configure itself when it comes online -
Program your cloud infrastructure 13 ¨ So your cloud infrastructure
creates itself ¤ Programmatically provision and configure ¨ Treat your infrastructure code like any other code ¨ Reconstruct business from code repo, data backups and bare metal machines in the cloud ¨ Begin with a disaster plan – not after the fact. -
Write code to build anything 14 ¨ Simple internal apps
¨ Complex internal apps ¨ Corporate workstations ¨ Hadoop clusters ¨ IAAS, PAAS, SAAS applications ¨ Storage systems ¨ Any apps that you want to deploy on the cloud -
And manage it simply 15 ¨ Auto re-configure everything ¨
Balance the load ¨ Collect metrics ¨ Use monitoring systems ¨ Writing code to build cloud makes migrations trivial ¤ Because you can migrate clouds programmatically.