Install Kubernetes on AWS

Quick Start the Datalayer Science Platform on AWS in 10 minutes.

Check the requirements to setup your local environment.

Check that you understand and have the following requirements.

AWS Credentials

Setup your AWS environment with the needed AWS credentials via environment variables.

In your ~/.bashrc file.

# Define your valid AWS Credentials.
export AWS_ACCESS_KEY_ID=<your-aws-key-id>
export AWS_SECRET_ACCESS_KEY=<your-aws-key-secret>

If you prefer, you can persist those credentials in your home folder.

# ~/.aws/credentials
# ~/.aws/config

Create the K8S Cluster

# Run the following.
kuber kcreate dla1 -p aws -z us-west-2 && \ # eu-central-1 also supported.
  kuber kapply dla1 -v 4
# Check the cluster is running.
watch kubectl get nodes && \
  watch kubectl get pods --all-namespaces && \
  kubectl proxy

This will give the list of nodes and then the list pods (there will be DNS, Calico as the Tiller pods for Helm).

NAME                                         STATUS    ROLES     AGE       VERSION      Ready     master    1h        v1.9.2   Ready     <none>    59m       v1.9.2   Ready     <none>    59m       v1.9.2    Ready     <none>    59m       v1.9.2
NAMESPACE     NAME                              READY     STATUS    RESTARTS   AGE
kube-system   calico-etcd-ck42p                 1/1       Running   0          1h
kube-system   kube-proxy-z4q67                  1/1       Running   0          1h
kube-system   tiller-deploy-546cf9696c-9k9bk    1/1       Running   0          58m

Install the Services

Follow the instructions to install the services.

Terminate the K8S Cluster

To terminate the Cluster, run the following command.

# Delete the cluster.
kuber kdelete dla1 -v 4 --purge

results matching ""

    No results matching ""