2. What is Cloud?
A metaphor for the
Internet.
Computing as an
electricity.
3. Cloud Computing Benefits...
Three of main benefits of cloud computing
include:
• Self-service provisioning
• Elasticity
• Pay per use
Cloud computing services can be...
Private
Public
Hybrid
4. What is OpenStack?
Cloud computing project to provide an IaaS.
Open source software for creating private and public clouds.
Cloud Software to control large pools of computing resources through a
dashboard or via the OpenStack API.
5. Who are all Involved?
Founded by rackspace and NASA in 2010.
Now managed by the openstack foundation established in
2012.
What is cloud computing?
What is cloud really mean?
cloud represents nothing but internet! Actually we could call this as an internet computing!
So let's define what is internet computing?
The practice of using a network of remote servers hosted on the Internet to store, manage, and process data called cloud computing.
Also we can say process of consuming computing as an electricity like we don’t produce electricity in our house. we just consume and pay for it.
So what will be the benefits we can get in cloud computing?
The 3 main benefits would be self-service provisioning, elasticity, Pay-per-use.
Self service provisioning means you don’t require any one from the provider side to launch the instance for you. You get into your account & manage the resource as you like.
elasticity means you could expand or sink you resource as you per need. when you are in demand to have more Vms so you can easily create & when the demand over you could delete it.
Pay-per-use: So obviously you going to pay what you used. like postpaid mobile bill.
Cloud computing service can be public, private,or hybrid.
Now what is openstack?
We can define it in 3 ways.
one, a cloud computing project to provide IAAS - i.e., Infrastructure-as-a-service.
two, An open source software to create private and public cloud.
three, A cloud software to manage large pools of computing resources through dashboard or it’s openstack API.
Who are all involved in openstack?
Yes, off-course we all involved! but who are the big shots?
Initially openstack was started by NASA and Rackspace in 2010.
Now at present it is managed by openstack foundation which is established in 2012
Now openstack grows like linux of cloud which has 30k people and more than 500 companies involved.
Notably, Openstack is structured with more than 20M codes.
ooops… very clear diagram…
Now,I believe everyone could understand openstack bit complex system:-)
So let me walk through the process in step by step..
User going to login
Credentials is sent to keystone for verification
Generate a token for user access which will be valid for next one hour
User sending launch VM request with parameters include.
like flavour, image, name.
This information will reach the NOVA API
Nova will check the token received with the request whether this user is authorise to launch VM or not.
Keystone will check and verify the details. then pass the verification saying user is authorized to launch the vM
then nova api will talk to nova database for creating a new entry about the VM in DB
after the successful DB entry, nova api send the api call asking nava scheduler to select the appropriate host for the new VM
This is how filtering happens. In the available 6 compute node filter will select which one has free space available in respective to the RAM, vCPU and HDD. then it will chose the best among the one and scheduled for VM creation.
Then the selected compute node is updated in the DB.
Scheduler send VM creation request to nova compute node which was filtered by the scheduler.
Nova compute will tell the hypervisor to create new VM with the given parameters through the hypervisor supported api.
Hypervisor will talk to glance service for the image mentioned in the parameter and copy it to the compute node. The VM will be created using that image.
Nova network will take care of providing the IP to the VM.
The IP details will get updated in the DB again.
Nova compute talks to cinder service if any parameters is defined for adding additional HDD to the VM. Then cinder will create a new HDD and map it to the VM.
After this steps VM creation is completed and the horizon will poll the database for the VM status and will display as VM is active.