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
- firewall rules can be assigned to a tag, all servers with that tag will be affected
VPC Peering: a relationship betweeon two VPCs can be established to exchange traffic, this basically means VPCs can use internal IP addresses to communicate with each other, even when they're not in the same subnetwork
Load Balancing Options:
- Global HTTP(S)
- Global SSL Proxy
- Global TCP Proxy
- Regional
- Regional Internal
- Internal HTTP(S)
Cloud Storage Classes, auto class automatically transitions objects to appropriate storage classes.
- Standard Storage
- Nearline Storage: once per month
- Coldline Storage: at most once every 90 days
- Archive Storage: at most once every year, and minimum 1 year storage duration
Storage Options:
- Cloud Storage
- Cloud Bigtable
- Cloud SQL
- Cloud Spanner
- Firestore
