📅  最后修改于: 2023-12-03 15:29:19.734000             🧑  作者: Mango
Amazon Shield is a cloud-based Distributed Denial of Service (DDoS) protection service that safeguards web applications running on AWS from volumetric attacks or flooding attacks. It is designed to protect web applications from common DDoS attacks like SYN floods, UDP floods, DNS amplification, and HTTP GET floods.
# Amazon Shield protection
aws shield create-protection --name my-protection --resource-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
# Custom protection settings
aws shield update-protection --name my-protection --details "{ \"DDoSProtectionPolicy\": \"VIP\" }"
Above is an example of how Amazon Shield can be used to protect a web application running on an Elastic Load Balancer. The Amazon Shield CLI is used to create and update the protection settings for the application.
Amazon Shield is a powerful and cost-effective DDoS protection service that provides automatic protection, customizable protection settings, and seamless integration with other AWS services. It is a valuable addition to any web application running on AWS, providing 24/7 protection against DDoS attacks.