Hello,
We would like to create an iRule that routes all traffic that comes in on a virtual server listening on 3306 and redirect it to a cname record of an AWS RDS instance “test.rds.amazonaws.com:3306”. Can someone please provide an example of how we might be able to do this?
Thank you for the help!
Hi Guy,
if you are using big-ip version 12 or later, you don’t need an iRule.
1. Set DNS in your F5
2. Create FQDN(test.rds.amazonaws.com) Nodes
3. Create a pool containing the Nodes you created above and set the port 3306
4. Create a virtual server with snat autonat, and add the pool.
That is it. More info is here.
Hope it helps
Please mark it as answer if it works
Regards