Mohammad_1363
Jun 30, 2021Altocumulus
Redirect incoming HTTPS request on on prem F5 to AWS ELB
Hello F5 Guru
I have a requirement to redirect incoming https traffic for one of my application to AWS, so when the https request is coming and hitting my VIP on F5 which is on local datacenter that traffic should get redirected to the application which is in AWS.
Please help me to write an iRule for that.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/x/y/" or [string tolower [HTTP::uri]] starts_with "/xx/yy/"} {
here i need a to do something to redirect the traffic to AWS ----- > Please help
} else {
pool pool-xyz-http
}
}