Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Infrastructure as Code

Avatar for Cloud Genius Cloud Genius
October 28, 2013

Cloud Infrastructure as Code

Avatar for Cloud Genius

Cloud Genius

October 28, 2013
Tweet

More Decks by Cloud Genius

Other Decks in Education

Transcript

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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
  6. 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
  7. You can do the same with GUI but… 9 ¨ 

    APIs let you programmatically allocate/release resources ¨  Public / private / hybrid cloud
  8. 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
  9. Pull based operations (not push) 12 ¨  Lets a node

    configure itself when it comes online
  10. 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.
  11. 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
  12. 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.