L15 - Cloud Computing 1 (Part 3: Operations) Flashcards

1
Q

What is meant by Staging Environment?

A
  • Environment where a version of the software is run before being moved to end users (production)
  • Company stakeholders can give feedback on product in the staging environment before moving to production.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meant by Staging in the Cloud?

A

Many companies don’t own their own staging environment, but rather rent it in the cloud. This is cheaper, more flexible, and more scalable.

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

What are the benefits of staging in the cloud?

A
  • Cheaper
  • Flexible
  • More scalable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 5 benefits of using Cloud Computing? Define each…

A

Broad Network Access:
- Cloud is accessible across a variety of networks from any location.
- Networks are faster and more reliable than they used to be, so cloud is almost always accessible regardless of where you are.

On demand, self service:
- Cloud architecture means that anyone can acquire Virtual Machines and start interacting with or working in the cloud.

Measure service:
- Only pay for what you use
- Providers monitor usage and billed accordingly

Rapid elasticity:
- Cloud architecture enables scaling dynamically and rapidly depending on business requirements.
- This caters for uncertain demand of companies in current companies, and their often requirement to scale very fast. Especially with start-ups.

Resource pooling:
- Providers assign virtual machines to physical ones.
- Enables software multi-tenancy to be achieved.

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

Define Software Multi-tenancy…

A

Cloud architecture in which a single software running in the cloud serves multiple clients at once.

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

What is Serverful Computing?

A

Cloud provider provisions users with physical or virtual servers to manage in the cloud

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

What is Serverless Computing?

A

Cloud computing architecture where cloud providers provide users to compute in the cloud through cloud based servers, VM’s and containers.

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

What are the 3 models of Serverful Computing?

A

IaaS → Cloud provider gives access to bare servers.

PaaS → Cloud provider gives access to servers with operating systems and tools.

SaaS → Cloud provider gives access to applications on a subscription basis.

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

What are the implementations used in Serverful Computing? Give pros and cons of each…

A
  • Virtual Machines:
    • Pro: Enables multi customers to run VM’s on one physical device, enable greater scalability.
    • Con: Deploying is long and computationally expensive since need to boot OS for each one.
  • Containers:
    • Run on shared kernel
    • Pro: Much cheaper than VM’s. More lightweight.
    • Con: Have to cluster users by OS. No isolation means central point of failure. If things go wrong, it can be very bad.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Cost Model of Serverful Computing?

A
  • Rent VM’s for a period of time
  • You are responsible for loading up software and using it as you wish.
  • Comparable to renting a car
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In Serverful Computing, is a Microservice Implementation more expensive on VM’s or Containers?

A
  • VM’s are expensive.
  • Containers are cheaper and more efficient.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the models of Serverless Computing?

A

BaaS → Cloud provider gives access to features such as authentication and databases

FaaS → Cloud provider runs functions in response to requests and events

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

In the context of Serverless Computing, what does Serverless mean?

A

Refers to not the absence of servers, but rather to the fact that operation concerns are left for the cloud provider to deal with.

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

Explain the implementation of Serverless Computing…

A

Typically makes use of hidden containers to run custom code.

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

What is the cost model of serverless computing?

A

Charges customers for execution time on a pay-as-you-go basis.

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

What are the methods of implementing a microservice architecture using serverless computing?

A

Method 1 → Map a single microservice to a single function instance in the cloud

Method 2 → Map a single microservice instance to multiple function instances in the cloud

17
Q

What issues may occur when implementing a microservice architecture using serverless computing?

A
  • Maintenance problems → Keeping track of instances
  • Performance problems → Keeping warm instances