[email protected]/hagimont/resources-n7/cloud/3-services.pdf · distribution...
TRANSCRIPT
![Page 2: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/2.jpg)
Some services in the cloud
● Development
● VM image creation
● Deployment
● Storage
● Administration
Services are provided to ease the management of cloud applications
![Page 3: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/3.jpg)
Development services
● Programming or integration models (PaaS)● Ex: Beantalk from AWS, web and worker role from Azure,
Roboconf● Plug-ins for IDE: deployment and test in the Cloud
● Ex: Windows Azure via Visual studio, Google App Engine via Eclipse
● REST APIs allowing to perform actions in the cloud● Ex: AWS API. Roboconf relies on these APIs
Various forms
![Page 4: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/4.jpg)
VM image creation services
● Construction and generation of custom VM images● Installation in a standard VM and save image● Customization of a minimalized OS
● Ex: Just-enough OS (JeOS)
● Unified deployment in heterogeneous clouds● Langages for describing appliances
● Ex: UshareSoft (OVF format: Open Virtual Format)● Conversion between virtualization solutions
![Page 5: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/5.jpg)
Deployment services
● Application installation (binaries)● Dynamic installation on standard VMs
● Language for describing installations● Construction of VM images
● Application configuration and launch● Centralized or distributed● Langage for describing configuration and launch
Tools like Cloudify, Roboconf provide such services
![Page 6: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/6.jpg)
Storage
● Various usages● Data used by applications
● Managed by the Cloud (ex: S3)● Managed by the user in VMs
● VM images or snapshots
● Expected properties● Durable
● Example: SLA S3 = 99,999999999 %● Privacy● Available anytime
● Example : SLA S3 = if < 99 %, pay 25 % off● Accessible from anywhere
![Page 7: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/7.jpg)
Administration services
● Tools for enabling dynamic administration
● Monitoring● Reconfiguration● Fault tolerance● Scalability● Security● Accounting
● Types of tools● consoles, dashboards, rules engines, …
Tools like Cloudify, Roboconf provide such services
![Page 8: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/8.jpg)
Replication and load-balancing
● Replication of a server on several machines● Allow to tolerate a machine failure● Allow scalability
● Load-balancing of requests between servers● Distribution according to the capacity and load of servers
● Different types of protocoles (TCP, HTTP, JDBC …)● Example: web server or database
![Page 9: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/9.jpg)
Monitoring
● Observation of runtime conditions● Detection of particular events
● Failure of an application or a VM● Overuse of a resource● Degradation of the Quality of Service● Intrusion in an application
● A set of probes in VMs● A communication infrastructure for gathering metrics● Used for triggering reconfigurations
![Page 10: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/10.jpg)
Fault tolerance
● Target application availability● Two main strategies
● Anticipation● Replication of application tiers● Some tiers are still available in case of failure
● Repair● Failure detection● Restart of the failed tier (application or VM)● Need frequent backups (replicated)
● Prevent disaster● Geo-replication
-
LB
![Page 11: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/11.jpg)
Scalability (or elasticity)● Detection of overload situations● Allocation of additional resources● Two strategies
● Allocation of additional resources to the VMs which host the application (vertical scaling)
● More memory or CPU● Creation of a new tier (VM and application) (horizontal
scaling)● Load-balancer based structure
horizontal scaling vertical scaling
![Page 12: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/12.jpg)
Few characteristics
● Architecture
node
agent
appli
node
agent
appli
node
agent
appli
node
agent
appli
Orchestratorpolicy
wrapper
![Page 13: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/13.jpg)
Few characteristics
● Orchestration language● Description of wrappers
● Actions on applications (effectors)● Observations on applications (sensors)
● Description of policies● Applications to install/deploy● Reconfiguration rules
● Control loops (sensor → decision → effector)
![Page 14: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/14.jpg)
Example: self-optimizing
● Experiment with Jade (research prototype) 15 years ago
...proxy
DB
DB
DB
DB
![Page 15: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/15.jpg)
Example: self-optimizing● Dynamic dimensioning on MySQL
![Page 16: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/16.jpg)
Example: self-optimizing● Dynamic dimensioning on Tomcat
![Page 17: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/17.jpg)
Products
● Fabric, Cuisine, Chef, Crowbar, Puppet, Pallet, Juju, Ansible, (R)?ex, SaltStack, Distelli, CFEngine, Foreman, Commando, Rundeck, Bcfg2, Glu, Pontus Vision, Tstconfig, Dell Cloud Manager, AutoMate, Cloudify, CA Technologies Automation, Cisco Prime Cloud Automation, Qualys, BladeLogic Automation Passport, Cobbler, Sprinkle, Cirba, Mist.io, Scalr, Rdist, HP Cloud Service Automation, ServiceNow, Appcore Cloud Management, Citrix CloudPortal Business Manager, ManageEngine Applications Manager, DivvyCloud, …
● https://blog.profitbricks.com/48-best-cloud-tools-for-infrastructure-automation/
![Page 18: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/18.jpg)
Products
● Very popular● Chef
● https://www.chef.io/● Puppet
● https://puppet.com/● Ansible
● https://www.ansible.com/● Low level, install/deployment, not dynamic
● Advanced (dynamic)● Cloudify
● http://getcloudify.org/● Roboconf
● http://roboconf.net/
![Page 19: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/19.jpg)
Examples of public clouds
App Engine
![Page 20: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/20.jpg)
AWS (IaaS/PaaS/SaaS)
● Initially created to exploit (sell) unused resources in Amazon’s infrastructure
● Public cloud platform● Initially a IaaS● Propose currently a PaaS and a SaaS
● Objectives● Provides a web portal where you can buy different types of
resources with different sizes
![Page 21: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/21.jpg)
AWS (IaaS/PaaS/SaaS)
![Page 22: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/22.jpg)
AWS (IaaS/PaaS/SaaS)
● Amazon’s IaaS● Spread over several continents: America, Europe, Asia● Virtualized
● The para-virtualized version of Xen, but switch to KVM
● 750 hours for free when you create an account● Several types of VMs (14)● Pay as you go, but also spot VMs● Marketplace for custom VMs● Libraries for developers
Amazon EC2 (IaaS)
![Page 23: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/23.jpg)
AWS (IaaS/PaaS/SaaS)
● Rapid deployment of web applications● Automatic management
● Load-balancing● Auto-scaling (horizontal scalability)
Beanstalk (PaaS)
![Page 24: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/24.jpg)
Windows Azure (IaaS/PaaS/SaaS)
● Services● IaaS
● Instantiation of VMs (including Linux)● PaaS (core business)
● Construction web n-tiers applications (.Net, ASP, PHP)● Life cycle management (load balancing, scalability, fault tolerance ...)
● SaaS ● Microsoft Dynamic CRM (Office, Xbox, etc.)
● Storage service● DB, CDN, etc.● Datacenters spread in Europe, USA and Asia
![Page 25: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/25.jpg)
GoogleApp Engine (GAE) (PaaS)
● Google’s PaaS for the construction of web applications● Application fully managed● Load balancing, scalability
● Host applications such as Google sites, calendar, gmail, etc● Many services for applications’ developers
● URL Fetch – search of web services● Images – Treatment of images: dimensioning, rotation, etc.● Mail● Datastore – small data storage● …
● SDK and eclipse plugin (development and deployment)● The application does not see the underlying infrastructure
Google App Engine
![Page 26: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/26.jpg)
Examples of systems for private clouds
● OpenNebula● From the Reservoir european project (Madrid complutense
university)● Opensource, available for Linux distributions● Allow building and managing a IaaS● Used by several industrial groups
● ESA, Telefonica, China Mobile, etc.● Help the management of hybrid clouds● Support several virtualization technologies
● Xen, KVM, Vmware● Different types of communication interfaces● Security enforced by authentication and access rights● Manage VMs’ fault tolerance
![Page 27: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/27.jpg)
Examples of systems for private clouds
● OpenStack● Managed by Rackspace (a public cloud provider)● Open source, available for Linux distributions● Allow building and managing both public and private cloud
platforms (many fonctionnalities)● The most widespread
● Used by: Rackspace, Cloudwatt, CERN, etc.● Well suited for large scale infrastructures
● High overhead for a small platform● Support several virtualization technologies● Provides a much advanced administration interface● Requires high expertise to adapt its components
![Page 28: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/28.jpg)
Comparison of IaaS management systems
VMware vCloud Suite
CloudStack OpenStack OpenNebula
OpenSource No Yes Yes Yes
Architecture Centralized Centralized Decentralized Centralized
Scalability Yes Medium Yes No
Installation Require an expertise
Medium Require an expertise
Easy
Types of hypervisors
A single Several Several Several
Administration interface
Very sophisticated
Medium Sophisticated Simple
Interoperability with Amazon
No Yes Yes Yes
Security Advanced Advanced Medium Simple
VMs management
Much Advanced
Advanced Much advanced Medium
![Page 29: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/29.jpg)
One of the main challenges in the cloud
Consolidation for optimized resource management
![Page 30: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/30.jpg)
Server consolidation: motivations
● Resource usage is highly variable
● Average VMs’ CPU load in a Eolas cluster ● Observation over 4 months● 805 VMs consolidated on 66 PMs● Less than 10 % despites consolidation
![Page 31: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/31.jpg)
Server consolidation: motivations
● Resource usage is highly variable● In VMs● Unused resources are making holes in physical machines
● The cloud platform is highly dynamic● Creation and destruction of VMs● Destructions create holes in physical machines
![Page 32: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/32.jpg)
Consolidation
S2
S1
S4
S3
S5S1 S4
S5
de-allocation of services S2 and S3
consolidation
S1
S4
S5
off off
![Page 33: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/33.jpg)
Consolidation
● Role of the consolidator● Compute a consolidation plan which minimize the number of
used PMs● Execute the plan (automatically or after validation by an
administrator)● Suspend empty PMs
● Live VM migration● Displacement of VMs between Pms without service
interruption in the VM● Has an impact on performance of
● Migrated VMs● VMs on PMs involed in the migration● One of the challenges is to minimize this impact
![Page 34: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/34.jpg)
Consolidation
● Consolidation is a NP-Complete problem● Hints
● When to consolidate ?● Prediction
● A learning phase to define a prediction model● Refinement of the model at runtime
● Planification● Consolidation periods are known in advance
● On the fly● Consolidation relies on runtime monitoring
● How to consolidate ?● Heuristics. Ex: DRS/DPM from VMware● Constraints solver. Ex: Entropy
![Page 35: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/35.jpg)
Optimization: ballooning
Hypervizor
0 X N-1
One VM One VMOne VM
One VM
State of the physical machine memory
1Go
1Go
● A VM with 2Gb must be started. Cannot fit in the free space● Another VM has free (or weakly used) memory● How to reclaim and use this memory (without extensive VM modifications)
Problem
![Page 36: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/36.jpg)
Optimization: ballooning
Hypervizor
0 X N-1
One VM One VMOne VM
Une VM
1Go
● A balloon driver is installed in each VM● The hypervizor can inflate the balloon in order to reclaim memory● It may force some pages to swap
Solution
balloon
Inflate by 1Go
1Go
State of the physical machine memory
![Page 37: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/37.jpg)
Jobs in the cloud domain
● Build a cloud platform such as Amazon● Should win to the lotery :)
● Implement tools for cloud users● Deployment tools● Administration tools
● Be a reseller● PaaS or SaaS specialized for a specific domain
● Install (for clients) custom private cloud solutions● Instructor for client companies● Cloud application administrator for a company or for a cloud provider● Work for virtualization systems providers
● VMware, Citrix (Xen), Microsoft (hyper-V), etc.
● Researcher● Issues about energy consumption● Issues about QoS management● Security issues● Etc.
![Page 38: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/38.jpg)
OpenStack Cloud
● What is OpenStack ?
« OpenStack is an infrastructure as a Service which is know as a Cloud Operating System, that Takes resources such as compute, storage, network, virtualization technologies and
controls those resources at a data center level »
![Page 39: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/39.jpg)
OpenStack Cloud
● At the beginning
![Page 40: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/40.jpg)
OpenStack Cloud
![Page 41: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/41.jpg)
OpenStack Cloud
![Page 42: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/42.jpg)
OpenStack Cloud
![Page 43: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/43.jpg)
OpenStack Cloud
![Page 44: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/44.jpg)
OpenStack Cloud
![Page 45: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/45.jpg)
OpenStack Cloud
![Page 46: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/46.jpg)
OpenStack Cloud
![Page 47: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/47.jpg)
OpenStack Cloud
![Page 48: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/48.jpg)
OpenStack Cloud
![Page 49: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/49.jpg)
OpenStack Cloud
![Page 50: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/50.jpg)
OpenStack Cloud
![Page 51: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/51.jpg)
OpenStack Cloud
![Page 52: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/52.jpg)
OpenStack Cloud
● VM provisionning● Is the most common and complex process in OpenStack● Involves interaction with most of OpenStack components
![Page 53: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/53.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
![Page 54: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/54.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
![Page 55: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/55.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
![Page 56: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/56.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
![Page 57: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/57.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
![Page 58: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/58.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
![Page 59: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/59.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
![Page 60: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/60.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
![Page 61: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/61.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Nova-Compute(requests info from Glance-api)
![Page 62: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/62.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
![Page 63: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/63.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
Nova-Compute(using url, it Copies image
from Glance repository)
![Page 64: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/64.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
Nova-Compute(using url, it Copies image
from Glance repository)
Neutron Server(Nova-compute interacts with
network api and get network infofor instance )
![Page 65: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/65.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
Nova-Compute(using url, it Copies image
from Glance repository)
Neutron Server(Nova-compute interacts with
network api and get network infofor instance )
Nova-Compute(Performs Rest API call to cinder to attach volume to
instance )
![Page 66: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/66.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
Nova-Compute(using url, it Copies image
from Glance repository)
Neutron Server(Nova-compute interacts with
network api and get network infofor instance )
Cinder-Api(validates authoken with keystone
Nova-compute retrieves blockstorage info)
Nova-Compute(Performs Rest API call to cinder to attach volume to
instance )
![Page 67: hagimont@enseeihtsd-127206.dedibox.fr/hagimont/resources-N7/cloud/3-services.pdf · Distribution according to the capacity and load of servers Different types of protocoles (TCP,](https://reader034.vdocuments.site/reader034/viewer/2022042201/5ea1c62554ed5e41af46ce3c/html5/thumbnails/67.jpg)
OpenStack CloudUser
Horizon(user clicks on launch
Instance on Dashboard)
Keystone(Authenticates,
Generates auth-token)
Horizon(Send REST API request to
Nova-api to launch instance)
Nova-Api(sends auth token for validation
to keystone and makes DBentry for new instance)
Nova-Scheduler(receive request from Nova-apiinteract with Nova DB to decide
on which host to run VM)
Nova-Scheduler(sends VM creation request toselected Nova-compute host
via rpc.call)
Nova-Compute(picks un request from queue and send to Nova-conductor)
Nova-Conductor(provides HostID ans flabor and return the info to Nova compute)
Glance-Api(Provides Image URL to nova-
compute)
Nova-Compute(requests info from Glance-api)
Nova-Compute(using url, it Copies image
from Glance repository)
Neutron Server(Nova-compute interacts with
network api and get network infofor instance )
Cinder-Api(validates authoken with keystone
Nova-compute retrieves blockstorage info)
Nova-Compute(VM creation on Hypervisor
through libvirt of KVM)
Nova-Compute(Performs Rest API call to cinder to attach volume to
instance )