# Create a service account
gcloud iam service-accounts create instancestorage --display-name="Instance to Storage"
# Create a Key to Service account
gcloud iam service-accounts keys create key.json --iam-account=<SVC_ACCOUNT_MAIL_ID>
# add storge viewer role to the newly created serviceaccount
gcloud projects add-iam-policy-binding --member=serviceAccount:<SVC_ACCOUNT_MAIL_ID> --role=roles/storage.objectViewer
# Set service account
gcloud config set account <SVC_ACCOUNT_MAIL_ID>
# Authenticate svc account with the key created
gcloud auth activate-service-account <SVC_ACCOUNT_MAIL_ID> --key-file=key.json
- cloud sql instance
- db creation
- user creation
gcloud run deploy cliservice --image us-central1-docker.pkg.dev/quantum-weft-420714/boa-repo/python:v1 --region us-central1 --allow-unauthenticated
gcloud run deploy cliservice --region us-central1 --image us-central1-docker.pkg.dev/quantum-weft-420714/boa-repo/python:purple --allow-unauthenticated --no-traffi