A powerful 17 slides on Openstack Services in brief and how User authentication happens and VM provisioning happens behind the scenes once user clicks on launch instance
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Openstack Nova behind the scenes
1. Presenter
Anil Bidari,
OpenStack Nova
“ Breathing Openstack these Days” Founder and CEO, Cloud Enabled
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
Email : anil.bidari@thecloudenabled.com
2. Demo:
Openstack
component
in Brief
Openstack
with Vmware
and KVM
Nova
Component
Deep Dive
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
3. Cloud Computing – Infrastructure Framework
Nova allows you to provide VM-As-A-Service (IaaS) for your consumers of private or public
cloud
Ubuntu | Suse | RHEL| CentOS | Linux Nova Win 2003 | Win 2008 | 2012
IaaS
Cloud Management Stack
(Self service Portal, Service catalogue ,Metering , Automation )
Virtual Infrastructure
(Hypervisor, VM’s, vLAN, vSAN , vSwitch)
Physical Infrastructure
(Physical Server, Network Switches, Storage, SAN Fabric)
ESXi
Copyright Cloud Enabled 2014 , www.cloudenabled.in All product and company names are trademarks™ or registered® trademarks of their respective holders.
4. Horizon
Provides Self Service
Portal for consumers
to launch instance
Example
AWS.AMAZON.COM
Nova
Create, Shutdown ,
Reboot and
Terminate Instance
Example:
Amazon EC2
Cinder
Create,Attach and
Detach Block storage
volumes to instance
Example
Elastic Block Store
Neutron
Allows user to create
Private network and
Virtual router to
connect
Example:
Amazon VPC
Openstack Components and Amazon Services Mapping
Note : Amazon does not use Openstack to offer Cloud Services. The examples of above are for relative example perspective, that using Openstack projects you can offer
Amazon Style of services in your cloud aswell
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
5. Keystone
Authenticate and
Authorize users and
administrator
Example :
Identity Access
Management
(IAM)
Glance
Allows administrator
to create VM
templates and
publish on Horizon
Example :
Amazon Machine
Images
Neutron
LbaaS
Example:
Amazon
Elastic Load Balancing
Trove
Database as a Service
Example :
Amazon RDS
Openstack Components and Amazon Services Mapping
Note : Amazon does not use Openstack to offer Cloud Services. The examples of above are for relative example perspective, using Openstack projects you can offer Amazon
Style of services in your cloud aswell
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
6. Nova- Main Packages
Receives End user
compute calls
Accepts metadata request
from instances
Decides on which
host to run instance
Creates & terminates Instances
through hypervisor Api’s
Sits btw Nova-compute and
Nova-DB. (Disallow Nova-compute
connect directly to
Nova-DB)
Provides Instance VNC console
on Horizon Dashboard
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
7. Login to
Horizon
Super Cool
Horizon says
Hey ,No worries
let me validate
credentials Stored
Here is my
username
Hmm ,
Awesome
I got there
Hey, I
need a
VM
User clicks
on Launch
Hmm..Lazy
admin…!
Ok Let me
login there
Cool employee
password
Responds to
Employee
Coolest
Cloud Admin
Prove You in my DB
are our
employee
Horizon
sends this
data to
Keystone
Keystone DB
MySQL- DB Server
Validation done
Give him Access
and
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
Keystone
(Coolest of ALL)
8. Behind the scenes :How VM Provisioning occurs
Users
Horizon
(user Clicks on launch Instance
on Dashboard)
Keystone
(Authenticates , Generates auth-token
& send to other Openstack
Services)
Horizon
(Send REST API request to
Nova-api to launch instance )
Nova-Api
(Receives the Launch instance
request)
Nova-Api
(sends auth token for validation to
Keystone and makes DB entry for
new instance)
Nova-Scheduler
(will receive request from Nova-api
interacts with Nova DB to decide
on which host to run VM )
Nova-Scheduler
( sends VM creation request to
elected Nova-compute host via
rpc.call)
Nova-Compute
( picks up request from queue
and send to Nova-conductor)
Nova-Conductor
( provides Host ID and flavor
and return the info to Nova-compute)
Nova-Compute
( requests info from Glance-api)
Glance-Api
( Provides Image URI to Nova-
Compute)
Nova-Compute
(using uri ,it Copies image from
Glance repository)
Neutron Server
( Nova-compute interacts with
network api and get network info
for instance)
Nova-Compute
( performs rest api call to cinder to
attach volume to instance)
Nova-Compute
( VM creation on Hypervisor
through libvirt of KVM)
Cinder -Api
(validates authtoken with
keystone Nova-compute retrieves
block storage info)
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
9. OpenStack Nova (Hypervisor /compute Support)
KVM
Hyper-V
Ubuntu | RHEL | Centos
Linux
Containers
Qemu
Nova Vmware
vCentre
UML
Xen
Baremetal
Docker
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
10. We will review these five integrations for today
Linux OS
RHEL | Ubuntu | Cent OS
Users
OpenStack
Vmware ESXi
Vmware vCentre
Hyper-V 2012
Citrix Xen Server
KVM
Ubuntu | Redhat | Cent OS
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
11. OpenStack Nova Integration with KVM Host
• You can deploy Openstack on either RHEL or CentoS or Ubuntu or Suse Linux
Nova-Compute
KVM
Nova-Compute
KVM
Linux OS
RHEL | Ubuntu | Cent OS
Compute Node- N
Horizon
Cinder Neutron
Nova Scheduler
Keystone Glance
RabbitMQ MySQL
Linux OS
RHEL | Ubuntu | Cent OS
Controller Node
Linux OS
RHEL | Ubuntu | Cent OS
Compute Node-01
Shared Storage
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
12. OpenStack Nova Integration with Citrix Xen 6.2 Host
Horizon
Cinder Neutron
Nova Scheduler
Keystone Glance
RabbitMQ MySQL
Linux OS
RHEL | Ubuntu | Cent OS
Controller Node
Shared Storage
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
13. OpenStack Nova Integration with Hyper-V Server 2012
Horizon
Cinder Neutron
Nova Scheduler
Keystone Glance
RabbitMQ MySQL
Linux OS
RHEL | Ubuntu | Cent OS
Controller Node
Shared Storage
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
14. OpenStack and Vmware ESXi Integration
Openstack Components VMware Components
Nova Compute
Nova Scheduler
Nova Compute
vmwareapi.VMwareESXDriver
vmwareapi.VMwareESXDriver
Nova Compute
vmwareapi.VMwareESXDriver
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in
15. OpenStack and Vmware vCentre 5.1 Integration
• Nova-Compute interacts with vCentre Server to Provision VM’s on ESXi Host
• Nova –Compute see a vcentre cluster as One Large Single Esxi Hypervisor
• Each cluster needs one Nova-Compute
I Speak
Chinese
Openstack Components VMware Components
Nova Compute
Nova Scheduler
vmwareapi.VMwareVCDriver
vCentre Server
Nova Compute
I Speak
Japanese
vmwareapi.VMwareVCDriver
Hey I Have
one more
cluster
You Need
one more
Nova-compute
Copyright Cloud Enabled 2014 , All rights Reserved. www.cloudenabled.in