Please visit my previous blog on how to setup an Active/Standby F5 Big IP on AWS here. The blog also covers some basics of F5 terminologies.
Now its time to get your load balancer up and running. You can run multiple instances of load balanced instances on F5. These are called Virtual Servers on F5.
1: Prerequisites:
2: Setup Nodes on F5:
Now its time to get your load balancer up and running. You can run multiple instances of load balanced instances on F5. These are called Virtual Servers on F5.
1: Prerequisites:
- Make sure that you have your backend servers that you want to load balance ready.
- Make sure that the security groups have the required ports open both for F5 as well as backend server subnets.
- Make sure that the services you want to load balance on these nodes are running :)
2: Setup Nodes on F5:
- Goto Local Traffic > Nodes > Node List. Click Create .
- Give the desired Name and Address.
- Health Monitors as Node Default.
- Click Finished
If the node is reachable you should see the node status as a Blue Box.
3: Create a Pool on F5:
- Goto Local Traffic > Pools > Pool List. Click Create.
- Enter the desired Name.
- Select one of the Health Monitors. This is for checking the health of the backend servers.
- Select the Load Balancing Method.
- Under New Members. Select Node List and add the desired nodes to the pool.
- Click Finished .
- If the pool has been setup properly, it should have a green status.
4: Creating the Virtual Server on F5:
- Add an additional private IP to the the ENI which in on external VLAN. This becomes your Load Balancer IP.
- Goto Local Traffic > Virtual Servers > Virtual Server List. Click Create.
- Enter the desired Name and Type.
- Source Address is the IP range this VS should accept.To allow access from all IPs enter 0.0.0.0/0.
- Destination Address should be the new private IP that we just now created.
- Service Port is the port your service is running on.
- Source Address Translation should be Auto Map. Please note that if you dont do this your Virtual Server will not work and the request would never reach your backend servers.
- From Default Pool select the pool that we had created above.
- Select the other settings as desired. For this exercise, leave the other settings as is.
If the VS has been setup properly, it should show green in the status.
Hit the VS IP and voila! your application is load balanced.
To learn how to integrate AutoScaling with F5 go here
To learn how to integrate AutoScaling with F5 go here
This comment has been removed by a blog administrator.
ReplyDeleteHarrah's Cherokee Casinos - Mapyro
ReplyDeleteHarrah's Cherokee Casinos · 1. 양주 출장마사지 Harrah's Cherokee Casino Resort · 2. 양산 출장샵 Harrah's Cherokee Casino 충주 출장마사지 Resort · 동해 출장안마 3. Harrah's 전라북도 출장마사지 Cherokee Casino Resort · 4.