Forum Discussion
Access to AWS Hosted Websites.
You could likely use a performance virtual server with a fastl4 profile and http profile attached in order to apply an irule. The irule would evaluate the url, and forward the packets to the appropriate next hop via a single member pool. Something like:
when HTTP_REQUEST {
if {[HTTP::host] equals "www.transactioncompany.com" }{
node <next-hop-ip-node>
}
Be sure to disable port and address translation in the virtual server configuration.
The above irule would be more computationally efficient if implemented as an ltm policy so I'd suggest such but the logic remains the same.
You could alternatively route the entirety of the relevant availability zones statically on the F5 via AWS' IP Range publication (https://ip-ranges.amazonaws.com/ip-ranges.json) . Change of the entire CIDR for the availability zone is low in comparison to the IP changing within the CIDR space.
Good Luck
Sorry, I'm a little bit confused. In order to get the traffic to the Big IP would I need to make a DNS entry internally and set that IP to the VIP IP, then have all of their traffic flow to that. From there it would run the irule as suggested?
Also, can you please explain the "nod <next-hop-ip-node>" line to me?
Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
