In this section, we will use ArgoCD to automatically deploy the entire application system to the EKS Cluster, including the data layer, backend services, and frontend. The deployment follows the GitOps model, where all system configuration and state are managed through Git, ensuring consistency, easy tracking, and easy rollback.
The deployment is performed according to logical dependency order between components, ensuring stable service startup without connection errors when components are not ready.
Frontend
Discovery Server
PostgreSQL
Keycloak-MySQL
Keycloak
User Service
Product Service
Cart Service
API Gateway
All the above services will be accessed through the Ingress Controller with custom domain names pre-configured in Route 53.
To simplify the deployment, the entire process will be divided into 3 main phases:
Frontend Deployment - Build image from user interface source code.
Push image to Amazon ECR (Elastic Container Registry).
Deploy through ArgoCD using Helm Chart.
Database System Deployment - Includes PostgreSQL, Keycloak-MySQL, and Keycloak.
Main System Services Deployment - Includes services such as: Discovery Server, User Service, Product Service, Cart Service, and API Gateway.