Week 7 Flashcards

(21 cards)

1
Q

What is the role of a staging environment for an MVP of a new product?

A

The MVP will run in a staging environment ON THE CLOUD, where stakeholders can see it working in a scaled-down replica of the production environment.

Many enterprises do not own the infrastructure for this but rent it in the cloud.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does cloud architecture provide?

A

Broad network access
On-demand, self-service
Measured service,
Rapid elasticity
Resource pooling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain ‘Broad network access’

A

The cloud is available over standard networks including VPNs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain ‘On-demand, self-service’

A

Customers can easily acquire VMs, on a ‘drug dealer’ pricing model. (free trial first!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain ‘Measured service’

A

The provider monitors and measures usage for optimization and billing purposes. You pay for what you use. No wasted funds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain ‘Rapid elasticity’

A

Customers can easily acquire or release virtual machines in response to changing demand. Scale up easily (i.e. for black friday rush) or scale down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain ‘Resource pooling’

A

Providers assign VMs to physical ones, so achieving multitenancy. We can move customers between computers to turn off idle machines and unused racks. Run all machines to max capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does cloud computer offer more assurance than on-premises computing?

A

Staffed by top people
Built with the best kit
Hardened by continual hacking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two phases of cloud?

A

Serverful and serverless computing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the serverful models?

A

IAAS - access to bare servers
PAAS - access to servers with OS and tools
SAAS - access to apps on a subscription basis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the serverful implementation?

A

Multi-tenancy implemented by virtualisation, using
VMs
Containers
Orchestration and version control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does a VM work?

A

A number of VMs run on a physical machine sharing a hypervisor which maps virtual resources to physical ones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a container?

A

Self-contained unit that shares a kernel with other containers. Starts very fast. OS maps container resources to physical ones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the serverful cost model?

A

Customers are charged for resource allocation on a rental basis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why dont we implement microservices on single virtual machines?

A

Costs a lot to spin up a whole VM for a microservice and is slow. However it is secure. We use containers instead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why do we implement microservices in a container?

A

Much faster, cheaper, but if a microservice crashes the kernel they all go down.

17
Q

What are the serverless models?

A

Backend as a service - giving access to services such as authentication or db
Function as a service - runs custom code in response to requests or events

18
Q

What does ‘serverless’ actually mean

A

It doesnt mean servers arent use but rather that one leaves most of the operational concerns to the provider.

19
Q

How does serverless charge?

A

Charge per function application! Pay as you go basis.

20
Q

How do we implement microservices in serverless?

A

Map a single microservice instance to a single function instance

May lead to maintenance problems (keep track of instances) and performance problems

21
Q

What is an API gateway used for?

A

An API gateway acts as a proxy through which HTTP requests and responses are used to make function calls and to return function results.