Notes
IaaS and PaaS
- IaaS delivers on-demand infrastructure resources vis the cloud, it provide raw compute, storage, and network capabilities, organized virtually into resources that are similar to physical data centers.
- Compute Engine is an example of a Google Cloud IaaS service
- Pay for what they allocate
- PaaS delivers and manages all the hardware and software through the cloud, it bind code to libraries that provide access to the infrasctructure application needs
- App Engine is an example of a Google Cloud PaaS service
- Pay for what they use
Resources Hierarchies (4 levels):
- Resoruces
- IDs are immutable, names are mutable, project number is for Google Cloud's use
- Projects
- can contain subfolders
- Folders
- can group projects on a per-department basis
- Organization Node
Policies are defined at the project, folder, and organization node levels. Policies are inherited downwards
IAM roles
- Basic IAM role
- Owner, Viewer, Editor, Billing Admin
- Predefined IAM role
- Custom IAM role
Compute Engine Pricing
- Sustained-use (discount starts after 25% of a month)
- committed-use (57% discount)
- preemptible & spot VMs (jobs can be terminated and rescheduled by cloud. can save up to 90%)
Compute Engine Storage Options
- Zonal persistent disk
- Regional presistent disk
- Local SSD: high performance, transient
- Cloud storage buckets
- filestore: high performance file storage
VPCs have built-in routing tables
VPCs do not require a firewall to be provisioned