1Cloud-Native
Building applications designed to take advantage of cloud services, scalability, and automation
2What is serverless
It's a computing model where the cloud provider manages the underlying servers and scaling so developers can focus on their applications
3Cloud Shell
A browser linux terminal used to develop, deploy, manage and test Google Cloud resources
4What is IAM?
A system that control whos can access cloud resources and what they're allowed to do
56. Authentication
The process of verifying who someone or something claims to be.
67. Authorization
The process of determining what an authenticated identity is permitted to do.
7What is a principal
An identity, such as a user or service account, that can be granted IAM permissions
8What is a service account
A non-human cloud identity that applications and workloads can use to access reosurces
9What is an IAM role
A collection of permissions granted to an identity on a resource, such as roles/run.invoker.
10What is least privilege
Giving an identity the least amounf of permissions to do their role
11What was the Application A -- Node.js clients role?
To send an HTTP request
12What was the cloud run functions purpose?
Return Hello World when an authorized caller invokes it
13What is ADC and what purpose does it provide
It's a credentials discovery mechanism and its how Google Authentication library finds the credentials that are available to the application
14Q: Why could my Node.js application access Google credentials?
Because it ran in the same Cloud Shell environment where I had previously saved credentials using ADC, allowing Google's authentication library to discover and use them.
15What were we trying to accomplish in Scenario 3
We wanted to build Javascript application that could call our protected Cloud run function without us manually generating and attaching an ID token every time.
16What did my javascript code do ?
Used google's authentication environment to find what credentials are available in my environment
Prepared a client that can obtain an ID token meant speficifally for my cloud run function
Sent an HTTP request to my function automatically obtaining and attaching the ID token
17Give me 4 real world use cases of IAM
Two different services communicating, backend communicating with private API's, automated taks, external communications
18What does an IAM policy do? How can we configure them?
It connects an identity to a role on a resource
We configure them through the google cloud sources
19What are roles applied to?
resources
20What is an IAM policy checking?
It checks whether the identity making the request has been given permission to perform that specific action that specific reource
21What location does The IAM check after receicing an authenticated request, where does it cross-check it with
it checks the resources access policy and cross checks it with