This is a simple site creator that will spin up a Cloud Storage Served static website, fronted by a Google Cloud Load Balancer with an SSL certificate.
You can install this application using the Open in Google Cloud Shell
button
below.
Clicking this link will take you right to the DeployStack app, running in your Cloud Shell environment. It will walk you through setting up your architecture.
To remove all billing components from the project
- Typing
deploystack uninstall
NOTE: This will only clean up the infrastructure; buying a domain is permanent and non-reversable.
If you want to modify the script and test you have to jump through a few hoops. Also, the script can work against domains you've already purchased with Cloud Domains. So do that first - then setup testing.
- Create a dedicated Google Cloud Project for Domain
- Obtain domain with Cloud Domains
- Verify the domain with using Google Webmaster Central
- Add your Cloud Build Service Account as an owner of that account.
- Set an environmental variable
$APPINABOX_YESORNOSITE_DOMAIN
to be the domain you reserved.
- Run in bash:
./test
- Run in Cloud Build
gcloud builds submit --substitutions=_APPINABOX_YESORNOSITE_DOMAIN=$APPINABOX_YESORNOSITE_DOMAIN --config=test.yaml .
This is not an official Google product.