Os-6-Operating Your OpenStack Cloud Using Ansible
-
Upload
subbarao-appanabhotla -
Category
Documents
-
view
32 -
download
4
description
Transcript of Os-6-Operating Your OpenStack Cloud Using Ansible
![Page 1: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/3.jpg)
3
What is OpenStack – When, Who and Why
![Page 4: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/7.jpg)
7
![Page 8: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/9.jpg)
OpenStackShowcase Challenge #1
![Page 10: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/11.jpg)
OpenStackShowcase Challenge #2
![Page 12: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/13.jpg)
OpenStackShowcase Challenge #3
![Page 14: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/14.jpg)
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 16: Os-6-Operating Your OpenStack Cloud Using Ansible](https://reader034.fdocuments.net/reader034/viewer/2022042721/577c797c1a28abe05492d3b2/html5/thumbnails/16.jpg)
Thank You!
bit.ly/WalterBentley
Always available for further questions!