Containers Flashcards

1
Q

What is containerization?

A

The assembly of a portable, standalone environment for our application instance

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

Why use containers?

A
  • Enforces all the dependencies our app requires
  • Can create a standardized unit that can be deployed on many different platforms & systems
  • Instances to be quickly booted up and shut down
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the differences between VM and Containers?

A

<b>VM</b>
Runs an entire guest OS, sandboxed from the underlying host OS and uses virtualization to provide ‘virtual resources’ for it

<b>Container</b>
Shares the underlying host OS (kernel of the host OS). The container engine is run directly on the host OS

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

What are the pros of using Containers?

A
  • Efficient
  • Fast deployment
  • More portable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

App Engine is built around what type of container?

A

Docker Containers

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

What are the 2 environments offered by App Engine?

A
  • Standard

- Flexible

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

What can you do in a flexible environment?

A
  • Import your own custom runtime using a Docker deployment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the cons of using a flexible environment in App Engine?

A
  • You can’t scale down to 0 instances
  • Boot time of flexible instances is longer
  • Pricing based on compute instance characteristics instead of instance hours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Containers are in an awkward space between PaaS and IaaS. Why is that?

A

Can control dependencies (Including OS and underlying runtime)

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