This workshop provides hands on experience with
- Deploying Serverless API Endpoint using api gateway
- Load testing HTTPS API Endpoint using goad utility and coker
- Deploying WebApplicationFirewall (WAF) to protect the serverless api endpoint
- Demonstrate the WAF request blocking functionality based on header
This workshop makes assumptions on students running it using Cloud9 in us-east-2
region. You may be able to run from Mac
or Windows as well, and in other regions, though workshop steps are not optimised for such environment.
Also, all of the step instructions are relying on the fact that you are positioned within that steps folder.
Cloud9 instance should have IAM Role with following permissions attached to it
- Manage CloudForamtion resources
- Manage AWS Lambda functions
- Manage API Gateway
- Manage CloudWatch resources
- Manage WAF Regional resources
For the simplicity of the workshop conduction, it is recommended to have admin priveleges credentials
You can find instructions here on how to setup Cloud9
Deploy Simple WebAPI with ApiGateway and Lambdas
Install goad. Load test the API. Look at the traffic data.
Deploy the WAF that will detect Load testing header and block traffic.
Run the load testing tool with and without the header. Look at metrics for Web Application Firewall
If you have come this far and felt that was too easy, you can try out some more complex tasks
Remove All of the created resources
Read more about WAF on Official AWS Documentation pages
Thanks for taking your time to go through this workshop.