Slide 1

Slide 1 text

Operating Your OpenStack Cloud Using Ansible Walter Bentley, RPC Solutions Architect Twitter: @djstayflypro LinkedIn: http://goo.gl/r2p21i Github: wbentley15 Blog: hitchnyc.com

Slide 2

Slide 2 text

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?

Slide 3

Slide 3 text

3 What is OpenStack – When, Who and Why

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

5 www.rackspace.com Why not create some roles and playbooks to automate all those pre-configurations! So you have a cloud, now what?

Slide 6

Slide 6 text

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"

Slide 7

Slide 7 text

7

Slide 8

Slide 8 text

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!

Slide 9

Slide 9 text

OpenStack
 Showcase Challenge #1

Slide 10

Slide 10 text

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!

Slide 11

Slide 11 text

OpenStack
 Showcase Challenge #2

Slide 12

Slide 12 text

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!

Slide 13

Slide 13 text

OpenStack
 Showcase Challenge #3

Slide 14

Slide 14 text

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!

Slide 15

Slide 15 text

15 www.rackspace.com Q&A Session Twitter: @djstayflypro Email: [email protected]

Slide 16

Slide 16 text

Thank You! bit.ly/WalterBentley Always available for further questions!