Skip to content

Commit

Permalink
fixing the non-ee instructions... future fix will be to deploy role (a…
Browse files Browse the repository at this point in the history
…ws-samples#307)

* fixing the non-ee instructions... future fix will be to deploy role
first

* updating tab with codeblocks
  • Loading branch information
brentley authored Apr 3, 2019
1 parent bfeb2f8 commit c3a3a5c
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions content/eksctl/launcheks.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,28 @@ If you do see the correct role, proceed to next step to create an EKS cluster.
{{% /expand %}}

### Create an EKS cluster

To create a basic EKS cluster, we can start by downloading a config template:
```output
{{< tabs name="Create EKS Cluster" >}}
{{{< tab name="Workshop at AWS event" codelang="bash" >}}
# To create a basic EKS cluster, we can start by downloading a config template:
cd ~/environment
wget https://eksworkshop.com/eksctl/launcheks.files/eksworkshop.yml.template
```

Next, let's fill in the template variables with values from our environment:
```output
# Next, let's fill in the template variables with values from our environment:
envsubst <eksworkshop.yml.template >eksworkshop.yml
```

We can examine the rendered output by viewing `eksworkshop.yml`:
```output
# We can examine the rendered output by viewing `eksworkshop.yml`:
cat eksworkshop.yml
```

Finally, now that we have the proper config generated, we can launch EKS:
```output
# Finally, now that we have the proper config generated, we can launch EKS:
eksctl create cluster -f eksworkshop.yml

{{< /tab >}}
{{< tab name="Workshop in your own account" codelang="output" >}}
eksctl create cluster --name=eksworkshop-eksctl --nodes=3 --node-ami=auto --region=${AWS_REGION}
{{< /tab >}}}
{{< /tabs >}}


```
{{% notice info %}}
Launching EKS and all the dependencies will take approximately 15 minutes
Expand Down

0 comments on commit c3a3a5c

Please sign in to comment.