Configuring AWS WAF (Web Application Firewall)

|
| By Webner

AWS WAF web application firewall service is built to protect cloud apps from web attacks like DDoS attacks, SQL injections, Cross site scripting.

Below are the steps involved in configure AWS WAF security:

Step.1 Open CloudFormation and click on create new Stack.
1
Step.2 Select the option (Specify an Amazon S3 template URL)
2
Step.3 Now, open a new tab and open AWS WAF documentation page, then click on Preconfigured Rules & Tutorials section.
3
Step.4 Read it for information and click here to proceed further.
4
Step.5 Click on Deploy Solution option.
5
Step.6 Scroll a little down on this page and locate the download template link, then right click and copy the link.
6
Step.7 Paste it as asked in Step 2
7
Step.8 After pasting URL in box click Next.
8
Step.9 It will ask to provide a name for stack, so provide a suitable name.
9
Step.10 Scroll down and now it is asking for bucket name that will be use to store logs.
10
Step.11 Leave other settings to default and proceed to next page.
11
Step.12 Leave this page also default and proceed click next.
12
Step.13 Now, It will prompt for acknowledgement, select that and click create.
13
Step.14 It will show you below page and this process might take 15-20 min to complete.
14
Step.15 Now on other tab of browser, open WAF menu.
15
Step.16 Click on it from ACL list.
16
Step.17 now click on Rules section and then it will show all the default rules applied using the templates.
17
Step.18 Now open CloudFront in new tab.
18
Step.19 Select the CloudFront Distribution on which you want to apply WAF services to filter traffic
19
Step.20 Click Edit to edit the service.
20
Step.21 Now click on AWS WAF ACL and select from the list that you just created
21
Step.22 Select Logging option to set it to ON and choose the bucket from the list.
22
Step.23 And finally Click on Yes Edit, and it will take some usual time to reflect the changes.
23

Leave a Reply

Your email address will not be published. Required fields are marked *