How to deploy a simple website to a kubernetes cluster in AWS using Kubeone?

Alvaro Andres Pinzon Cortes
2 min readJan 28, 2020

--

— — —

Install kubeone

To do this please follow this guide: https://github.com/kubermatic/kubeone/blob/master/docs/quickstart-aws.md

Install Terraform and configure it

To do this please follow this guide: https://github.com/kubermatic/kubeone/blob/master/docs/quickstart-aws.md

Create the infrastructure in AWS using terraform

To do this please follow this guide: https://github.com/kubermatic/kubeone/blob/master/docs/quickstart-aws.md

Install kubernetes and create cluster in AWS using Kubeone

To do this please follow this guide: https://github.com/kubermatic/kubeone/blob/master/docs/quickstart-aws.md

Make sure that your tf.json file has the correct ssh configuration:

Deploy website to the cluster in AWS

The description of how that website and the deployment works is here

Simple blue-green deployment in kubernetes using minikube
https://medium.com/@andresaaap/simple-blue-green-deployment-in-kubernetes-using-minikube-b88907b2e267?source=your_stories_page---------------------------

Make sure that the pods ands the services were correctly created

In this image you can see the URL from the load balancer that you need to use in the browser to access the website

Check that the availability zone where the instance with the container is, is included in the load balancer

Test the website

--

--

No responses yet