This is the 3rd and final post in the Running WordPress on AWS Lightsail series. In this post, we’ll set up Cloudflare DNS, Web Application Firewall (WAF) and Content Delivery Network (CDN).
The first step of course, is to get a Cloudflare account. Once you sign in, go to the +Add Site menu selection in the upper right-hand side of the screen.
Next, you’ll add the website the “Add Websites” and let Cloudflare scan it.
It will scan the site and it will display the scanning process.
When completed, it shows “Scan Complete” status and then you click “Continue Setup”.
It shows the DNS configuration settings. Verify everything looks correct. You can make changes on this page.
At the bottom of the DNS settings list, click Continue. Select the Cloudflare Plan.
Hit Continue to the DNS Name Servers screen. These are the servers you updated your DNS settings to in AWS Route 53.
It shows the status of Cloudflare. Until the Name Server are updated and replicated out to the other DNS servers, it will show a status of “Not Active”. Once it updated, the status turns green and you can configure the firewall and caching.