Application Load Balancer - Config Steps by Girish
Please follow below steps After configuring ALB & Target Groups.
Note: In your Security group --> Ensure to enable Ports (RDP & HTTP:80)
Step1: Take RDP to Instance-1
Step2: Go to server manager --> Click on add a role --> Select IIS role and then install IIS (Note: it may restart your instance).
Step3: Go to C drive --> Open inetpub folder --> click wwwroot folder --> There will be existing IIS 2 files --> Open PNG file with notepad and enter some text and then save it.
Step4: Open IIS manager --> Goto sites --> Restart default Site.
Step5: Copy ALB Security group Name and go to EC2 Instance --> Go to Security group --> edit outbound rules --> add HTTP rule --> Paste ALB security name as destination.
Please find below screenshot for your kind reference.
Step6: Copy EC2 Security group Name and go to ALB console --> Go to Security group section --> edit outbound rules --> add HTTP rule --> Paste EC2 Instance security name as destination in ALB SG section.
Step8: Restart target EC2 instance as well.
Repeat the same steps in Target/Instance-2 (follow above steps from 1 to 8)
Step9: Goto AWS console --> Open ALB page --> Click on Target Groups and then select Targets window --> see your target should be in healthy status.
Here we go....!!!!!!!!!!!!!!
Step10: Copy the ELB DNS name (Automatically you will get by AWS) and paste it in new google chrome tab.
DNS Eg: b38-alb-1935738834.us-east-1.elb.amazonaws.com
Comments
Post a Comment