O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching the cluster using kube-aws

Before we start to create the cluster configuration, we need to create a working directory, as there are going to be a few artifacts created. Let's create a folder called kube-aws-cluster and change to it:

$ mkdir kube-aws-cluster$ cd kube-aws-cluster

Now we are in our working directory we can create our cluster configuration file. To do this run the following command, making sure to replace the values with the information you gathered in the previous section:

If you are not using a Route 53-hosted domain, remove the --hosted-zone-id flag.
kube-aws init \  --cluster-name=kube-aws-cluster \  --external-dns-name=kube.mckendrick.io \  --hosted-zone-id=Z2WSA56Y5ICKTT \  --region=eu-west-1 \ --availability-zone=eu-west-1a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required