Preparing AWS infrastructure for installing DevOps Loop on AWS
You must set up the required AWS infrastructure, including Amazon Elastic Kubernetes Service (EKS), storage, and load balancers, before installing DevOps Loop.
Prerequisites
You must have ensured that the following tasks are completed:
- Installed the following AWS tools on the deployment machine:
- AWS CLI
- kubectl
- Helm v3.10 or later
- eksctl
- Verified cluster access by running the following
command:
kubectl get nodes - Created a VPC with public and private subnets in at least 2 availability
zones. Recommended CIDR for example,
VPC CIDR: 10.x.x.x/22Subnet usage:- Public subnets: Used for Application Load Balancer (ALB)
- Private subnets: Used for worker nodes
- Private subnets: Used for EFS mount targets
-
Tagged the subnets correctly for Kubernetes and AWS Load Balancer Controller by using the following values:
- Public
subnets
kubernetes.io/cluster/<cluster-name> = shared kubernetes.io/role/elb = 1 - Private
subnets
kubernetes.io/cluster/<cluster-name> = shared kubernetes.io/role/internal-elb = 1Note: These tags allow the AWS Load Balancer Controller to automatically discover the correct subnets when creating Application Load Balancers (ALB) and Network Load Balancers (NLB). Without these tags, the load balancer provisioning fails.
- Public
subnets
About this task
You must perform these AWS infrastructure tasks in the following sequence before
installing DevOps Loop.
Set up the Amazon EKS cluster
Configure storage (EBS and EFS)
-
Perform the following steps to install the Amazon EBS CSI Driver (RWO
Storage):
-
Perform the following steps to create an Amazon EFS for shared
storage:
-
Perform the following steps to install the EFS CSI Driver (RWX
storage):
Install the AWS Load Balancer Controller
Perform the following steps to install the AWS Load Balancer
Controller:
This controller automatically provisions AWS load balancers based on
Kubernetes resources.