pythontr.com
Gcloud command-line tool, komut satırı üzerinden Google Cloud Platform’u yönetmemizi sağlayan bir araçtır.
Kurulumumu mac üzerine yapacağım için https://cloud.google.com/sdk/docs/quickstart-macos [cloud.google.com] bu sayfadan sdk'yı download yapacağım. Farklı işletim sistemi kullanan arkadaşlar bu sayfayı inceleyebilirler. https://cloud.google.com/sdk/install [cloud.google.com]
indirdiğim dosya tar.gz uzantılı bir dosya olduğu için aşağıdaki şekilde dosyamızı açabilirsiniz.
tar xzvf xxx.tar.gz
./google-cloud-sdk/install.sh
gcloud init
Welcome! This command will take you through the configuration of gcloud.
Your current configuration has been set to:
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
You must log in to continue. Would you like to log in (Y/n)?
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?code_challenge=xxxxxxx [accounts.google.com]
You are logged in as: [huseyinpythontr.com].
Pick cloud project to use:
pythontrcom-151712
Create a new project
Please enter numeric choice or text value (must exactly match list
item): 1
Your current project has been set to: .
..........
gcloud compute instances list
gcloud projects list
gsutil ls gs://pythontr-staging
touch /tmp/test gsutil cp /tmp/test gs://pythontr-staging Copying file:///tmp/test [Content-Type=application/octet-stream]... / [1 files][ 0.0 B/ 0.0 B] Operation completed over 1 objects.
gsutil help
Yorumlar