That is an excellent quick tutorial. Could you please share any documentation on how to work and interact more with cloud functions? I have tried to work with other services and resources, but I usually get a 500 Error. Thank you
@hashemalsaket5162 жыл бұрын
Awesome tutorial.
@dangerous48212 жыл бұрын
I have multiple vms and also new vms are created anytime so i want to stop all vms, how can i do that? What to put in VM_NAME then?
@vimaladeshmukh40172 жыл бұрын
It was an wonderful video thank you so much for that I have a request. Can you please show us how to take back up and restore gsm parameters in gcp bucket by writing shellscript and with running jenkins job using crontab
@salehram2 жыл бұрын
Interesting stuff! Definitely will do it. I've actually done something a bit similar to this before using Jenkins so I'll definitely work on something for this Will keep you updated once I get that up! Regards
@vimaladeshmukh40172 жыл бұрын
@@salehram thanks for your reply..pls share that video which u have done earlier
@salehram2 жыл бұрын
It wasn't a video I had :), it was a scenario I worked on previously to automate a few tasks in an environment and I ended up using Jenkins and Ansible as well Will build an environment and do a few scenarios and then post the video here!
@salehram2 жыл бұрын
Just to add context, I made Jenkins control a few VMs and perform some tasks through the integration with Ansible. I was able to use Cloud Source Repos, and gsutil and gcloud to perform a few deployment tasks in an environment..
@ashoksuperb2 жыл бұрын
Is it possible to create dataproc clusters in the morning and delete them by evening using CloudFunctions ?
@souza-m7l2 жыл бұрын
Error: Forbidden Your client does not have permission to get URL /stopVM from this server. HALP! obviously i gotta look at the permissions more closely.. but it was set to compute admin v1.. so im lost!
@hik3812 жыл бұрын
Really nice video. Thank you :) I have a question, maybe you can help :) Can you deliver a message or parameter as well in this process (from gcfunction to vm)? My goal is to run differnt scripts based on the added message.
@salehram2 жыл бұрын
Hi, yes sure you can do that, though I have to test the process to provide any details, but I think you will need to use Pub/Sub in the process by having your function send a message to that, and then you put a listener inside the VM that listens to a specific topic and pulls any message from that once it is sent from the function.. But here in this case you need to start accounting for the security and who is authorized to trigger the function and so on... I'll be having a video soon about a way you can use to secure your manually triggered cloud functions I hope it will help :) Regards
@hik3812 жыл бұрын
@@salehram Thank you very much. Looking forward to the video.
@neno5rov2 жыл бұрын
Is it possible to also run VM commands from the cloud function, after you start the VM?
@salehram2 жыл бұрын
Hi, Well I think you can do it with 2 ways... One is to attach a startup script to the VM and then start it, so the startup script will be executed upon the VM's start Or you can introduce another layer of control which is Ansible, where you can integrate it with your Cloud Function and execute commands on the VM through that as well... I have worked with Ansible but not through Cloud Functions yet, and I think it would be interesting to test it and see how it works with Cloud Functions... Regards
@nholmes862 жыл бұрын
you talk too much...see how others do video
@salehram2 жыл бұрын
Yes! I know I talk too much, that's why I make sure to add the chapters. Also would love to get some references for those others you mentioned 😊
@rememberwhenwe82 жыл бұрын
@@salehram I enjoyed your video -- good work, Brother!