![Page 1: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/1.jpg)
Stack Attackan Openstack primer
Jacob MeltonVTLUUG Treasurer
![Page 2: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/2.jpg)
Project origins
![Page 3: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/3.jpg)
Project origins
Feb 2010, First release of Openstack, Codename Austin
![Page 4: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/4.jpg)
Over 100 developers
![Page 5: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/5.jpg)
Design and Coding Standards Scalability and elasticity Asynchronous Horizontally scalable Share-nothing (or sharding) Distribute everything Accept eventual consistency Test everything Enforce PEP-8
![Page 6: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/6.jpg)
Release Structure
![Page 7: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/7.jpg)
Project Structure
![Page 8: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/8.jpg)
![Page 9: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/9.jpg)
Dashboard (Horizon)
https://www.youtube.com/watch?v=p4eW78gHfCg
Django based web frontend for the rest of the Openstack components
Utilizes the API interfaces and presents them in a simple web panel.
Out-of-the-box support for all core OpenStack projects.
![Page 10: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/10.jpg)
Shared Services
Identity Service (Keystone) Image Service (Glance)Telemetry Service (Ceilometer)
Orchestration Service (Heat)
![Page 11: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/11.jpg)
Identity Service (Keystone)
Provides Identity, Token, Catalog and Policy services
Provides user management, keeps track of permissions and the like
Provides Service catalog What services are available Where are their API endpoints Who can access the service
![Page 12: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/12.jpg)
Keystone ArchitectureWhy make a slide when there is a wonderful webpage already in existence!http://docs.openstack.org/developer/keystone/architecture.html
Keystone Workflowhttp://docs.openstack.org/havana/install-guide/install/apt/content/figures/5/figures/SCH_5002_V00_NUAC-Keystone.png
![Page 13: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/13.jpg)
Shared Services
Identity Service (Keystone) Image Service (Glance)Telemetry Service (Ceilometer)
Orchestration Service (Heat)
![Page 14: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/14.jpg)
Image Service (Glance) Provides discovery, registration and delivery services for disk and server images
Administrators can create base templates from which their users can start new compute instances
Users can choose from available images, or create their own from existing servers
Snapshots can also be stored in the Image Service so that virtual machines can be backed up quickly
Supports Raw, Machine, VHD, VDI, qcow2, VMDK, and OVF images
![Page 15: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/15.jpg)
Image Service (Glance)
![Page 16: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/16.jpg)
Shared Services
Identity Service (Keystone) Image Service (Glance)Telemetry Service (Ceilometer)
Orchestration Service (Heat)
![Page 17: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/17.jpg)
Telemetry Service (Ceilometer) The OpenStack Telemetry service aggregates usage
and performance data across the services deployed in an OpenStack cloud
Provide efficient collection of metering data, in terms of CPU and network costs.
Allow deployers to integrate with the metering system directly or by replacing components.
Data may be collected by monitoring notifications sent from existing services or by polling the infrastructure.
Allow deployers to configure the type of data collected to meet their operating requirements.
The data collected by the metering system is made visible to some users through a REST API.
The metering messages are signed and non-repudiable.
![Page 18: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/18.jpg)
Ceilometer Architecture
Woop woop for documentation.http://docs.openstack.org/developer/ceilometer/architecture.html
![Page 19: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/19.jpg)
Shared Services
Identity Service (Keystone) Image Service (Glance)Telemetry Service (Ceilometer)
Orchestration Service (Heat)
![Page 20: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/20.jpg)
Orchestration Service (Heat) Heat is a service to orchestrate multiple composite
cloud applications using the AWS CloudFormation template format, through both an OpenStack-native REST API and a CloudFormation-compatible Query API.
Heat primarily manages infrastructure, but the templates integrate well with software configuration management tools such as Puppet and Chef.
Multiple components heat – CLI tool for communicating to heat-api heat-api – OpenStack-native REST API that
processes API requests by sending them to the heat-engine over RPC.
heat-engine – orchestrate the launching of templates and provide events back to the API consumer.
![Page 21: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/21.jpg)
Heat example template
https://github.com/openstack/heat-templates/blob/master/cfn/F19/WordPress_NoKey.yaml
![Page 22: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/22.jpg)
Shared Services
Identity Service (Keystone) Image Service (Glance)Telemetry Service (Ceilometer)
Orchestration Service (Heat)
![Page 23: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/23.jpg)
All those other services
Compute Service (Nova)Networking Service (Neutron)Block Storage (Cinder)Object Storage (Swift)
![Page 24: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/24.jpg)
Compute Service (Nova) Component based architecture: Quickly add new
behaviors Highly available: Scale to very serious workloads Fault-Tolerant: Isolated processes avoid cascading
failures Recoverable: Failures should be easy to diagnose,
debug, and rectify Open Standards: Be a reference implementation for
a community-driven api API Compatibility: Nova strives to provide API-
compatible with popular systems like Amazon EC2
![Page 25: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/25.jpg)
Compute Service (Nova)
![Page 26: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/26.jpg)
Nova Architecture
http://docs.openstack.org/developer/nova/devref/architecture.html
Virtual Machine States and Transitions
http://docs.openstack.org/developer/nova/devref/vmstates.html
![Page 27: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/27.jpg)
All those other services
Compute Service (Nova)Networking Service (Neutron)Block Storage (Cinder)Object Storage (Swift)
![Page 28: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/28.jpg)
Networking Service (Neutron) Provide “network connectivity as a service” between
interface devices (e.g., vNICs) managed by other Openstack services (e.g., nova)
Neutron is relatively new to the project Nova used to provide simple networking and still can,
Neutron is meant to replace that functionality Allows for more complex network topologies https://wiki.openstack.org/wiki/Neutron#Using_Neutro
n
![Page 29: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/29.jpg)
Neutron Architecture
![Page 30: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/30.jpg)
All those other services
Compute Service (Nova)Networking Service (Neutron)Block Storage (Cinder)Object Storage (Swift)
![Page 31: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/31.jpg)
Block Storage (Cinder) Provides an infrastructure for managing volumes in
OpenStack Time to steal some slides https://wiki.openstack.org/w/images/3/3b/Cinder-gri
zzly-deep-dive-pub.pdf
![Page 32: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/32.jpg)
All those other services
Compute Service (Nova)Networking Service (Neutron)Block Storage (Cinder)Object Storage (Swift)
![Page 33: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/33.jpg)
Object Storage (Swift) Swift is not a traditional file system, but rather a
distributed storage system for static data such as virtual machine images, photo storage, email storage, backups and archives
Objects and files are written to multiple disk drives spread throughout servers in the data center, with the OpenStack software responsible for ensuring data replication and integrity across the cluster
Storage clusters scale horizontally simply by adding new servers
http://docs.openstack.org/training-guides/content/module003-ch003-obj-store-capabilities.html
![Page 34: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/34.jpg)
Object Storage (Swift) I dont totally understand Swift yet. So youtube to the rescue, if you are interested in the
how and what of Swift whatch the video below. https://www.youtube.com/watch?v=G0zz6ahZjnE
![Page 35: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/35.jpg)
All those other services
Compute Service (Nova)Networking Service (Neutron)Block Storage (Cinder)Object Storage (Swift)
![Page 36: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/36.jpg)
The big picture
http://docs.openstack.org/training-guides/content/figures/5/figures/image31.jpg
![Page 37: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/37.jpg)
What the future holds
Database Service (Trove), coming out with Icehouse release.
Bare Metal (Ironic), under development Queue Service (Marcconi), ^ Data Processing (Savannah), ^ See https://www.openstack.org/software/roadmap/ Status on next release
http://status.openstack.org/release/
![Page 38: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/38.jpg)
What they are using
![Page 39: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/39.jpg)
What they are using
![Page 40: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/40.jpg)
What they are using
![Page 41: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/41.jpg)
What they are using
![Page 42: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/42.jpg)
Installing Openstack Lots of documentation, lots of guides Devstack Links
http://docs.openstack.org/havana/install-guide/install/yum/content/
http://devstack.org/
![Page 43: Stack Attack - Vtluug Intro to Openstack.pdf · The OpenStack Telemetry service aggregates usage and performance data across the services deployed in an OpenStack cloud Provide efficient](https://reader034.vdocuments.us/reader034/viewer/2022042310/5ed84d2f724c4f68db6004c7/html5/thumbnails/43.jpg)
Questions/Comments