

This lowers origin requests and optimizes your backend infrastructure.įor admin users, you’ll define custom rules in your second AWS WAF to only allow requests based on a special session cookie set by Drupal for authorized users. As traffic scales up, CloudFront serves more requests from cached content at the edge locations. CloudFront will be configured to cache and serve content securely over HTTPS using the closest edge location, leading to faster page downloads. To do this, create two independent CloudFront and WAF configurations with respective firewall rules to secure the Drupal backend.įigure1: Separate domain names for admin users and viewers of contentįor viewers, you’ll define custom rules in AWS WAF to block all of the path patterns pertaining to the admin sections of the CMS.

AWS DRUPAL UPDATE
Here, you want to restrict anonymous viewers from accessing URL patterns related to content update operations, for example: /node, /admin, /core, /batch, etc. In this setup, the admin and public website have different domain names.

Scenario 1: Separate domain names for admin users and viewers of content Or, you can use the same domain name for both. In this post, you’ll learn some strategies to improve security while delivering content using CloudFront and AWS WAF in these two scenarios. When using Drupal, a popular CMS, you can set up separate domain names to access the section where you make content updates (we’ll call it the “admin domain name”) and for the public website. As part of the CMS, there’s an admin section where content updates are made, and a publicly available website for viewers to consume the content.
AWS DRUPAL HOW TO
Furthermore, it provides mechanisms to protect your application from Layer 7 attacks (the application layer of the OSI model).Ī content management system (CMS) helps content owners create and maintain articles and sections on a website without having specialized knowledge of how to present it in a browser. Additionally, AWS WAF is a managed web application firewall service that fully integrates with CloudFront, Application Load Balancer (ALB), Amazon API Gateway, and AWS AppSync. This is true for static cacheable content and dynamic content because of optimizations done at different stages of the request/response cycle. Learners can go through the modules to grasp the process at their own pace.In this post, you’ll learn how to secure and accelerate the delivery of Drupal-based websites using Amazon CloudFront, AWS Web Application Firewall (AWS WAF), and Amazon CloudFront Functions.ĬloudFront is a content delivery network service (CDN) offering improved security and acceleration of the content served through it. The tutorial is split into 5 comprehensive modules. According to the tutorial, using a fully managed database hosting solution like Amazon RDS helps in offloading a lot of database maintenance work. The tutorial describes setting up a Drupal site using the Amazon Relational Database Service (Amazon RDS). The composable nature and modular structure of Drupal allow developers to easily curate websites to the peculiar needs of the website owners.Ī tutorial published by Amazon Web Services (AWS) explains how to deploy a Drupal website using AWS services. Drupal can be used to deploy any high-volume websites like corporate websites, political campaigns, government sites, and blogs. The merits of the Drupal content management system (CMS) are pretty well known.
