This repo contains steps for the creation of Application Load Balancer
From the CLI trigger the below commands
Inputs to the CLI-> Subnets Details and Security Group Details
SYNTAX→ aws elbv2 create-load-balancer --name --subnets <SUBNET ID OF INSTANCE 1> <SUBNET ID OF INSTANCE 2> --security-groups
Inputs to the CLI-> VPC ID
SYNTAX→ aws elbv2 create-target-group --name --protocol HTTP --port 80 --vpc-id
Inputs to the CLI-> TARGET GROUP ARN and Instance ID
SYNTAX→ aws elbv2 register-targets --target-group-arn --targets Id=
Inputs to the CLI -> LOAD BALANCER ARN. and Target Groups ARN
SYNTAX→ aws elbv2 create-listener --load-balancer-arn --protocol HTTP --port 80 --default-actions Type=forward,TargetGroupArn=
Inputs to the CLI -> LISTENER ARN and TARGET GROUP ARN
SYNTAX→ aws elbv2 create-rule --listener-arn --priority 10 --conditions Field=path-pattern,Values='/images/*' --actions Type=forward,TargetGroupArn=
Inputs : TARGET GROUP ARN
SYNTAX→ aws elbv2 describe-target-health --target-group-arn