Create AWS EKS cluster using terraform and ansible. And Deploy an App. Install two applications. wordpress and Flask on EKS
#!/bin/bash
yum update
yum install git -y
amazon-linux-extras install ansible2 -y
ansible-galaxy collection install community.general
git clone https://github.com/yesidevelop/ansible-terraform-eks.git
cd ansible-terraform-eks
ansible-playbook install_eks.yaml -vv
ansible-playbook install_app.yaml -vv
Courtesy:
- https://github.com/opszero/kubespot
- https://github.com/ashutoshvct/aws-eks-terraform-ansible
- https://github.com/testdrivenio/flask-vue-kubernetes
For adding new user to cluster: https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-object-access-error/