DEV Community

Arun Kumar for AWS Community Builders

Posted on

2

Blocking bots using AWS WAF

Example to block bots on APIGateway

  • First create a condition. Below example condition is to match a header —

1

  • Then create a rule. A rule can have multiple condition. Ideally a rule condition is a group of related checks.

2

  • Then associate the rule to the web-acl that the APIGateway endpoint points to.

3

  • Example below is a webacl used by an app endpoint.

4

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay