ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Service · Security, Identity, and Compliance · CLF-C02 အပေါ် ဆက်လေ့လာရန်

AWS WAF

Match the web attack to the WAF rule, and know where a web ACL can and cannot attach.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • AWS WAF filters HTTP and HTTPS requests at layer 7.
  • Rules live in a web ACL attached to CloudFront, an ALB or API Gateway.
  • Count mode lets you test a rule before you block.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
  • SQL injection, cross-site scripting

    Managed rule groups, SQLi and XSS rules
  • One IP floods requests

    Rate-based rule
  • Traffic from blocked countries

    Geo match rule
  • Known bad IPs and bots

    IP reputation list, Bot Control
  • Only the office may log in

    IP set allow rule, default block
Match each web threat to a rule.
  • CloudFront

    Web ACL
    Yes, global
    Instead
    None needed
  • Application Load Balancer

    Web ACL
    Yes, Regional
    Instead
    None needed
  • API Gateway REST API

    Web ACL
    Yes, Regional
    Instead
    None needed
  • Network Load Balancer

    Web ACL
    No
    Instead
    Security groups, Network Firewall
Where a web ACL can attach.

1 / 2

  • CloudFront

    Web ACL
    Yes, global
    Instead
    None needed
  • Application Load Balancer

    Web ACL
    Yes, Regional
    Instead
    None needed
  • API Gateway REST API

    Web ACL
    Yes, Regional
    Instead
    None needed

2 / 2

  • Network Load Balancer

    Web ACL
    No
    Instead
    Security groups, Network Firewall
Where a web ACL can attach.

ဘာလဲ

A web ACL can protect Amazon CloudFront, an Application Load Balancer, an Amazon API Gateway REST API, AWS AppSync and an Amazon Cognito user pool, among others. It cannot protect a Network Load Balancer, because that works at layer 4. For a CloudFront distribution the web ACL is global and is created in US East (N. Virginia). For the others it is Regional.

ဘာလဲ

Rules come in several types. Managed rule groups from AWS and from sellers block common attacks, such as SQL injection, cross-site scripting, known bad inputs and bad IP addresses. A rate-based rule blocks an IP address that sends too many requests in a time window. Geo match rules allow or block countries. IP set rules allow or block lists of addresses.

Turn on logging to Amazon S3, Amazon CloudWatch Logs or Amazon Data Firehose to see which rules matched. WAF is billed per web ACL, per rule and per million requests.

မှတ်ထားရန်

  • Attach to CloudFront, ALB, API Gateway REST API, AppSync and Cognito user pools.
  • Not for a Network Load Balancer.
  • Managed rule groups cover SQL injection, XSS, known bad inputs and IP reputation.
  • Rate-based rules slow down floods from one IP.
  • Geo match and IP set rules control where requests come from.

မှတ်ထားရန်

  • For CloudFront, create the web ACL in US East (N. Virginia).

စာမေးပွဲမှာ

  • “Block SQL injection and cross-site scripting on an ALB” points to AWS WAF managed rules.
  • “Stop one client from sending thousands of requests” points to a rate-based rule.
  • “Only users in two countries may reach the site” points to a geo match rule.