Skip to content

Shield Advanced L3/4 only for external NLB

0

Hello, we are planning to subscribe to shield advanced but will only ever use it for L3/4.

We want to apply to a EIPs attached to NLBs.

Now what can we actually "finetune" after attaching the EIP resource to shield advanced? To me it looks like there is nearly nothing else to do. Only "route53 healtchecks" might be an option to "trigger" a DDoS based on these healthchecks instead of "waiting" for AWS logic to kick in. But what actually would happen if the DDoS is triggered by our healhcheck is still unclear for me.

Lets assume we have two NVAs behind the NLBs. We could create a route53 healtheck based on the health of these VMs, right? Or can we only use healthchecks that check the PROTECTED RESOURCE (i.e. the NLB)?

3 Answers
1
Accepted Answer

Shield Advanced has additional mitigation features as listed at AWS Shield detection logic for infrastructure layer threats (layer 3 and layer 4).

There are

  • Lower detection thresholds – Shield Advanced places mitigations at one half of the calculated capacity. This can provide faster mitigations for attacks that ramp up slowly and mitigation of attacks that have a more ambiguous volumetric signature
  • Intermittent attack protection – Shield Advanced places mitigations with an exponentially increasing time to live (TTL), based on the frequency and duration of attacks. This keeps mitigations in place longer when a resource is frequently targeted and when an attack occurs in short burst
  • Health-based detection – When you associate a Route 53 health check with a Shield Advanced protected resource, the status of the health check is used in the detection logic. During a detected event, if the health check is healthy, Shield Advanced requires greater confidence that the event is an attack before placing a mitigation. If instead the health check is unhealthy, Shield Advanced might place a mitigation even before confidence has been established. This feature helps avoid false positives and provides quicker reactions to attacks that affect your application.

Configuring accurate heath checks will improve Shield Advanced mitigation capability. You can refer to guidance at Health-based detection using health checks with Shield Advanced and Route 53. If possible, configure calculated health check that monitors the following:

  • State of a CloudWatch alarm that measures the number of new connections established by clients to the load balancer. You can set the alarm threshold for the average number of new connections at some degree higher than your every day average ( Network Load Balancer: ActiveFlowCount)
  • State of a CloudWatch alarm that measures the number of load balancers that are considered healthy. You can set the alarm threshold either on Availability Zone or on the minimum number of healthy hosts that your load balancer requires (Network Load Balancer: HealthyHostCount)

More details from Health check examples for Shield Advanced

AWS
EXPERT
answered a year ago
AWS
EXPERT
reviewed a year ago
0

see this answer similar to your question https://repost.aws/questions/QUTKp1debUTxmhzT1xljB8_w/how-can-we-add-nlb-s-eip-for-shield-advanced-protection-for-aws-auto-assigned-ips

Additional resources https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-summary-protected-resources.html https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-health-checks.html https://docs.aws.amazon.com/waf/latest/developerguide/associate-health-check.html

Shield Advanced for EIPs on NLBs

  • Limited additional configurations are available for L3/4 protection
  • Automatic enhanced protection against large and sophisticated DDoS attacks

Route 53 Health Checks

  • Can improve responsiveness and accuracy of attack detection
  • Allow Shield Advanced to react more quickly to potential DDoS attacks
  • Don't directly trigger DDoS responses but inform detection mechanisms

Health Check Configuration

  • Can create health checks for both NLB (protected resource) and NVAs (backend resources)
  • Calculated health checks can combine status of multiple NVAs
  • Associating health checks with Shield Advanced provides more context about application health
answered a year ago
0

So "Don't directly trigger DDoS responses but inform detection mechanisms" mean that the "aws magic algorithm" will take this into consideration when deciding if this is actually a DDoS or not? Thats all? So "maybe" it will react quicker?

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.