3.5.1. Confirm HA Across AZ iApp

The CloudFormation template will automatically create a device trust between Big-IP1 in Availability Zone #1 and Big-IP2 in Availability Zone #2, resulting in a working HA f5 cluster in AWS. To confirm: Device Management => Device Trust.

../../_images/1_device_trust.png

From the Big-IP1 Configuration Utility (WebUI), iApps => Application Services => Applications => HA_Across_AZ. The F5 CloudFormation template has automatically installed and configured the HA_Across_AZ iApp that maps a shared Elastic IP to the active Big-IP. This elastic IP is ready to automatically attach to the standby unit (thus making it active) if there is a problem/outage in the AZ.

../../_images/2_ha_across_az.png

3.5.2. Explore instance tags for web servers

Services => INSTANCES => Instances => web-az1. Select the “Tags” tab below. Note the “findme : web” tag. Do the same for web-az2. Services => INSTANCES => Instances => web-az2. Select the “Tags” tab below. Note the “findme : web” tag. We’ll use these tags to auto-discover these NGINX web servers as pool members.

../../_images/2a_ec2_web_server_tags.png

3.5.3. Dynamically discover and populate web server pools with the Service Discovery iApp

On Big-IP1, iApps => Application Services => Applications => Create New Application Service.

Name: service_discovery

Template: f5.service_discovery

Fill in the iApp template parameters. Leave defaults where not explicitly called out below.

Parameter Value
Cloud Provider
In which cloud provider are the pool members deployed? US West(Oregon
Pool
What is the tag key on your cloud provider for the members of this pool? findme
What is the tag value on your cloud provider for the members of this pool? web

Scroll down and click [Finished].

../../_images/3_service_discovery1.png ../../_images/3_service_discovery2.png ../../_images/3_service_discovery_finished.png

Local Traffic => Pools => service_discovery_pool has been created.

../../_images/4_service_discovery_pool_created.png

Local Traffic => Pools => service_discovery_pool => members. Pool members have been auto-populated.

../../_images/5_service_discovery_pool_members.png

On the standby Big-IP, Local Traffic => Pools => service_discovery_pool. The service_discovery_pool is ready on the standby unit as well. Config sync works.

../../_images/6_service_discovery_pool_members_standby_bigip.png