https://gortonator.github.io/bsds-6650/
Done in Go and deployed to Google Cloud Platform for self-learning purposes.
- Create a new project in Google Cloud Platform
- Make sure you have billing enabled
- Enable the Cloud Run API
Project name = cs6650-dping
brew install google-cloud-sdk
gcloud init
gcloud auth login
This will house all Compute Engines (VM), Cloud Runs (serverless), Storage (DB and Bucket), etc.
gcloud config set project cs6650-dping
https://cloud.google.com/run/docs/reference/iam/roles#additional-configuration
- Go to IAM & Admin > Service Accounts
- Click on PROJECT_NUMBER-compute@developer.gserviceaccount.com
- Click the Permissions tab
- Click the Grant Access button
- Enter your email (or other's email)
- In the Select a role dropdown, select the Service Accounts > Service Account User role
- Click Save
gcloud auth configure-docker