Post on 23-Feb-2017
OpenStack WorkshopIntro Session
Affan A. Syed, Adnan Iqbal, Zaafar Ahmed, Muhammad Zaheer
Registration opened this Monday
more than 90 registrations in 3 days!
2
Amazing response
Private (IT) Private (telco) Govt
Distribution within Industry
Industry Academia
Response Distribution
PTA and MoIT: Dr. Ismail, Wasi ullah Khan
Awal Telecom: Akbar Shaukat
PLUMgrid
3
Sponsors and Enablers
Workshop Outline
◦ A view of the Cloud, from the clouds
◦ What is OpenStack? Why care?
◦ OpenStack: a 10,000 feet view
Outline
Cloud(ed) thinking!debunking the myth of “Cloud”
How the Cloud Business Model started
Excess capacity/Under utilized servers
Machine & Network virtualization
Monetization opportunity through renting
7
8
Excess capacity
https://googleblog.blogspot.com/2012/10/googles-data-centers-inside-look.html
Src: “above the clouds …”, UC Berkeley tech report
OnlineGraduatePrograms.com
9
Machine and network virtualization
8GB 10TB
10TB
10TB
8GB
8GB
4 GB | 2 TB
4 GB | 8 TB
4 GB | 4 TB
2 GB | 2 TB
6 GB | 6 TB
2 GB | 4 TB
2 GB | 4 TB
Physical Virtual
Brid
ge
Rou
ter
LB
Brid
ge
Brid
ge
DH
CP
FW
Brid
ge
DH
CP
FW
10
Money through rental model
Rent me
2
Machines
Rent me
2 more
machines
Allow services to “scale out” on demand
Cloud provider Cloud user
Infrastructure-as-a-Service
Platform-as-a-Service
Software-as-a-Service
(lots of other XaaS)11
Types of a cloud
12
Managing and (re)provisioning a DCN is difficult
Credit: Google
Build compute powers without vendor lock-in
Provide and build services, at lower costFacebook has 20,000 server per admin
Scale out easily by adding servers go to public clouds when needed (Cloud bursting)
13
Enterprises and Private clouds
Give Me
2 Machines, Dual Core,
8GB RAM, L2
connectivity, and an SQL
DB over a firewall
What happens when using a cloud!
physical
virtual Dual Core | RAM 8GB
Dual Core | RAM 8GB
15
Private Cloud Management Systems
Apache CloudStack™
OpenStack: Motivation and history
16
… and why OpenStack matters!
OpenStack Future (from its past!)
In 2012 Boris Renski (CMO) Mirantis made three arguments for money in OpenStack
Cloud is BIG $$$
Cloud will be open (Google, facebook, Rackspace back OpenStack)
OpenStack won the OpenCloud war (2012)
Average # of developers in an IRC channel as of 6/18
Mirantis raised $100 million as pure-play OpenStack in Aug 2015
Monetary Motivations (Enterprise and Entrepreneurs)
20
Job opportunity
“OpenStack continues to gain mindshare among enterprise CIOs …….. We continue to see OpenStack becoming the de facto open source option for deploying private clouds. However, this will accelerate only after more OpenStack-trained developers enter the workforce…..” [The 451Research Take (https://451research.com/openstack)]
OpenStack engineers make 36% more than other cloud engineers.Src: http://www.datacenterdynamics.com/
21
Telecom Sector and NFV
Access network (metro Ethernet) Core DC (Private cloud)
Internet
Classifier
Video acc
VoIP
??Service chains
22
ETSI and Network Function Virtualization (NFV)
Replace hardware network appliances with software
Deployable over commodity machines
Cost savings and no vendor lock-in vCPE Classifier
Video acc
VoIP
??Service chains
Each service/network function now a VM
23
NFV architecture
Data-center/cloud infraCMS (e.g. OpenStack)
OpenStack: A Brief History
NASA Launches Nebula
One of the first cloud computing platforms built for Federal Government Private Cloud
March 2010: Rackspace Open Sources Cloud Files software, aka Swift
May 2010: NASA open sources compute software, aka “Nova”
June 2010: OpenStack is formed
July 2010: The inaugural Design Summit
April 2012: OpenStack Foundation
nebula.nasa.gov
Independent body to protect, empower and promote OpenStack software
Board of Directors (Platinum, Gold sponsors)
25
OpenStack® Foundation
Project Technical Leads(PTL)
Project Technical Leads(PTL)
Technical Committee
User Committee
Legal AffairsCommittee
26
OpenStack Release Cycles
Every 6 months, alphabetical release names
http://www.dcvcs.com/openstack-releases/
27
Platinum, Gold and Corporate members
Fastest Growing Global Open Source Community
May 15, 2015
29
Competitors….. Not there!
Src: http://www.qyjohn.net/?p=3801
Cloud tou buss …… Openstack!
OpenStack
CloudStack
Src: Bitergia
OpenStack: Managing your Cloud!
OpenStackProjects to control pools of compute, storage, and networking resource
Managed through API & dashboard
Open architecture, code, community!
Plugins (vendor specific)
OpenStack infrastructure abstraction --- connect any vendor
Open Architecture --- connect any tools with Open API
Open source (Apache license) softwareaccelerated innovation, community benefits
Plug-in architectureno vendor lock-in (hypervisors, storage soln, SDN soln)
On demand control of large pools of compute, network, storage
Enable IT automation
Multi-tenancy support with quotas and isolationability to control, monitor and monetize resources
32
Features/Benefit (high level)
OpenStack Core Services – the Spider web!
docs.openstack.org
OpenStack Core Services – Relationship diagram (2012)
docs.openstack.org
35
OpenStack as Layers (2014)In
crem
enta
l d
eplo
ym
ent/
com
ple
xit
y
Nova, Glance, Keystone, and Neutron
36
Provides a REST interface to:Spawn, bootstrap, delete VMs
Built using a messaging arch
Supports multiple hypervisor technologies
Supports multi-tenancy 37
Nova: Managing Compute (VM)
Nova API
Nova scheduler
Nova conductor
Messaging bus
Nova compute
hypervisorVM VM
Nova compute
hypervisorVM VM
Nova compute
hypervisorVM VM
Controller Node
Compute Nodes
Magnum (containers) and Ironic (Bare Metal)
Interface to manage imagesStorage provided by drivers
Database to manage imagesDB abstraction to match any driver
38
Glance: Managing images
StorageService
(File/Swift)
Glance
API
Controller
Glance
Registry
MetadataRepository
ImageRepository
Tracking users and their permissions
Providing a catalog of available services (with URLs)
New services first register with keystone
Provides tokens for usage of any service, using the RBAC model
39
Keystone: Managing identity
Identity Service
(Keystone)
Compute
Service
(Nova 8774)
Image
Service
(Glance 9292)
Storage
Service
(Swift 8080)
Network
Service
(Neutron
9696)
Credentials
Token & SC
(with TTL)
API Requests
with Token
Other ID
Backend
Token
Validation
API to create virtual networksSoftware defined!
Modular and multi-tenant archAPI=service, implementation=vendor
Plugins make it technology agnostic
IPAM, load balancer, VPN … Services provided by Network node
40
Neutron: Managing networks
Neutron Server
Core APIs API Extensions
Plugins
Messaging bus
Neutron agent
L3 agent
Neutron agent
L2 agentVM VM
Controller Node
Compute Nodes
Neutron agent
L2 agentVM VM
Network Node (optional)
Internet
Storage: Cinder and Swift
41
42
Cinder: Managing block storage
Persistent block storage for VM instances lives through reboots and crashes
Can be used to create bootable volumesNo need for ephemeral storage!
Multiple volumes (disks) for a single VM
Can backup volumes, (perhaps) in swift!
A frontend to create and manage virtual disks and their VM association
StorageService
(File/Swift)
Glance
API
Controller
Glance
Registry
MetadataRepository
ImageRepository
Object = files, persistent and HAFlat name-space
Unstructured blobs, replicated in a ring across different zones
Default to three replicas
Objects accessible with a URLswift.example.com/v1/account/container/object
Massively scalable, but with eventually consistent behavior
43
Swift: Managing object storage
https://julien.danjou.info/blog/2012/openstack-swift-consistency-analysis
Cloud Management and Advanced Services
44
Telemetry: Ceilometer
Orchestration: Heat
Orchestration and setup
Test Suites: Rally/Tempest
Services to manage your IaaS
Database: Trove
Message Queue: Zaqar
Container Orchestration: Magnum
Container linking: Kuryr
47
Advanced Services
Workflow of Instance creation
Evolved Core view (2015)Understanding this requires lots of time and training
DevStack: the reference installer
56
Questions?https://twitter.com/openstack_isb
http://www.pta.gov.pk/openstackweb/index.html
https://www.facebook.com/OpenStackPakistan/