-
Complete the Datashare marketplace prerequisites
-
Open the Datashare solution
-
Click 'LAUNCH' to start the installation.
-
If prompted, select a project to deploy to.
-
Populate the following fields:
-
GCP Service Account: Populate this with the service account created in step 1. IE: datashare-deployment-mgr@[YOUR_PROJECT_ID].iam.gserviceaccount.com
-
OAuth Client Id: Populate this with the OAuth Client Id created during the credential setup step.
-
Data Producers: Populate this with a comma delimited list of domains or accounts that should be Datashare admins.
-
Click 'Deploy' to start the deployment.
-
Await the completion of the deployment, once completed, you'll see a green checkmark at the top.
See Domain Mappings for further information.
After executing the command to map the domains, take note of the A, AAAA, and/or CNAME records that you will need to configure for your domain in your DNS management.
FQDN=datashare-demo-2e.fsi.joonix.net
gcloud beta run domain-mappings create --service ds-frontend-ui \
--domain $FQDN \
--platform managed
To check the status, run the following:
REGION=us-central1
gcloud beta run domain-mappings describe \
--domain=$FQDN \
--platform=managed \
--region=$REGION
FQDN=api.datashare-demo-2e.fsi.joonix.net
CLUSTER=datashare
ZONE=us-central1-a
gcloud config set compute/zone $ZONE
NAMESPACE=datashare-apis
gcloud beta run domain-mappings create --service ds-api \
--domain $FQDN \
--cluster $CLUSTER \
--cluster-location $ZONE \
--namespace $NAMESPACE \
--platform gke
To check the status, run the following:
gcloud beta run domain-mappings describe \
--domain $FQDN \
--cluster $CLUSTER \
--cluster-location $ZONE \
--namespace $NAMESPACE \
--platform gke
- Go to the Cloud Run console.
- Click 'MANAGE CUSTOM DOMAINS'.
- Click '+ ADD MAPPING'.
- Click 'Add Service domain mapping'.
- Select the UI service, and map it to the UI domain.
- Click 'CONTINUE' and you'll be prompted with the A and AAAA record information to configure within your DNS setup.
- If using GCP Cloud DNS, go to your zone record for the domain, and enter the corresponding values for the A and AAAA records.
- Select the API service, and map it to the API domain.
- Click 'CONTINUE' and you'll be prompted with the A record information to configure within your DNS setup.
- If using GCP Cloud DNS, go to your zone record for the domain, and enter the corresponding values for the A and AAAA records.