f5 big-ip
8 TopicsEffective Traffic Management: Addressing ADC04's Insufficient Traffic Controls
Applications today face unprecedented demand variability, requiring organizations to prioritize effective traffic management to ensure a seamless user experience. ADC04, one of the key challenges in application delivery per F5's "Application Delivery Top 10," highlights insufficient traffic controls. This issue plagues high-demand environments across industries such as e-commerce, healthcare, high-tech, automotive, insurance, and more, leading to performance bottlenecks, reduced availability, inefficiencies, and scalability challenges. Let's discuss the implications and solutions for this issue, with an added use case to demonstrate practical implementation. AI Reference Architecture The Challenge of Insufficient Traffic Controls Modern digital ecosystems experience fluctuating traffic volumes due to use cases like e-commerce promotions, flash sales, or API-driven workloads. For example, an e-commerce API could go from handling hundreds of requests per second (RPS) to thousands or more during promotional events. Without proper rate limiting, throttling, or caching mechanisms, public APIs become vulnerable to overburdened backend services, Distributed Denial of Service (DDoS) attacks, and inefficient scaling. Automated processes, such as analytics workloads, CI/CD deployments, and backups, exacerbate uneven workloads on backend systems. Furthermore, modern AI applications with data-intensive processing introduce yet another layer of complexity, requiring sophisticated traffic controls. The Consequences of Inefficient Traffic Controls Performance Issues Excessive traffic without sufficient controls leads to backend overload, degrading application response time. For example: User Frustration: Slow response times result in poor customer experiences, where 70% of shoppers abandon purchases due to delays. Critical Application Failures: In AI use cases, such as real-time conversational bots, processing delays impact outcomes and user trust. Reduced Availability API services lacking rate limiting and traffic throttling are especially prone to DDoS attacks or service outages. Additionally, backend systems may face resource starvation due to unoptimized caching mechanisms, reducing availability even during normal traffic conditions. Limited Scalability Applications unable to intelligently manage traffic flows struggle to handle unexpected traffic spikes. Inefficient caching and chaotic workload distribution limit the capacity to scale dynamically. Operational Inefficiencies The absence of automated traffic controls forces manual monitoring and intervention during traffic surges. High operational overhead and inefficient resource usage affect cost-effective management of infrastructure. Use Case example: Implementing Traffic Controls for an E-Commerce Public API The diagram below illustrates a practical implementation of traffic controls using advanced Application Delivery Controller (ADC) features (e.g., BIG-IP Local Traffic Manager) for an e-commerce public API. While tailored for e-commerce, these are equally applicable to other industries, such as finance, insurance, high-tech, and automotive. Key Features for Effective Traffic Management: Global Rate Limiting: Enforces a cap on total requests per second (RPS) to avoid backend overload. Per-API Key Throttling: Limits RPS at an API key level (e.g., 100 RPS per user), ensuring fair usage. CAPTCHA Trigger: Introduces CAPTCHA challenges for clients exceeding predefined limits to mitigate abuse. Circuit Breaker Logic: Detects faults in backend API servers and reroutes traffic to stable instances where possible. Traffic Forwarding or Rejection: Directs healthy requests to backend API servers and rejects problematic traffic. Comprehensive Logging and Metrics: Logs control events, such as rate-limit breaches or circuit-break activations, and streams them into observability platforms like ELK, Prometheus, or Datadog for dashboards and automated alerts. Functionality Overview Clients Send API Requests: Public API clients interact with the ADC (BIG-IP LTM), where all incoming requests are initially processed. Rate Limiting and Key Enforcement: The ADC enforces global rate limits and per-client throttling policies to avoid overloading backend servers. Action on Violations: Requests breaching limits trigger appropriate actions—delays, CAPTCHAs, or outright rejection. Health-Check Monitoring: The ADC regularly monitors backend API servers for faults and dynamically reroutes traffic to healthy nodes using circuit-breaker policies. Logs and Metrics Streaming: All traffic patterns, rule activations, and violations are logged and streamed to observability platforms for operational transparency. Best Practice Recommendations for Traffic Controls Rate Limiting and Throttling Global and per client rate limits are critical for protecting backend services during demand surges. For example: Put a 100 RPS cap per API key. Differentiate limits for premium services or geographies where critical workloads demand higher quality of service. Intelligent Caching Caching reduces backend load by offloading repetitive requests: Use semantic and edge caching for dynamic workloads like AI APIs. Adopt adaptive caching mechanisms to handle variable traffic patterns and reduce latency. Circuit Breaker Logic Circuit breakers prevent cascading failures in the API ecosystem by rerouting traffic to healthy systems: Monitor backend server health dynamically. Use adaptive retry mechanisms to minimize disruptions. Observability and Logging Real-time logging and monitoring tools like ELK or Prometheus provide insights into API performance: Set up custom dashboards to monitor API health, rate-limit violations, and traffic loads. Automate alerts for anomalies (e.g., high latency or recurring limit breaches). Conclusion As demonstrated by the use case, robust traffic controls are essential for managing fluctuating workloads, ensuring availability, and optimizing operational efficiency. Layered controls such as rate limiting, advanced caching, and circuit breaker mechanisms enforce resilience and scalability. Integrating observability tools ensures transparency and rapid issue resolution in real time. With insufficient traffic controls identified as a major challenge, adopting these strategies is crucial for long-term API operational success, particularly for high-traffic environments across industries such as e-commerce, finance, insurance, high-tech, and automotive. Reference Article Managing Traffic with Bandwidth Controllers Intelligent Traffic Management with the F5 BIGIP Platform Mitigating OWASP API Security Risks: Unrestricted Resource Consumption using BIG-IP iRule::ology - Table Based Rate Limiting AI reference architecture ADSP Platform overview The Application Delivery Top 1049Views1like0CommentsADC02 – Lack of Fault Tolerance & Resilience in Enterprise Applications Using A2A Protocol
Introduction In the world of enterprise applications, fault tolerance and resilience play a central role in ensuring uninterrupted service delivery. However, the absence of these critical components can lead to degraded performance, downtime, costly inefficiencies, and dissatisfied users. This article explores fault tolerance challenges using the A2A protocol in enterprise applications, leveraging F5 BIG-IP to resolve primary data center failures, as illustrated in the attached diagram. AI Reference Architecture The Use Case at a glance The architecture for this scenario involves: AI Clients initiating A2A traffic routed via a Primary BIG-IP LTM. The Primary BIG-IP LTM processes the requests and routes intelligently based on A2A protocol inspection. In the event of a Primary BIG-IP failure, a Standby BIG-IP LTM in a high availability (HA) configuration takes over seamlessly. AI Agents (hosted across multiple instances) process user traffic through the Active BIG-IP, ensuring continuous service availability. This structure ensures resilience while avoiding performance bottlenecks caused by load imbalances or failures. Consequences of a Lack of Fault Tolerance and Resilience Impact on Performance Without adequate fault tolerance mechanisms: Failures in a primary system increase the load on remaining servers, causing degraded response times. Systems experience 35% more downtime during high-load scenarios, as indicated by LoadView’s 2024 network performance report. Impact on Availability A lack of redundancy or failover capabilities results in prolonged downtime when a failure occurs, tarnishing organizational reputation and eroding user trust. In complex environments, cascading failures can be triggered, amplifying the chaos. Impact on Scalability Systems lacking fault tolerance cannot scale dynamically to meet changing traffic demands. Rapid traffic surges overwhelm resources, causing bottlenecks. Overprovisioning as a stopgap becomes costly and inefficient. Impact on Operational Efficiency When failures occur, manual interventions become necessary, which increase operational overhead, downtime, and costs. Automated mechanisms for failover and load balancing are critical in reducing reliance on human intervention and ensuring operational efficiency. Solutions to Enable Fault Tolerance and Resilience Using F5 BIG-IP Load Balancing with BIG-IP F5 BIG-IP's iRules dynamically route A2A traffic, ensuring intelligent management even in volatile conditions. A load balancing configuration includes: Active-Standby Configuration: Load balancing redirects traffic to the standby BIG-IP in case of failure. Active-Active Configuration (Optional): For consistently high traffic volumes, active-active HA ensures even traffic distribution, improving both availability and scalability. High Availability (HA) Setup BIG-IP’s HA architecture supports synchronized active and standby systems: Failover Objects and Floating IPs allow seamless rollover during primary system failures. Redundant servers prevent single points of failure, ensuring uninterrupted operations. Comprehensive Health Monitoring Advanced health checks go beyond simple pings to assess the full responsiveness and integrity of applications and supporting infrastructure: Use distributed health checks from geographically disparate locations to simulate actual user experiences. Create application-specific health checks to test backend systems fully. Programmable Infrastructure Programmable infrastructure with F5 BIG-IP allows organizations to: Customize fault-tolerance strategies tailored for specific applications. Adjust traffic dynamically in real-time using programmable application delivery controllers (ADCs). Automation for Instant Response By integrating failover automation, organizations can: Detect and mitigate failures faster, reducing downtime. Lower operational overhead by minimizing manual interventions. Best Practices for Fault Tolerance Optimization Readiness Planning Use resources like "BIG-IP HA - Do it the Proper Way" to correctly implement HA configurations. Synchronize configurations and session data between BIG-IP devices. Tailored Load Balancer Configurations Optimize load balancing policies for real-world traffic patterns. Implement automated traffic redirection during outages. Proactive Monitorin Constantly monitor application performance via distributed health checks described in the "F5 Academy - BIG-IP HA - Do it the Proper Way". Resilience Testing Periodically test failover functionality to ensure system readiness to handle failures under real-world conditions. Resource Scalabilit Leverage the F5 Active-Active HA Configuration for highly scalable environments. Why Fault Tolerance Matters Fault tolerance isn’t just a technical concept; it directly dictates application availability, performance, and scalability. Proactive strategies like HA, programmable infrastructure, and automation enable organizations to build resilient systems capable of handling any disruptions. Conclusion In the ever-evolving digital landscape, resilience and fault tolerance are no longer optional—they are imperative. Leveraging F5 BIG-IP solutions for HA, intelligent load balancing, and failover mechanisms ensures applications remain available, scalable, and efficient, even during disruptions. By building fault-tolerant systems, enterprises not only meet today’s challenges but also position themselves for future growth and stability. Learn More Explore these resources to dive deeper into enabling fault tolerance and resilience: Intro to: BIG-IP HA - Do it the Proper Way High availability on F5 BIG-IP load balancers F5 BIG-IP HA Active Standby Configuration F5 Active-Active HA Configuration F5 Academy - BIG-IP HA - Do it the Proper Way ADSP Platform overview AI reference architecture The Application Delivery Top 1046Views1like0CommentsF5 BIG-IP LTM pool no outbound traffic
Hello, I am trying to setup a new virtual server (port 80) on F5 BIG-IP. I can ping the VIP and all its member IP. I can ping to the self IP of the F5 from the member server. Service is http and it's running normaly when I'm accessing the server directly, but it gave me a blank page if I access it using the VIP. When I check the pool statistics, it shows bits & packet IN but no bits & packets OUT. I am totally new into this BIG-IP thing, can someone please guide me as clear as possible of what I should do to get this working? Thanks in advance :)1.9KViews0likes15CommentsF5 App Error - Routing Table Could Not be Patched - MacOS
Hi All, I've been having issues with connecting to F5 VPN BIG-IP Edge client with the newer Macbook Pro with the i9 Processor 15" running the Mojave MacOS. It goes through the checks ok and before it connects it disconnects straight away and keeps reconnecting then disconnecting again. Using another mac machine (Macbook Air) I'm able to connect perfectly fine with the exact same settings. I've done a clean install on both machines to see if I could replicate the issue but it looks like it could either be a software/hardware locally with the machine not being able to write to the routing table. I've contacted the our F5 support team that we use and the logs say that it's connecting fine but it just drops out on the local machines end. Looking at the debugging logs I can see that I get an error: 2019-07-16, 15:45:35:000, 853, 853, edge, 48, Tunnel Server, Connecting state 2019-07-16, 15:45:36:000, 853, 853, edge, 2, Disconnected state, Error code, Routing table cannot be patched Can anyone shed some light on this issue? Or how to resolve the Routing Table cannot be patched? Any help would be greatly appreciated. Cheers, Gez783Views0likes1CommentEnabling SharePoint 2013 Hybrid Search with the BIG-IP
Over my past several blog posts, I’ve talked about federating our on-premise environments with Office 365. Now, that we have that handled, (it’s handled right?) let’s talk about another lesser known piece of the puzzle; hybrid SharePoint environments. With federation and SSO between on-premise applications and Office 365 provided by the BIG-IP and APM, (Access Policy Manager) users can move seamlessly between their on-premise SharePoint and SharePoint online as if they were one integrated application. Cool right? But what about when I need to search for content across environments? Funny I should ask. That’s what this post is all about. Microsoft actually has this figured out. The only piece missing is a device that can act as the reverse proxy for the on-premise environment and facilitate the secure connection between the two environments. Hmmm… What could we use? Configuring Hybrid Search for SharePoint 2013 This post covers the pieces required to use the BIG-IP as a reverse-proxy for a hybrid SharePoint search deployment. For guidance on configuring both your on-premise SharePoint 2013 and SharePoint Online environments refer to the Hybrid for SharePoint 2013 guidance provided by Microsoft. It’s quite thorough and, to be honest a little daunting. Currently, Microsoft’s SharePoint 2013 hybrid capabilities are intended to let users in Office 365 access and search across certain content from an on premises SharePoint farm. For detailed information on architectural recommendations and limitations take a look at the blog post from Microsoft architect, Steve Peschka. Client Certificate authentication is utilized to allow secure access for hybrid search, (SharePoint content located both on-premise and in the cloud) from Office 365 environment. To accomplish this a target application is configured in the SharePoint Online Secure Store where a client certificate, (issued by a public root certificate authority). Figure 1 – SharePoint Online Secure Store & Target application Configuring the BIG-IP for Client Certificate Authentication The following configuration was tested by F5 in collaboration with the Office365 product team. The testing was conducted at the Microsoft Technology Center in Irvine where an environment was provided for hybrid enterprise search & LOB scenarios between O365 and on-premise SharePoint farms. We collaborated with the MTC’s expert staff and took advantage of the alliance partnership between Microsoft and F5, whose solutions were made available as part of their engagement. For the purposes of hybrid search, the BIG-IP and LTM, (Local Traffic Manager) acts as a reverse proxy providing a secure Internet facing endpoint for connections from the SharePoint Online environment. The deployment of SharePoint behind the BIG-IP can either be configured manually or via the BIG-IP iApp configuration. Once SharePoint 2013 has been successfully deployed it is simple matter of modifying the virtual server’s Client SSL Profile. Figure 2 – SharePoint 2013 On-Premise Virtual Server The SSL Profile is configured to require a client certificate for successful access. Additionally, the certificate must be issued from the specified certificate authority whose CA certificate is installed on the BIG-IP. In the example below, (Figure 3) the client certificate presented must be issued by StartCom, Ltd. Figure 3 – Client SSL Profile with Client Authentication Required As long as the certificate installed and configured in the SharePoint Online Secure Store is valid and issued by the appropriate certificate authority, users in O365 will be able to search for and receive results from the on-premise SharePoint environment. Enhancing Security with iRules Ok, the above configuration provides security to the hybrid connection via client certificates. However, it’s still vulnerable. As previously noted, the certificate used must be issued by a public root certificate authority. While this is good, this does not guarantee that the certificate presented is the actual certificate configured in the SharePoint Online environment. Merely, it just guarantees that the certificate was issued from the same place, (StartCom, Ltd. in our example). Fortunately, there’s an iRule for that! The iRule provided below examines the client certificate provided and ensures that the serial number of the certificate matches the SharePoint Online configured certificate. This ensures that not only is the presented certificate issued from a specific and valid certificate authority, but also ensures that the certificate itself is an exact match. Figure 4 – Granular_Cert_Verification iRule validating the Client Certificate Serial Number 1: when CLIENTSSL_CLIENTCERT { 2: 3: # Check if client provided a cert 4: if {[SSL::cert 0] eq ""}{ 5: 6: # Reset the connection 7: reject 8: 9: } else { 10: 11: #Example Subject SN: 01 ED 51 12: set subject_sn [X509::serial_number [SSL::cert 0]] 13: log "Client Certificate Received: $subject_sn" 14: #Check if the client certificate contains the correct serial number 15: if {$subject_sn contains "0c e4 11"} { 16: #Accept the client cert 17: log "Client Certificate Accepted: $subject_sn" 18: } else { 19: log "No Matching Client Certificate Was Found Using: $subject_sn" 20: reject 21: } 22: } 23: } Figure 5 – Client Certificate Subject Name Figure 6 – iRule Assigned to Virtual Server That’s It! Not too bad huh? Of course this is the easy part. We still need to ensure that we have properly configured both environments, (on-premise and Office 365) to enable the hybrid search functionality. Accomplishing that is a little more tricky, but definitely doable. Be sure to refer to the links below for information from Microsoft on how to set this up. In addition, check out Steve Peschka’s blog posts for information. Additional Links: Hybrid for SharePoint Server 2013 Configure hybrid Search for SharePoint Server 2013 F5 and SharePoint 2013 – Deployment Guidance Architecture Design Recommendation for SharePoint 2013 Hybrid Search Features – Steve Peschka Blog Big-IP and ADFS Part 1 – “Load balancing the ADFS Farm”2KViews0likes1CommentFirst Time setting up F5
Hi all, this is my first time setting up F5 VE from scratch which was different from managing one which is already setup. I have both application server up & running and both server's firewall is disable. The F5 external IP and the server's IP are on the same subnet and no firewall in between. 1) It seems F5 is able to reach port 5005 and 80 but not 15005. I check back on both servers and port 15005 is in "Listening" state Ltm::Node: 10.1.1.1 (10.1.1.1) Status Availability : available State : enabled Reason : Node address is available Monitor : /Common/icmp (default node monitor) Monitor Status : up Session Status : enabled Ltm::Node: 10.1.1.2 (10.1.1.2) Status Availability : available State : enabled Reason : Node address is available Monitor : /Common/icmp (default node monitor) Monitor Status : up Session Status : enabled Ltm::Pool: QA_Pool_15005 Status Availability : offline State : enabled Reason : The children pool member(s) are down Monitor : QA_15005 Minimum Active Members : 0 Current Active Members : 0 Ltm::Pool: QA_Pool_80 Status Availability : available State : enabled Reason : The pool is available Monitor : QA_80 Minimum Active Members : 0 Current Active Members : 2 Ltm::Pool: QA_Pool_5005 Status Availability : available State : enabled Reason : The pool is available Monitor : QA_5005 Minimum Active Members : 0 Current Active Members : 1337Views0likes3CommentsFirst Time setting up F5
Hi all, this is my first time setting up F5 VE from scratch which was different from managing one which is already setup. I have both application server up & running and both server's firewall is disable. The F5 external IP and the server's IP are on the same subnet and no firewall in between. 1) It seems F5 is able to reach port 5005 and 80 but not 15005. I check back on both servers and port 15005 is in "Listening" state Ltm::Node: 10.1.1.1 (10.1.1.1) Status Availability : available State : enabled Reason : Node address is available Monitor : /Common/icmp (default node monitor) Monitor Status : up Session Status : enabled Ltm::Node: 10.1.1.2 (10.1.1.2) Status Availability : available State : enabled Reason : Node address is available Monitor : /Common/icmp (default node monitor) Monitor Status : up Session Status : enabled Ltm::Pool: QA_Pool_15005 Status Availability : offline State : enabled Reason : The children pool member(s) are down Monitor : QA_15005 Minimum Active Members : 0 Current Active Members : 0 Ltm::Pool: QA_Pool_80 Status Availability : available State : enabled Reason : The pool is available Monitor : QA_80 Minimum Active Members : 0 Current Active Members : 2 Ltm::Pool: QA_Pool_5005 Status Availability : available State : enabled Reason : The pool is available Monitor : QA_5005 Minimum Active Members : 0 Current Active Members : 1282Views0likes0Commentslogger /Common/Interface_failsafe_monitor: interface 1.1 is not up (status: )
Hello F5 experts. I have an issue with our two load balancers. I am getting this error : logger /Common/Interface_failsafe_monitor: interface 1.1 is not up (status: ) Checked the load balancer interface 1.1 is showing as up. Checked the switch port which connects the interface 1.1 it is also up. Where can be this error comes from ? Many thanks for your help.318Views0likes2Comments