This project demonstrates how to deploy an Nginx web app to an AWS Elastic Kubernetes Service (EKS) cluster using Jenkins.
- Generate an EC2 key pair to securely access the EC2 instances for the Jenkins server and other resources.
- Create an EC2 instance to host the Jenkins server.
- Install Jenkins and all required dependencies by Ansible playbook.
- Ensure that Jenkins is properly configured and running.
- Access the Jenkins server through its web interface.
- Configure Jenkins plugins and tools necessary for building and deploying to EKS.
- The pipeline will automate the creation of a Kubernetes cluster on AWS EKS.
- Deploy the Nginx web app in the Kubernetes cluster and expose it as a service.
- Verify that the Nginx service is running correctly within the Kubernetes cluster.
- Access the service to ensure it is deployed successfully.
- Clean up all resources (EC2 instances, EKS cluster, etc.) after testing to avoid unnecessary costs.