package
0.0.0-20240716204812-19218e72a42c
Repository: https://github.com/routeviews/google-cloud-storage.git
Documentation: pkg.go.dev

# README

RouteViews Archive Server

Collects files to archive from remote service owners.

Deployment

Deployed to GCP CloudRun, from the project's Docker image store.

  1. Build a current image from repository root:
$ docker build -f cmd/archive_upload_server/Dockerfile . \
               --tag us-docker.pkg.dev/public-routing-data-backup/cloudrun/rv-server:latest
  1. Push the docker image to the registry:
$ docker push us-docker.pkg.dev/public-routing-data-backup/cloudrun/rv-server:latest
  1. Have cloud run, run the job:
$ gcloud run deploy  rv-server \
          --image us-docker.pkg.dev/public-routing-data-backup/cloudrun/rv-server:latest \
          --use-http2 --no-allow-unauthenticated \
          --memory 1G
  1. Reserve an IPv4/6 address for the load balancer (DO THIS ONCE) Names: cloud-backup-vip-v4 && cloud-backup-vip-v6

  2. Setup certificates for the VIP/name mapping (DO THIS ONCE) Name: storage-archive.rarc.net

  3. Setup loadbalancer config (DO THIS ONCE)