Chapter 1: General Knowledge Flashcards
What is GCP?
GCP is a public cloud service that offers some of the same technologies used by Google itself to deliver its own products.
What are 4 broad categories that the public cloud offers?
- Compute resources
- Storage
- Networking
- Specialised services
What is the basic unit of computing resources?
Virtual Machines
Describe a virtual machine, in terms of your access and other people’s access to it.
- Either pre configured or customised.
- I have full access to the VM. i.e. Can configure file systems, add persistent storage, patch the operating system etc.
- I decide who has access to it.
What is a cluster (of VMs)?
When you create multiple VMs. If one of the VMs fail, the workload can be directed to other VMs.
What are Managed Kubernetes Clusters?
What can you specify and what does it do for you?
- ppl can focus on their application more.
- Makes use of containers.
- Can specify the number of servers to run and the containers that run on them.
- Can specify autoscaling parameters to optimise the number of containers running.
- The health of containers is monitored for you.
What is a container?
A container is like a lightweight VM that isolates processes running in one container from processes running in other containers.
When are containers good options?
When you need to run applications that depend on multiple micro services running in your environment.
What does serverless computing mean?
Doesn’t require you to set up VMs or Kubernetes clusters.
What are the serverless computing options on GCP?
App Engine and Cloud Functions.
What is App Engine for?
for applications and containers that run for extended periods of time.
i.e. website backend, point-of-sale system, custom business application.
What is Cloud Functions for?
Platform for running code in response to an event. i.e. uploading a file or adding a message to a message queue.
Works well when you need to respond to an event by running a short process coded in function or calling some other longer-running applications.
What are the types of Storage?
- Object storage
- File storage
- Block storage
- Caches
What is Object storage for and some of its characteristics?
Highly reliable and durable storage of objects, such as images or data sets. More limited functionality than file system-based storage systems.
Each object is individually addressable, usually by URL.
Not limited by the size of disks or drives.
It is serverless, no need to create VMs and attach storage to them.
Cloud Storage.
What is file storage?
Hierarchical storage system for files.
Provides network shared file systems.
Cloud Filestore.
Suitable for applications that require operating system-like file access to files.