Commit Graph

29 Commits

Author SHA1 Message Date
Michael Schurter 5f3a71d0b9 docs: update scripts to 0.12.4 2020-09-09 15:22:37 -07:00
Gale Fagan a01ab4f1a8
Updating versions and removing deprecated items (#8750)
* Removed deprecated Spark pieces.

* Bumped HashiCorp stack versions to current as of commit date

* Bumped versions of HashiCorp stack tools

* Bumped versions, added VAULT_ADDR in GCP, removed refs to Spark in shared README
2020-09-02 10:14:47 -07:00
Kent 'picat' Gruber c397904b04 Cleanup the gcloud SDK CLI tools installation / authentication steps 2020-07-24 10:10:01 -04:00
Kent 'picat' Gruber 2ab6cb660a Add missing period to account.json warning 2020-07-17 15:06:39 -04:00
Kent 'picat' Gruber c31280d3e1 Remove a potential for accidently running the SSH tunnels in server VM
If a user is just clicking / copy-pasting, they could accidently think they next gcloud commands should be run inside the server VM.

Removing that extra bit of information to make accessing the UIs as simple as possible. Moreover, the local commands on the cloud shell should just work without needing to SSH into the server VM.
2020-07-17 15:05:22 -04:00
Kent 'picat' Gruber e373bf7117 Remove external load balancer configuration 2020-07-17 14:37:56 -04:00
Kent 'picat' Gruber 5600cb6ce5 Use SSH tunnels instead of a public load balancer for accessing the cluster
It was tricky to get the web preview expierince to work smoothly on non-standard HTTP ports. But, I was able to figure out the link the web preview button uses under-the-hood, and add custom query string params.
2020-07-17 14:26:32 -04:00
Kent 'picat' Gruber 3372f475e4 Add full links to the packer step 2020-07-17 08:55:37 -04:00
Kent 'picat' Gruber c5939373cb Ensure to use the "project ID" terminology instead of "project name"
Project IDs and project names are typically the same, but they are separate things. Now also matches to the wording in previous steps.
2020-07-17 08:55:07 -04:00
Kent 'picat' Gruber d1a4696e86 Change billing account step wording 2020-07-17 08:53:52 -04:00
Kent 'picat' Gruber 0d9ad8a5f2 Generate random project ID in tutorial command, change command order
Includes a link to the GCP docs for a project overview if the user is new to the platform.
2020-07-17 08:53:15 -04:00
Gale Fagan c23bc0e93d
Update README.md
Fix spelling, sprinkle in assorted words
2020-07-16 19:49:31 -07:00
Gale Fagan 0c947338ab
Update README.md
Minor syntax tweaks for better secrets posture.
2020-07-16 19:34:43 -07:00
Kent 'picat' Gruber 35ca8a006f Remove TODO from open in cloud shell button 2020-07-16 16:38:54 -04:00
Kent 'picat' Gruber 6ada88f592 Remove the temporary cloudshell_git_branch query string in button
Will now use the default git branch for the repository
2020-07-16 16:38:18 -04:00
Kent 'picat' Gruber e67dada8fd Add a final Conclusion section
Includes steps to destroy the demo infrastrucure.
2020-07-16 16:34:32 -04:00
Kent 'picat' Gruber 1b56364c0a Use a full path link in the Next Steps section
This will make the link actually work when using the cloud shell.
2020-07-16 16:33:49 -04:00
Kent 'picat' Gruber 13601e0e10 Adjust the CLI section
Cleans up the wording, and points to the Next Steps section for example commands to avoid redundancy.
2020-07-16 16:33:12 -04:00
Kent 'picat' Gruber 06ee3f2094 Add project and credentials CLI vars to Terraform commands
This will automatically pass along the environment variables set in a previous step, and prevent users from manually needed to type in the values in the CLI.
2020-07-16 16:32:28 -04:00
Kent 'picat' Gruber 13eb12d29d Few minor adjustment to the Terraform steps 2020-07-16 16:24:16 -04:00
Kent 'picat' Gruber 8b77b706a8 Remove last lingering console output placeholder
So the comand is easily copyable, and consistent with the rest. However, this is probably not totally necessary in the cloud shell itself since the gcloud command will likely been initialized already.
2020-07-16 16:23:52 -04:00
Kent 'picat' Gruber 9a586404f7 Ensure all commands in terraform/gcp/README.md are easily copyable
Since this tutorial also links to a GCP cloud shell tutorial, we want to make sure all the command blocks are easily copyable to make that expierince smooth.
2020-07-16 16:17:17 -04:00
Kent 'picat' Gruber 4298646d5c Few minor adjustments to the terraform/gcp/README.md
* Adds the terraform deployment step.
* Renames the Packer-specific section.
2020-07-16 16:14:42 -04:00
Kent 'picat' Gruber 921f16f0cf Fixup open in cloud shell button query string options
* Fixes releative path to README.md tutorial, so it hopefully opens now.
* Enables only the shell now when opening the tutorial.
2020-07-16 16:10:22 -04:00
Kent 'picat' Gruber c8ad74b62d Create terraform/gcp/README.md 2020-07-16 15:58:15 -04:00
Kent 'picat' Gruber 9febc24d8c Create terraform/gcp/Makefile
To help make developing / testing this module much easier in the future.
2020-07-16 15:57:14 -04:00
Kent 'picat' Gruber 0a82043d8a Create terraform/gcp/env/us-east/main.tf 2020-07-16 15:56:09 -04:00
Kent 'picat' Gruber cc202e62a2 Create terraform/gcp/modules/hashistack/hashistack.tf
This module is based on the current AWS and Azure configurations, with a few tiny GCP-specific modifications:

* Defaults to only allow your Terraform's host external IP address, which can be optionally disabled. Otherwise, the UIs/APIs are exposed on the internet.
* Exposes the Vault UI and API through the load balancer.
* Uses GCP oslogin to facilitate VM SSH access, without an external SSH IP for all instances.
* Provides optional way to enable preemptible VM instances to save money.
2020-07-16 15:55:25 -04:00
Kent 'picat' Gruber 0e3a7933b6 Create terraform/gcp/packer.json 2020-07-16 15:20:12 -04:00