Modernize organization application deployment by leveraging Kubernetes and AWS services
Ramandeep Chandna
AWS Community Builder AI Engineering | System Engineering Manager AWS | 7xAWS | CKA | CKAD | 2xCloudBees
Use case to deploy app Containers along with postgres container in EKS cluster connected with RDS using CI/CD pipeline and terraform. Extended the solution by adding AWS ALB and Ingress Controller to access the application internally and externally
Situation: The organization aims to modernize its application deployment by leveraging Kubernetes and AWS services. They have chosen Amazon EKS for orchestration, RDS for database management, and GitLab as their CI tool.
Task: Deploy an application along with a PostgreSQL database in an EKS cluster, connected to an RDS instance, using an AWS CI/CD pipeline. Infrastructure should be defined as code using Terraform.
Actions:
Results: The organization now has a fully automated CI/CD pipeline, orchestrated by GitLab, that deploys and updates the EKS cluster, PostgreSQL database, and the application. This approach ensures consistency, reliability, and scalability in their cloud-native environment.
Learnings:
Extended the solution by adding AWS ALB and Ingress Controller to access the application internally and externally
Let's expand the use case to include an Application Load Balancer (ALB) and Ingress Controller for external access. We'll use Terraform to define the infrastructure and Kubernetes manifests for application deployment.
Terraform Code:
领英推荐
Kubernetes Manifests:
Steps:
This enhanced use case provides an end-to-end solution, including ALB and Ingress, for accessing the application both internally and externally. Adjust parameters and settings according to your specific requirements.
Best Regards,
Subscribe to my Newsletter | Follow Me | Book 1:1 Mentorship Connect | Subscribe to my YouTube Channel