Virtual machines vs Containers Flashcards

1
Q

Define virtualisation

A

The process of presenting a system resource as multiple resources.

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

What do VM’s and Containers virtualise?

A

VMs virtualise entire system stacks down to the hardware level.

Containers virtualise software from the OS and above.

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

What is a container?

A

Containers are lightweight software packages holding software at the OS level and above.

Multiple containers can be hosted on the same physical machine.

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

What are the pros and cons of using Containers?

A

Pros:
- Speed
- Lightweight
- Pre-made containers for rapid set-up
- Microservice compatibility

Cons:
- Shared hosting system. If issue effects hardware all client containers are effected.

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

What is a VM?

A

A VM is an entire computation system shipped as software that a client can use.

Virtualisation of an entire system.

VMs are barebones systems and can be reconfigured at low levels as per the client need.

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

What are pros and cons of VMs?

A

Pros:
- Each VM is independent from one another at the OS level, as opposed to containers that share a host OS.
- Great customisation due to barebones system being delivered.

Cons:
- Being a full system stack reduces speed
- Large VMs take up memory on hosting machine.
- More complicated set-up

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