Wk 7 Cloud Computing And Wk 8 Testing In Production Flashcards
Serverful model
- IaaS : infrastructure as a service
- Paas : platform as a service
- Saas : software as a service
Iaas
Cloud provider gives access to bare servers
Paas
Provider gives access to servers with operating systems and tools
Saas
Provider gives access to applications on a subscription bases
Severful implementation
Makes use of multi tenancy by virtualization using :
- Virtual machines
- Containers
- orchestration and version control
Virtual machine multi tenancy :
A Number of virtual machines VM⁰…VMN may be run on a physical machine by a hypervisor
Fine for sharing performance but not good for sharing network
What is a hypervisor?
Maps virtual resources to physical ones ensuring they are shared fairly
Why would you want to move a virtual machine between physical ones ?
So you may shut a physical one down.
Disadvantages of virtual machines
Virtual machines are heavy and inconvenient for small computations.
Containers
Many containers may run on a physical machine. Each container does not have a kernel and rater it has the same operating system as the kernel of the physical machine.
The physical machine’s operating system maps the resources to the containers ensuring fairness.
Pro and cons of containers
Pro faster than VMs
Con if the kernel crashes all the containers crash with it
Serverful cost model
Charges resource allocation on a rental bases
Serveful microservice potential implementations:
- one service per virtual machine
- one service per container
Serverful : one service per virtual machine
- expensive as you would have many machines🫰🫰🫰
- issues with one machine would not affect other machines
Serverful: one service per container
- fast
- cheaper
- if server crashes so do all other containers
Serverless computing:
As a user you don’t have to worry about operational concerns.( Servers are still used )
Models :
- Baas
- Faas
Baas : Backend as a service
Cloud provider gives access to a service such as authentication or database storage.