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

Os-6-Operating Your OpenStack Cloud Using Ansible

Embed Size (px)

DESCRIPTION

openstack with ansible

Citation preview

Page 1: Os-6-Operating Your OpenStack Cloud Using Ansible

Operating Your OpenStack Cloud Using Ansible

Walter Bentley, RPC Solutions Architect Twitter: @djstayflypro

LinkedIn: http://goo.gl/r2p21i Github: wbentley15 Blog: hitchnyc.com

Page 2: Os-6-Operating Your OpenStack Cloud Using Ansible

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?

Page 3: Os-6-Operating Your OpenStack Cloud Using Ansible

3

What is OpenStack – When, Who and Why

Page 4: Os-6-Operating Your OpenStack Cloud Using Ansible

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

Page 5: Os-6-Operating Your OpenStack Cloud Using Ansible

5 www.rackspace.com

Why not create some roles and playbooks to automate all those pre-configurations!

So you have a cloud, now what?

Page 6: Os-6-Operating Your OpenStack Cloud Using Ansible

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"

Page 7: Os-6-Operating Your OpenStack Cloud Using Ansible

7

Page 8: Os-6-Operating Your OpenStack Cloud Using Ansible

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!

Page 9: Os-6-Operating Your OpenStack Cloud Using Ansible

OpenStackShowcase Challenge #1

Page 10: Os-6-Operating Your OpenStack Cloud Using Ansible

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!

Page 11: Os-6-Operating Your OpenStack Cloud Using Ansible

OpenStackShowcase Challenge #2

Page 12: Os-6-Operating Your OpenStack Cloud Using Ansible

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!

Page 13: Os-6-Operating Your OpenStack Cloud Using Ansible

OpenStackShowcase Challenge #3

Page 14: Os-6-Operating Your OpenStack Cloud Using Ansible

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!

Page 15: Os-6-Operating Your OpenStack Cloud Using Ansible

15 www.rackspace.com

Q&A Session

Twitter: @djstayflypro Email: [email protected]

Page 16: Os-6-Operating Your OpenStack Cloud Using Ansible

Thank You!

bit.ly/WalterBentley

Always available for further questions!