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

Operating Your OpenStack Cloud using Ansible

Operating Your OpenStack Cloud using Ansible

Review on how you can use Ansible to manage/administer your OpenStack cloud

Walter Bentley

June 01, 2015
Tweet

More Decks by Walter Bentley

Other Decks in Technology

Transcript

  1. Operating Your OpenStack Cloud Using Ansible Walter Bentley, RPC Solutions

    Architect Twitter: @djstayflypro LinkedIn: http://goo.gl/r2p21i Github: wbentley15 Blog: hitchnyc.com
  2. 2 I started my 17-year IT career as an MS

    .ASP developer and transitioned into supporting web-based applications. The bulk of my time was spent providing production support as an on-call engineer. Who Am I?
  3. 4 www.rackspace.com OpenStack® Services KEYSTONE IDENTITY GLANCE IMAGE MANAGEMENT NOVA

    COMPUTE LAYER SWIFT OBJECT STORE CINDER BLOCK STORAGE NEUTRON NETWORKING HORIZON DASHBOARD/UI HEAT ORCHESTRATION CEILOMETER TELEMETRY TROVE DBaaS SAHARA DATA PROCESSING
  4. 5 www.rackspace.com Why not create some roles and playbooks to

    automate all those pre-configurations! So you have a cloud, now what?
  5. 6 www.rackspace.com Why Ansible with OpenStack? •  Only SSH and

    Python required on the target device, no clients/agents; can manage an environment of any size or type! •  Existing Ansible modules for overall Linux management and OpenStack; working with OpenStack is like working with a complicated Linux kernel! •  Playbooks can be written against API’s or Python CLI’s! •  Designing roles with unique variable values is as easy as writing a email"
  6. 7

  7. 8 www.rackspace.com Game Rules •  Random audience member will be

    called up on stage ! •  It will be a head-to-head competition, the contestant and myself! •  Objective:! Compare speed, ease and agility of both approaches to determine who can finish the OpenStack task the fastest!
  8. 10 www.rackspace.com OpenStack Showcase Challenge #1 Administration Scenario:! •  Marketing

    department just purchased a un-branded responsive website template for a special campaign (without telling internal IT…ssssh)! •  They also hired 10 website developer contractors to add branding and additional functionality" •  Each developer needs their own testing computing resources and of course they need it by tomorrow!
 ! 10 tenants/projects and 10 users with proper roles!
  9. 12 www.rackspace.com OpenStack Showcase Challenge #2 Administration Scenario:! •  So

    those contractors the Marketing department hired has basically turned your cloud into a community public cloud! •  Resource usage keeps spiking thru the roof and you decided to restrict each developer’s tenant further by applying stricter quotas
 ! 3 developer’s need 30vCPU and 30 instances and 
 the rest only need 20vCPU and 20 instances!
  10. 14 www.rackspace.com OpenStack Showcase Challenge #3 Administration Scenario:! •  Some

    time has passed and the Marketing department decided to fire all those contractors (go figure :D)! •  But before destroying their environments, they asked that you make a backup of all the instances in one of the tenants
 ! Snapshot all instances from one tenant/project and destroy all users/tenants!