Commit Graph

123 Commits

Author SHA1 Message Date
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 a95009a622 Update terraform/README.md 2020-07-16 15:58:42 -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 8ff9b566f1 Cleanup, enable the Vault UI, and bind to all IPv4 addresses in the config
This make the config cleaner, and allows Vault to actually be accessible through a load balancer.
2020-07-16 15:26:22 -04:00
Kent 'picat' Gruber ee3d0e0889 If $CLOUD is "gce" for auto-join, use different metadata curl command 2020-07-16 15:21:57 -04:00
Kent 'picat' Gruber a13b1a4ff6 Create terraform/shared/config/consul_gce.service 2020-07-16 15:20:34 -04:00
Kent 'picat' Gruber 0e3a7933b6 Create terraform/gcp/packer.json 2020-07-16 15:20:12 -04:00
James Rasell 1b94305e21
demo: Fix Vagrantfile when building staging VM for Cloud build.
Updates the base VM image used as well as fixes install failures
with Azure CLI and Docker.
2020-06-17 12:22:24 +02:00
Omar Khawaja b1d2fa77d3
separate vars and outputs into their own files and update default link in nomad binary variable to 0.10.0 release (#6550) 2019-10-25 14:15:30 -04:00
Omar Khawaja 01f2ca6941
Upgrade Nomad terraform directory for TF 0.12+ (#6424)
* update

* fix error

* convert server ips in list of string and loop through for output

* drop the for loop in outputs and keep the join command

* switched to TF 0.12 splat expression
2019-10-07 12:43:42 -04:00
Michael Schurter 228899c32f e2e: test demo job for connect 2019-09-04 12:40:08 -07:00
Ryan Lewkowicz c407db6ade bumped hadoop version 2019-08-12 16:40:04 -04:00
Preetha 09e950dd48
Merge pull request #5938 from RenaudWasTaken/master
Updated the TensorRT demo to use the official NVIDIA image
2019-07-15 11:30:31 -05:00
Omar Khawaja 22ebf2bbc1
TF config enable services (#5947)
* enable vault, consul, and nomad services to make them persistent after reboot

* update AMI
2019-07-11 22:36:58 +02:00
Renaud Gaubert 02ff3a5ac2 Updated tensorrt demo to use the official nvidia image
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2019-07-07 16:04:52 -07:00
Omar Khawaja 81f0764697 roll back to previous ami 2019-06-18 10:20:13 -04:00
Charlie Voiselle ded9dcbb9a Proposing new tfvars with additional inline docs 2019-05-24 12:30:06 -04:00
Mahmood Ali bfc907827c docs: update s3 urls to use virtual bucket style
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
2019-05-06 10:39:51 -04:00
Chris Baker 14bfd8869b
Merge pull request #5550 from hashicorp/cgbaker/update-terraform
More terraform updates
2019-04-11 10:18:28 -04:00
Chris Baker 61961d338e terraform: modified default client instance type to a more reasonable t2.medium, left commented GPU instance type 2019-04-11 14:13:30 +00:00
Chris Baker 8432afc458 terraform/packer: revert name of AMI to generic "hashistack" instead of my name 2019-04-11 14:11:32 +00:00
Chris Baker 921dfa32a7
Update setup.sh 2019-04-11 09:31:47 -04:00
Chris Baker 5a4ec44f38 example: nvidia tensorrt example using GPU device plugin 2019-04-11 13:01:13 +00:00
Chris Baker c135bad029 terraform: work on terraform setup
* support for 0.9.0
* ELB for servers
* better output
* customizable security groups
* nvidia-docker support
* different server/client instance types
2019-04-11 13:00:20 +00:00
Michael Schurter 30db07cccb docs: sync systemd unit files; update deploy guide
The systemd configs spread across our repo were fairly out of sync. This
should get them on our best practices.

The deployment guide also had some strange things like running Nomad as
a non-root user. It would be fine for servers but completely breaks
clients. For simplicity I simply removed the non-root user references.
2019-03-19 15:18:12 -07:00
Omar Khawaja 2eab3db0dc
AWS env update (#5423)
* update versions of all products and add consul-template

* update client and server user_data scripts

* modify README.md and terraform.tfvars

* fix typo in consul-template system unit file

* update AMI id
2019-03-15 15:55:34 -04:00
Omar Khawaja 0f45d81e7c
make root block device size configurable (#5368) 2019-02-28 11:35:57 -05:00
Nathan R Valentine 7fdf78c57c change retry_join to a map for easier tag handling 2018-12-18 15:48:17 -08:00
Omar Khawaja 0b9f32c6d2
AWS sandbox environment upgrade (#4873)
* upgrade Nomad from 0.8.4 to 0.8.6

* update deprecated nomad and vault commands

* update AMI ID

* add ingress rule for default fabio port and fabio UI

* upgrade Consul and Vault versions

* update AMI ID in README.md and terraform.tfvars
2018-11-13 23:21:01 -05:00
Thomas Hackett 40767c2b12 Corrected vault address and port in client/server hcl 2018-09-14 16:18:03 +00:00
Charlie Voiselle 523e8f7043
Fix typo 2018-08-13 10:38:22 -04:00