DDoS Protection with AWS WAF

Поділитися
Вставка
  • Опубліковано 23 жов 2023
  • Basic configuration for AWS WAF, solely focused on dealing with L7 DDoS attacks. This is by no means a comprehensive WAF configuration, but it's super effective against HTTP floods.
    #aws #waf #ddos
  • Наука та технологія

КОМЕНТАРІ • 17

  • @ianlamb1910
    @ianlamb1910 7 місяців тому +4

    Exactly what I needed, brilliant video and covers a lot of important points, thank you.

    • @ianlamb1910
      @ianlamb1910 7 місяців тому

      Out of curiosity, say if an IP address was blocked, is that just for the 5 minute window, or does that go into a blocked ip list which is editable? The latter is very appealing to me.

    • @the-aws-ninja
      @the-aws-ninja  7 місяців тому +1

      The IP remain limited until it stops sending traffic for a while. The list is not editable, but you can use cli or api to list the offending IPs - docs.aws.amazon.com/waf/latest/developerguide/listing-managed-ips.html

    • @ianlamb1910
      @ianlamb1910 7 місяців тому +1

      @@the-aws-ninja Great thanks are you going to do a video on setting up CloudFront for all that additional noise you spoke of here? Would love to see it.

  • @solo-yl8uc
    @solo-yl8uc 4 місяці тому +1

    thank you so much

  • @VijayLaxmi-kv9qq
    @VijayLaxmi-kv9qq 8 місяців тому +1

    I don't know computer knowledge,,,,, thanks lot,,,❤❤

  • @jcprangue9070
    @jcprangue9070 7 місяців тому +1

    hi thanks for this video, question is this aws shield / waf apply in all ec2 servers?

    • @the-aws-ninja
      @the-aws-ninja  7 місяців тому

      You apply waf to CloudFront, alb, api gw, and a few other services. Shield is applicable to CloudFront and alb, as well as elastic IP

  • @milanminchev7112
    @milanminchev7112 3 місяці тому +1

    Do I need to point the aws instance/domain somewhere after creating the rules ? I mean I have a single web apache server in aws ec2, this rules will apply automatic without pointing to the instance or I need to point this rules to the instace/domain ?

    • @the-aws-ninja
      @the-aws-ninja  3 місяці тому

      I need to attach the web acl to a CloudFront distribution or an ALB, and they should point to your instance.
      If it's just a single server, CloudFront is cheaper and better in your case.

  • @Achrafsouk
    @Achrafsouk 8 місяців тому +1

    How would solve the following risk with POST based rate limiting: A single IP can easily cause a denial of service to other users by POSTing beyond this limit.

    • @the-aws-ninja
      @the-aws-ninja  8 місяців тому +1

      Absolutely. You should always keep multiple layers of rate based rules - IP based for non Distributed attempts, and non IP based for other attacks.
      You can also create, for the POST scenario, 2 rate based rules - one set as low as 100 requests per IP, scoped down to only POST requests, and another rule, set at a higher threshold, to count ALL POST requests.
      Thank you for this question!

    • @Achrafsouk
      @Achrafsouk 8 місяців тому +1

      Thank you for the awesome content@@the-aws-ninja

  • @Kira-gc2er
    @Kira-gc2er 2 місяці тому

    Hello i have an ec2 instance. How do i link the instance to the waf?

    • @the-aws-ninja
      @the-aws-ninja  2 місяці тому

      Either put an ALB on top of it, or better use CloudFront. Attach WAF to either ALB or CloudFront

  • @RonnyPortillo
    @RonnyPortillo 2 місяці тому

    hello! It works in Elastic Beanstalk apps?

    • @the-aws-ninja
      @the-aws-ninja  2 місяці тому

      You can certainly use WAF on top of ALB