No video

Service Accounts in Google Cloud - IAM in GCP.

  Рет қаралды 52,846

Cloud Advocate

Cloud Advocate

Күн бұрын

Пікірлер: 119
@Afdac247
@Afdac247 4 жыл бұрын
For people to find this Better you should use "using Google apis with your external app" this will save a lot of people time I had no idea what a service account is until I had to dig in the docs
@lizamiller5561
@lizamiller5561 3 жыл бұрын
Oh my god. I love you . Hands down the great explanation . I was struggling a lot with this concept , please make more videos .
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Thank you 😊
@vamsikrishnag1417
@vamsikrishnag1417 2 жыл бұрын
This video helped me a lot to learn in-depth of service account. Thanks GK.
@jagdishbelapure7521
@jagdishbelapure7521 4 жыл бұрын
I tried multiple online courses (Udemy, LA, coursera ..etc) on GCP ACE, but this is far better than any other course/content, thank you so much !! :)
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thank you Jagdish!! I appreciate it.
@AniruddhaSinharokzzz
@AniruddhaSinharokzzz 4 жыл бұрын
You explained things in a very composed way keeping best practices in mind!
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thanks mate.
@adamtechdays
@adamtechdays 2 жыл бұрын
thank you sir, you have clarified service accounts clearly here!
@bhattbhavesh91
@bhattbhavesh91 3 жыл бұрын
Thank you :) Very well explained :)
@thatisrikanth7524
@thatisrikanth7524 4 жыл бұрын
Thanks GK, I cleared my doubt by watching your video, its clear, In aws it does not have all this scrap it has neat way like IAM role policy and the group thats it here in gcp it has lot of confusion things
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
True Srikanth, I completely agree with you. IAM in AWS is very strong it is partly because the way AWS account structure is organized. GCP tackles it in a different way, it expects the segregation happens at Org, folder and project level...may be thats why IAM stuff is very limited.
@pratikbhandari5649
@pratikbhandari5649 4 жыл бұрын
Very clean and perfect demo.. thanks alot.. you saved my day
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
You're welcome!
@abhilashshetty4840
@abhilashshetty4840 4 жыл бұрын
Thank you for this GK.. Great lecture and keep the rhythm on to inspire others.. we need More classes 🙂
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thank you, I will
@comradeiyer1898
@comradeiyer1898 4 жыл бұрын
Great demo. Simple and structured presentation.
@easy-waytolearn4118
@easy-waytolearn4118 4 жыл бұрын
Thank you very much, very simple and nice explanation, easy to understand. Please make more videos on gcp.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thank you, I will
@Summersolt
@Summersolt 3 ай бұрын
Thanks for this. How do we modify the role of an existing service account?
@SowjiSreeni
@SowjiSreeni 6 ай бұрын
Thanks! you may missed to add scenario of "edit the instance and add or update service account"?
@ravivenkatatejamucharla1802
@ravivenkatatejamucharla1802 3 жыл бұрын
Excellent demo..kudos to you
@Mem-qv7fh
@Mem-qv7fh 7 ай бұрын
Very good explaination thanks a lot
@subesingh7285
@subesingh7285 4 жыл бұрын
very good explanation and demo. Thanks!
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
You are welcome!
@faisalraj6654
@faisalraj6654 2 жыл бұрын
For instance 4, I did not see you creating SSH key or are you using public Key that you have defined in META DATA in previous video?. Is the public key defined in the Meta Data is at the Project level? Meaning, all the VM that are being created within the project uses this Meta data key?
@omkarnadkarni4765
@omkarnadkarni4765 3 жыл бұрын
Thank you for the nice explanation
@hakhandare
@hakhandare 3 жыл бұрын
Good explanation, Thanks!!!
@kenguie
@kenguie 3 жыл бұрын
This is the first video I have seen from you. I really like your cadence and your clarity. Question - I am a frontend (some backend) dev and I need to learn Google Cloud and Big Query well. Most likely before the end of the year. What can I do to learn both topics in the most efficient way possible? Not for a google exam but for working with our data scientist and outside services? (Which is why i was looking for videos on service accounts) - Probably too broad a question, any insight and guidance is appreciated, thanks!
@meuko
@meuko Жыл бұрын
It's been a year, but I guess for other people reading your comment; the best way of learning is doing it (duh, hear me out), and specifically looking for resources that explain it well. Truth be told, I don't really learn well with the google docs, usually too vague. Not many people take the opportunity to make use of the free 300 bucks google-cloud credits, claim it and just go to town with the services. If you're a visual learner, use videos to guide you on whatever topic it is that you're dealing with at that moment. For me personally, I learn best from reading, so I just downloaded a bunch of PDF books on docker/ kubernetes/ terraform etc. and just used their google-cloud section as a reference. Some books have great diagrams/ illustrations to drive the point home. There are a few books which I have besides my desktop which I always use for reference. Try and find your reference books. Also) funny that you mention, but there are also specifically books and pamplets for people studying for the google cloud operator exams, one I used in the past, just to get my projects up and running is "Official Google Cloud Certified Professional Cloud Architect Study Guide" by Dan Sullivan. All in all, if you're not applying what you've read, you'll literally forget it within the hour, you have to apply this knowledge.
@itgurukul
@itgurukul Жыл бұрын
🙏🙏🙏 You are super
@harish5308
@harish5308 2 жыл бұрын
Awesome video, 👌
@TradingGuide
@TradingGuide 4 жыл бұрын
Thank you, great demo.
@vishal24121
@vishal24121 4 жыл бұрын
Very nicely explained
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thanks Vishal.
@gcpchannelforbegineers7080
@gcpchannelforbegineers7080 3 жыл бұрын
Sir I have one doubt. You have created one service account and that has role of storage object viewer and creater role. Later you assigned this SVC while creation of VM. My concern while copying the files why it is getting error bcoz already we give the roles of it. I'm thinking that storage object creater role means makes a bucket , copy a bucket and etc. Can you explain plz?
@Hummingbird314
@Hummingbird314 3 жыл бұрын
Can you put a demo on using Workload Identity, which is the recommended way of accessing Google Cloud APIs from pods, instead of service accounts?
@SaiDileepfantasy
@SaiDileepfantasy 2 жыл бұрын
You created service account but you did not login with it to compute instance, may I know why?
@vaishalism
@vaishalism 3 жыл бұрын
Really great content ..thank u so much..I have one query..I want to do certification in associate cloud engineer for gcp..can u guide me about how to prepare for the same..thanks
@mukhtarali9476
@mukhtarali9476 4 жыл бұрын
Thanks you for this video
@aka251277
@aka251277 3 жыл бұрын
Thank you . This is good info. Can a default service account of a VM can create a storage object by default? Usually a default service account will have a project editor role right? In that case, it should have the permission to create the object by default correct ?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Actually default service account of VM shouldn't have project editor if I remember correctly..it has object permissions but you can change that while creating the VM or even later.
@shashankraj800
@shashankraj800 3 жыл бұрын
Hi, Can we use google service account to implement/use google maps APIs. If yes, please suggest how to do or provide a reference link. Thanks...
@debasishsaha3235
@debasishsaha3235 3 жыл бұрын
Thank you for the video. I just got a query, you associated service account named "demoaccount" on the instance-4 but you logged in as "gkrishna25" into same. Does it mean the roles associated with the service account distributed as instance level as well?
@satelliteinc.6767
@satelliteinc.6767 3 жыл бұрын
Wait, why aren't you allowed to create a bucket? I thought you defined the service account as GS Object Creator?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Yes coz you need bucket creator for that.
@sohamdhodapkar2813
@sohamdhodapkar2813 3 жыл бұрын
Hey GK, awesome content! I have my exam next week and your videos are really helpful. Do you have similar notes for all the other chapters too? They can go a long way when doing revisions. Thanks!
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Hi Soham, I recommend going through my learn gcp Playlist.
@praveshtiwari6449
@praveshtiwari6449 4 жыл бұрын
I am trying to deploy a software using kubernetes. everything went well ...but when i am trying to access it . it's showing "default backend - 404" in browser.
@jayapalreddyvanam5623
@jayapalreddyvanam5623 3 жыл бұрын
Hi GK Thanks for the great work you are doing. Could you please help to explain how can we provide privileges to a service account for a particular period of time .
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
I am not sure actually you can do that directly. You might want to use vault or other services to control that. Or you might want to write custom automation to control that.
@joeb.1163
@joeb.1163 4 жыл бұрын
Thank you very much.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
You are welcome!
@johnflowers4487
@johnflowers4487 4 жыл бұрын
Hello! First off, thank you for the informative video. Is there a permission to overwrite existing objects in a storage bucket (without giving full storage permission)? For example, I'm writing a script that will pull from an API and save it to a google cloud storage bucket and it would be helpful if i could overwrite the same file each time. Tried googling and am a bit new to GCP - sorry for the simplistic question.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Hi John, for this operation I guess you can just use storage.objects.create and try it out.
@johnflowers4487
@johnflowers4487 4 жыл бұрын
@@CloudAdvocate Will do, thank you
@mohammedmustafaali1049
@mohammedmustafaali1049 3 жыл бұрын
very lovely videos, thanks very much. what is meant by the scope in 14:42?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Access scopes define the default OAuth scopes for requests made through the client libraries and gcloud.
@anandharajrangasamyigcb6137
@anandharajrangasamyigcb6137 2 жыл бұрын
Hi GK, How to add scope to existing GKE nodes. Please share your input thank you.
@eshanikabhattacharjee383
@eshanikabhattacharjee383 3 жыл бұрын
from where do i get the service accouut credentials?
@balamungala8975
@balamungala8975 4 жыл бұрын
i need your help to install php app and connect to mysql on google cloud.
@hakhandare
@hakhandare 3 жыл бұрын
What happens when we enable scope for Cloud Sql in vm default service account?
@udayvadher6414
@udayvadher6414 2 жыл бұрын
Can we use a Service Account as a replication user of CloudSQL?
@prudhvirajboddu6304
@prudhvirajboddu6304 2 жыл бұрын
hey GK, can we edit the permissions for a service account once it created?
@CloudAdvocate
@CloudAdvocate 2 жыл бұрын
Yes
@rincymathew7716
@rincymathew7716 3 жыл бұрын
Hi GK, thanks for this video, cleared my doubt. Just one question, while doing the lab today, I observed that, I can only see one by default service account i.e. default compute engine service account and could not find default App engine service account. Is there anything changed?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Hi Rincy, there must be one. Did you check in IAM section?
@rincymathew7716
@rincymathew7716 3 жыл бұрын
@@CloudAdvocate Yes, I followed the lab/steps provided in this video today and can only see one service account (default compute engine service).
@rincymathew7716
@rincymathew7716 3 жыл бұрын
@@CloudAdvocate Also could you please advise which practice set should I go through to check my understanding/knowledge before appearing the exam.
@rincymathew7716
@rincymathew7716 3 жыл бұрын
Hi GK, hope you are doing good. If you get sometime to check my queries and reply please. Appreciate your help..
@amuc3914
@amuc3914 3 жыл бұрын
Nice videos.Is there any sequence we need to follow
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Thank you!, yes you could find the order via study guide in the description.
@manishsharma9490
@manishsharma9490 3 жыл бұрын
Hi Sir, if you give a service account permission - storage object creator access then viewer is given along with that? do we separately need to add viewer role there?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Yes you do
@MrMuthukumar2002
@MrMuthukumar2002 4 жыл бұрын
Thanks for the great video can you provide the link for Google's document Thanks Muthu
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
It's there in the description
@lazyac_
@lazyac_ 4 жыл бұрын
god bless you
@Shiki229
@Shiki229 4 жыл бұрын
Thanks!
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
You bet!
@ajaymahar5538
@ajaymahar5538 4 жыл бұрын
Good info thanks 👍, I have a question when we give permission to read and write to cloud storage it can read and write to all the bucket available in cloud storage... Suppose I want to give read and write permission to only specific bucket not all the buckets how we can do that? Is there a way to achieve this
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Thanks Ajay, did you check bucket ACL's.
@ajaymahar5538
@ajaymahar5538 4 жыл бұрын
@@CloudAdvocate my questions was for service account if I need to allow vm1 to have read and write access to specific bucket.. how we can do that?
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
@@ajaymahar5538 yes using ACL's can you try adding vm svc account to bucket as writer and give reader to svc account.
@ajaymahar5538
@ajaymahar5538 4 жыл бұрын
@@CloudAdvocate I might be missing something... If possible can you create requested video about this topic?
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
@@ajaymahar5538 sure Ajay :)
@mukhtarali9476
@mukhtarali9476 4 жыл бұрын
i have a question , how to give the user specific permission to cloud source repository that user can access only one repository.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
I personally haven't tried that but as per doc you can give permissions within a project cloud.google.com/source-repositories/docs not sure if you can achieve that using conditions.
@user-qi4cu9le4l
@user-qi4cu9le4l 11 ай бұрын
hi how to add this extra permission/role i.e storage.buckets.create to this existing service account we created. i opened the created service account to add that role but i could not see the option. please clarify me.
@user-qi4cu9le4l
@user-qi4cu9le4l 11 ай бұрын
actually i dont have the option 'Edit' button of service account
@user-qi4cu9le4l
@user-qi4cu9le4l 11 ай бұрын
i tried with gcloud with this command but no luck - gcloud projects add-iam-policy-binding ${sinuous-crow-398819} \ --member=serviceAccount:${111439973901519643627} \ --role=roles/storage.buckets.create
@user-qi4cu9le4l
@user-qi4cu9le4l 11 ай бұрын
hi thanks, ignore all above .. on a temporary solution i could able to add a new role( basic role - Owner) to the service account then i colud able to create a new bucket....
@RaoVenu
@RaoVenu 4 жыл бұрын
Hello Do you know how SAAS companies which integrate with GSuite services like GDrive/GCalendar work? Do they use service accounts or OAUTH2? For example, if I was create an B2B SAAS app to manage gdrive docs of employees in a company, is it possible to do so using service accounts for a more seamless workflow? Thanks Rao
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Great question Venu, I will dig more on this in my company and get back to you. Basically you are asking how gsuite integration is done with the employees correct?
@RaoVenu
@RaoVenu 4 жыл бұрын
@@CloudAdvocate Yes. If Acme Inc was using my GSuite and was my customer, how would integration with GSuite work? a) Do I use Oauth2 and store the access / refresh token of individual employees of Acme Inc in my database b) or Do I have the admin of Acme Inc send me the credentials.json (which I store in my database) Thanks for taking the time to respond and look into this for me. -Rao
@mohitpatiyala
@mohitpatiyala 4 жыл бұрын
They would be using Service Account with user managed key , Service accounts will generate OAUTH (JWT) token when using external/user-managed keys, check the example kzbin.info/www/bejne/gGPKXod5bsSlfas
@SasidharKhambhampati
@SasidharKhambhampati 3 жыл бұрын
HI GK, how can i use a google cloud speech to text API from my local machine application
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Using service account you should be able to do that easily.
@chitranair8143
@chitranair8143 4 жыл бұрын
What is the best way to remember the command lines
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Through practice and understand the structure of command.
@satishtesting19
@satishtesting19 3 жыл бұрын
is it possible to setup postman to query bigquery tables ?
@CloudAdvocate
@CloudAdvocate 3 жыл бұрын
Yes using query method of api.
@satishtesting19
@satishtesting19 3 жыл бұрын
@@CloudAdvocate can you share me any link or video that i can go through. I have service account details. But i don't have the json file when the service account was created. All i was provide with service account details
@satishtesting19
@satishtesting19 3 жыл бұрын
@@CloudAdvocate can you let me know or share any link that narrates how to setup postman. all i have in handy is service account.
@pinkiyadav7563
@pinkiyadav7563 4 жыл бұрын
Hello I want to use Google translation API in Project How can use that Please help me in that.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
What's the issue you are facing?
@pinkiyadav7563
@pinkiyadav7563 4 жыл бұрын
@@CloudAdvocate actually I want to create a page with two textboxes . In first textbox we will enter some text to translate and the result will be shown in second textbox. I want to use google translate API for that. i am not able to understand what what steps i have to follow to achieve that. Thanx for response.
@prasanjitswain17
@prasanjitswain17 4 жыл бұрын
What will be happen If I delete the google manage service default account
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
You can create a new one and attach it to GCE.
@prasanjitswain17
@prasanjitswain17 4 жыл бұрын
@@CloudAdvocate thanks for the comment. what to do in case if google managed service account has over permission ed. And I really not sure what to do in this case.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Prasanjit Swain Can you please elaborate the scenario.
@vpratapify
@vpratapify 4 жыл бұрын
Is it possible to share OneNote notebook ?
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
Sorry forgot, I will.
@CloudAdvocate
@CloudAdvocate 4 жыл бұрын
I have put the link in the description, Thanks!👍
@pradeepkumarkogala5770
@pradeepkumarkogala5770 2 жыл бұрын
Gcp video clarity very less
@sudoers-workspace-here
@sudoers-workspace-here Жыл бұрын
Better to delete this video. even your YT also.
@CloudAdvocate
@CloudAdvocate Жыл бұрын
Why is this outdated?
How to connect to Google cloud from onprem using Service accounts
7:48
Service Account Impersonation in Google Cloud - IAM in GCP
11:27
Cloud Advocate
Рет қаралды 21 М.
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 21 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 39 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 49 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 47 МЛН
Service accounts & security
8:49
Google Cloud Tech
Рет қаралды 15 М.
Basics of Service Accounts and IAM Roles
26:11
Anjan GCP Data Engineering
Рет қаралды 1,2 М.
VPC Peering in Google Cloud | Networking in GCP
18:02
Cloud Advocate
Рет қаралды 16 М.
Manage resource access with Cloud IAM
7:46
Google Cloud Tech
Рет қаралды 14 М.
EP 08 : GCP Service Account Impersonation - Google Cloud IAM
15:00
Cloud Sprint
Рет қаралды 3,8 М.
EP 07 : GCP Service Accounts - Google Cloud IAM With LABS
17:54
Cloud Sprint
Рет қаралды 3 М.
Google Cloud Secret Manager | Professional Architect Exam Essentials
15:20
Google Cloud Project Roles & Permissions for BigQuery
13:37
Ken Williams
Рет қаралды 2 М.
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 21 МЛН