SETTING UP AWS KUBERNETES USING KOPS
Kubernetes is used to maximize the utilization of resources like memory and CPU through open source container management. As a result, it will allow the cluster nodes to have an efficient distribution of applications.
First, you will need to have an AWS account before you can use kops to set up Kubernetes. Some other requirements to get you started includes
· AWS cli setup configured with your secret AWS account key and secret access key
· A DNS hosting Kubernetes for Amazon Web Service
Step 1: First install a kops tool
You can follow the procedure to gent kops installed
Cd${GOPATH}/src/k8s.1o/kops/make
After this procedure, you will have kops installed and you will be good to forge ahead.
Step 2: Create Route 53 Domain for the cluster.
Since you are using Distillery.com your domain name should have k8s.distilery.com. The DNS domain name will be easier to remember than the IP numbered address. You know the IP address mostly employs the use of numbers
Step 3: Creation of S3 buckets
S 3 buckets are used for storage; you can create them online or using cli. It is easier doing this using the cli. You can name you can add Storage as a prefix at the back of your domain name to make things easier.
E.g. Your Domain name is k8s.distillery.com. So your S3 Bucket name could be Storage.k8s.distillery.com
Step 4: Configure your cluster and create clusters
You will start by configuring clusters. This allows kops to output commands to manage your clusters. Then afterwards, you can create your clusters by following the following command
${GOPATH}/bin/kops update cluster –state=${STATE_STORE} ${NAME} –yes
Once you note three nodes listed by the command, then you will be assured that your launch has succeeded. You can now use your AWS kubernetes.
to learn more about AWS and AWS Kubernetes, visit https://distillery.com/