LAUNCHING WORDPRESS ON AWS USING EKS

  • Prequisite aws account,basic knowledge of how kubernates work,basics of aws.
  • So first of all create IAM role on aws with admin access and configure aws cli. We are going to launch all the things using aws cli. We can launch with the help of gui also. But gui is not accesible all the time so its good to practice from cli.
  • Once IAM is created and aws cli is configured download the kubectl using this link (https://kubernetes.io/docs/tasks/tools/install-kubectl/) and eksctl(https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html). Once this is downloaded make sure to add them into the enviroment variable so that it can be accesed from anywhere.Once its done we are all set to launch our own Kubernates cluster.
  • First clone this repo files and open cluster.yaml file and there you can change things according to your need such as cluster name and there os, one term called node group in which we have to give information of type of node we want. Here I have used t2.micro beacause they are free. Remember that eks is not a free service. We have to pay something. Check pricing before doing anything once the cluster file is ready save it and close it.
  • Here we can also use Helm to install helm run following cmnd:-
  • (“helm repo add stable https://kubernetes-charts.storage.googleapis.com/
  • helm repo list
  • helm repo update)
  • Once this is done we have to set tiller. To set tiller run the followoing cmnd :- -(“kubectl -n kube-system create serviceaccount tiller
  • kubectl create cluster rolebinding tiller — clusterrole cluster-admin — serviceaccount=kube-system:tiller
  • helm init — service-account tiller
  • For grafana run following command (“kubectl create namespace grafana

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Guide to Install Open Source OpenWRT into a Cheap Router (Redmi AC2100)

Evidence-Based Management: How to Define Goals and Measure Them — Experts Zone #5| frontendhouse.com

XDC SmartLock Integration Project Update 11.15.21

iOS Tutorial: Live face detection with ARKit and Vision frameworks

Fun (or Not) With Golang Errors

Dark forest

[Unity3D] Reading Data from JSON File Located in Streaming Assets, Android Way

Creating your own Trivia Bot on Telegram

3 steps to update parameters of Faster R-CNN/SSD models in TensorFlow Object Detection API

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nikhilgubbi

Nikhilgubbi

More from Medium

Task 5: How to configure EC2, EBS, and S3 in AWS using AWS CLI

Kubernetes in AWS with KOPs

Money can’t Buy Time, but Money can Buy VPS

AWS Elasticsearch Manual Snapshot and Restore on AWS S3