简体   繁体   English

如何配置AWS ELB阻止某些IP地址,例如阻止刮板?

[英]How can I configure AWS ELB to block certain IP addresses, e.g., to block scrapers?

In my web logs, I see a very large number of requests originating from the same IP address. 在我的Web日志中,我看到大量来自同一IP地址的请求。 A closer look at the type of requests leads to the conclusion that it is a scraper. 仔细查看请求的类型可以得出结论,它是一个刮板。 How do I block the IP address of this scraper in AWS ELB? 如何在AWS ELB中阻止此刮板的IP地址?

Use the AWS console as follows: 如下使用AWS控制台:
1. Select AWS Service "VPC" See screenshot 1.选择AWS服务“ VPC” 查看屏幕截图
2. Select in the left menu "Network ACLs" 2.在左侧菜单中选择“网络ACL”
3. Select the VPC in which your ELB is running, Click "Inbound Rules", Click "Edit", and supply rules to deny specific IP addresses. 3.选择运行ELB的VPC,单击“入站规则”,单击“编辑”,然后提供规则以拒绝特定的IP地址。 Give them a lower "Rule#" than the "Allow 0.0.0.0/0 rule, so that they are executed first. See screenshot 给他们一个比“允许0.0.0.0/0规则”更低的“规则#”,以便首先执行它们。 请参见屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何设置 AWS ELB 阻止来自给定 IP 的过多查询? - How can I set AWS ELB block too many queries from a given IP? 我如何获得所有可以执行特定 AWS 操作的用户(例如 iam-CreateAccessKey、ec2-AssociateIamInstanceProfile)? - How do I get all users that can perform certain AWS actions (e.g. iam-CreateAccessKey, ec2-AssociateIamInstanceProfile)? 具有通用文件系统(例如EBS)的AWS ELB自动扩展组 - AWS ELB Autoscaling group with common filesystem (e.g. EBS) 如何将所有外部IP阻止到AWS ELB后面的端点? - How can I block all external IPs to endpoints behind AWS ELB? AWS ELB IP地址是ELB独有的吗? - Are AWS ELB IP addresses unique to an ELB? 内部AWS ELB ip地址是否更改 - Do Internal AWS ELB ip addresses change aws 是否会根据任何因素阻止特定的 IP 地址? - Does aws block specific ip addresses based on any factor? 如何解决未包含在可达性分析器工具中的 AWS 资源类型之间的连接问题? (例如 Lambda 函数) - How can I troubleshoot connectivity issues between AWS resource types that are not included in the Reachability Analyzer tool? (e.g. Lambda functions) 如何阻止来自 AWS ELB 的奇怪 HTTP 请求 - How to block strange HTTP requests from AWS ELB 我在哪里可以找到AWS服务的区域字符串列表,例如:s3 - Where can I find the list of region string for AWS services, e.g.: s3
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM