Skip to content

smplverse/metadata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smplverse/metadata

Simple metadata server that loads the metadata object into memory and serves based on /:tokenID.

Deployed using cloud run, CI/CD using cloud build.

Setup

To create two regional deployments in us-central1 and europe-west1:

./hack/deploy.sh

To provision the load balancer (create backend service, URL-maps, SSL cert, endpoint groups, forwarding rules):

./hack/setup-load-balancing.sh

After the load balancer provisioning completes, the A-record needs to be added to the DNS configuration (steps might differ based on the domain provider).

The IP of the load balancer can be grabbed using:

gcloud compute addresses describe $PROJECT_ID-ip \
    --global \
    --format 'value(address)'

In order to add a redirect from HTTP to HTTPS:

./hack/setup-http-to-https-redirect.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 55.9%
  • Shell 36.9%
  • Dockerfile 7.2%