Create a Service Account
This gives the microservices access to use the Google Cloud APIs.
- Visit [Service Accounts] on Cloud Console(https://console.cloud.google.com/iam-admin/serviceaccounts)
- Click "Create Service Account"
- Give it a name, and choose roles:
- Datastore User
- Storage Admin
- Click "Furnish new private key" with type=JSON.
- Click "Create" and save the private key file.
You will use this file in "Set up a Kubernetes cluster" section later.
This is used for users with Google accounts to authenticate to the app.
- Visit API Manager on Cloud Console.
- Click "Credentials" → "Create credentials" → choose "OAuth client ID"
- Choose "Web application" on the next screen.
- Give it a name, and specify the callback URI as
http://localhost/oauth2callback
. You will change it once you have a domain name.
You will use this file in "Set up a Kubernetes cluster" section later.