|author||Andrew Gerrand <firstname.lastname@example.org>||Fri Aug 11 14:45:29 2017 +1000|
|committer||Andrew Gerrand <email@example.com>||Tue Aug 15 00:56:19 2017 +0000|
cmd/hostserver-gcp: new service to provision sub-domains Command hostserver-gcp is a combined DirServer and StoreServer that serves a synthetic Upspin tree used to configure sub-domains under the domain upspin.services. Each Upspin user can set the IP address of one sub-domain, the name of which is a hash of their user name. Assuming the server is running as firstname.lastname@example.org, here's how the user email@example.com would configure their sub-domain: $ upspin mkdir firstname.lastname@example.orgemail@example.com/127.0.0.1 If that command succeeds, then their host name was created or updated. (This can be any command that performs a DirServer.Put to that path; the put command would work, but mkdir is the simpliest choice in this case.) To find the host name, the user uses a get request, which returns both the host name and configured IP address: $ upspin get firstname.lastname@example.orgemail@example.com 127.0.0.1 b4c9a289323b21a01c3e940f150eb9b8.upspin.services This is part of addressing upspin/upspin#411. If a user wants to deploy their own upspinserver then they must give it a host name in order to serve TLS. By providing each Upspin user with their own dedicated host name under upspin.services, we side-step the issue of domain registration and DNS record configuration (although we can let them use their own domain if they wish). The service is already running at firstname.lastname@example.org. Change-Id: Ib861155e7e24449522db7f28126a3ba6f765a66d Reviewed-on: https://upspin-review.googlesource.com/12120 Reviewed-by: Rob Pike <email@example.com>
See the Setting up upspinserver document for information about running an Upspin service that stores its data in Google Cloud Storage.
See the Deploying Upspin servers to Google Cloud Platform document for information about running an Upspin cluster on Google Container Engine.
See the master repository for more information about the Upspin project.