Cloud Computing Flashcards
(22 cards)
Why use cloud computing?
It offers expertise and economies of scale that small organisations could not hope to match
What are the 5 things that make the cloud successful?
- Broad Network Access
- On-Demand, Self-Service
- Measured Service
- Rapid Elasticity
- Resource Pooling
What does Broad Network Access mean?
The cloud is widely available over standard networks
What does On-Demand Self-Service mean?
Customers can easily acquire VM/cloud access, usually on a ‘drug-dealer’ pricing model
What is the drug dealer pricing model?
- A company offers a small amount of their product for free
- Expect that they will come back and purchase more in the future
What does Measured Service mean?
The provider monitors usage for optimisation and bills exactly for usage
What does Rapid Elasticity mean?
Customers can easily add or release VMs in response to a changing demand
What does Resource Pooling mean?
Providers assign multiple VMs to physical ones, achieving multitenancy (which splits resources between VMs fairly)
What are the two phases of cloud computing? Which is the “wrong” method?
- Serverful
- Serverless
David thinks the Serverful method is the “wrong” one
What are some serverful models?
- Infrastructure-as-a-Service (IaaS)
- Platform-as-a-Service (PaaS)
- Software-as-a-Service (SaaS)
What is Infrastructure-as-a-Service?
A serverful model which gives access to bare (empty) servers
What is Platform-as-a-Service?
A serverful model which gives access to servers with operating systems and tools
What is Software-as-a-Service?
A serverful model which gives access to applications (on a subscription)
What is multitenancy? How is it implemented?
- A single instance of an application serves multiple tenants
- Implemented using virtualisation using:
1. many VMs run on a physical machine with a hypervisor
2. many containers run on a physical machine
What are the ways to implement microservices in the serverful model?
- Run a single microservice on a single VM
- Run a single microservice in a single container
What are some serverless models?
- Backend-as-a-Service (BaaS)
- Function-as-a-Service (FaaS)
What is Backend-as-a-Service?
A serverless model which gives access to backend services, so an organisation only has to maintain front-end
What is Function-as-a-Service?
A serverless model which runs custom code in response to a request
How is a serverless model implemented?
- Typically make use of “hidden” containers
- Does not mean that servers are not used, just that they do not concern the customers
What is the cost model for the serverless model?
It charges customers for execution time, on a pay-as-you-go basis
Paying for a taxi analogy
What are the ways to implement microservices in serverless?
- Mapping a single microservice to a single function instance
- Mapping a single microservice to multiple functions
Do you have to choose between speed and stability?
No: moving fast means breaking things more but fixing things faster