updated 01-prerequisites

pull/709/head
Xander Grzywinski 2019-05-23 09:48:36 -07:00
parent 37f2b77e4f
commit c93ce8333e
1 changed files with 13 additions and 29 deletions

View File

@ -1,49 +1,33 @@
# Prerequisites
## Google Cloud Platform
## Microsoft Azure
This tutorial leverages the [Google Cloud Platform](https://cloud.google.com/) to streamline provisioning of the compute infrastructure required to bootstrap a Kubernetes cluster from the ground up. [Sign up](https://cloud.google.com/free/) for $300 in free credits.
This tutorial leverages [Microsoft Azure](https://azure.microsoft.com/en-us/) to streamline provisioning of the compute infrastructure required to bootstrap a Kubernetes cluster from the ground up. [Sign up](https://azure.microsoft.com/en-us/free/) for $200 in free credits.
[Estimated cost](https://cloud.google.com/products/calculator/#id=78df6ced-9c50-48f8-a670-bc5003f2ddaa) to run this tutorial: $0.22 per hour ($5.39 per day).
> The compute resources required for this tutorial exceed the Azure free tier.
> The compute resources required for this tutorial exceed the Google Cloud Platform free tier.
## Azure CLI
## Google Cloud Platform SDK
### Install the Azure CLI
### Install the Google Cloud SDK
Follow the Azure CLI [documentation](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest) to install and configure the `az` command line utility.
Follow the Google Cloud SDK [documentation](https://cloud.google.com/sdk/) to install and configure the `gcloud` command line utility.
### Set a Default Compute Region
Verify the Google Cloud SDK version is 218.0.0 or higher:
This tutorial assumes a default compute region has been configured.
If you are using the `az` command-line tool for the first time, you'll need to `login`:
```
gcloud version
az login
```
### Set a Default Compute Region and Zone
This tutorial assumes a default compute region and zone have been configured.
If you are using the `gcloud` command-line tool for the first time `init` is the easiest way to do this:
Set a default compute region:
```
gcloud init
az configure --default region=westus2
```
Otherwise set a default compute region:
```
gcloud config set compute/region us-west1
```
Set a default compute zone:
```
gcloud config set compute/zone us-west1-c
```
> Use the `gcloud compute zones list` command to view additional regions and zones.
## Running Commands in Parallel with tmux
[tmux](https://github.com/tmux/tmux/wiki) can be used to run commands on multiple compute instances at the same time. Labs in this tutorial may require running the same commands across multiple compute instances, in those cases consider using tmux and splitting a window into multiple panes with `synchronize-panes` enabled to speed up the provisioning process.