18 C
Canberra
Monday, February 23, 2026

Firewall assist for AWS Amplify hosted websites


Voiced by Polly

Right now, we’re saying the overall availability of the AWS WAF integration with AWS Amplify Internet hosting.

Internet software house owners are continuously working to guard their purposes from quite a lot of threats. Beforehand, for those who wished to implement a sturdy safety posture in your Amplify Hosted purposes, you wanted to create architectures utilizing Amazon CloudFront distributions with AWS WAF safety, which required extra configuration steps, experience, and administration overhead.

With the overall availability of AWS WAF in Amplify Internet hosting, now you can instantly connect an internet software firewall to your AWS Amplify apps via a one-click integration within the Amplify console or utilizing infrastructure as code (IaC). This integration provides you entry to the complete vary of AWS WAF capabilities together with managed guidelines, which offer safety in opposition to frequent internet exploits and vulnerabilities like SQL injection and cross-site scripting (XSS). You can even create your individual customized guidelines primarily based in your particular software wants.

This new functionality helps you implement defense-in-depth safety methods in your internet purposes. You possibly can reap the benefits of AWS WAF rate-based guidelines to guard in opposition to distributed denial of service (DDoS) assaults by limiting the speed of requests from IP addresses. Moreover, you’ll be able to implement geo-blocking to limit entry to your purposes from particular international locations, which is especially priceless in case your service is designed for particular geographic areas.

Let’s see the way it works
Organising AWS WAF safety in your Amplify app is easy. From the Amplify console, navigate to your app settings, choose the Firewall tab, and select the predefined guidelines you need to apply to your configuration. AWS WAF integration in AWS Amplify Hosting

Amplify internet hosting simplifies configuring firewall guidelines. You possibly can activate 4 classes of safety.

  • Amplify-recommended firewall safety – Shield in opposition to the commonest vulnerabilities present in internet purposes, block IP addresses from potential threats primarily based on Amazon inside menace intelligence, and defend in opposition to malicious actors discovering software vulnerabilities.
  • Limit entry to amplifyapp.com – Limit entry to the default Amplify generated amplifyapp.com area. That is helpful once you add a customized area to forestall bots and engines like google from crawling the area.
  • Allow IP handle safety – Limit internet site visitors by permitting or blocking requests from specified IP handle ranges.
  • Allow nation safety – Limit entry primarily based on particular international locations.

Protections enabled via the Amplify console will create an underlying internet entry management record (ACL) in your AWS account. For fine-grained rulesets, you should use the AWS WAF console rule builder.

After a couple of minutes, the principles are related to your app and AWS WAF blocks suspicious requests.

If you wish to see AWS WAF in motion, you’ll be able to simulate an assault and monitor it utilizing the AWS WAF request inspection capabilities. For instance, you’ll be able to ship a request with an empty Consumer-Agent worth. It should set off a blocking rule in AWS WAF.

Let’s first ship a legitimate request to my app.

curl -v -H "Consumer-Agent: MyUserAgent" https://fundamental.d3sk5bt8rx6f9y.amplifyapp.com/
* Host fundamental.d3sk5bt8rx6f9y.amplifyapp.com:443 was resolved.
...(redacted for brevity)...
> GET / HTTP/2
> Host: fundamental.d3sk5bt8rx6f9y.amplifyapp.com
> Settle for: */*
> Consumer-Agent: MyUserAgent
> 
* Request utterly despatched off
< HTTP/2 200 
< content-type: textual content/html
< content-length: 0
< date: Mon, 10 Mar 2025 14:45:26 GMT
 

We are able to observe that the server returned an HTTP 200 (OK) message.

Then, ship a request with no worth related to the Consumer-Agent HTTP header.

 curl -v -H "Consumer-Agent: " https://fundamental.d3sk5bt8rx6f9y.amplifyapp.com/ 
* Host fundamental.d3sk5bt8rx6f9y.amplifyapp.com:443 was resolved.
... (redacted for brevity) ...
> GET / HTTP/2
> Host: fundamental.d3sk5bt8rx6f9y.amplifyapp.com
> Settle for: */*
> 
* Request utterly despatched off
< HTTP/2 403 
< server: CloudFront
... (redacted for brevity) ...
ERROR: The request couldn't be happy


The request couldn't be happy.

We are able to observe that the server returned an HTTP 403 (Forbidden) message.

AWS WAF present visibility into request patterns, serving to you fine-tune your safety settings over time. You possibly can entry logs via Amplify Internet hosting or the AWS WAF console to investigate site visitors tendencies and refine safety guidelines as wanted.

AWS WAF integration in AWS Amplify Hosting - Dashboard

Availability and pricing
Firewall assist is obtainable in all AWS Areas wherein Amplify Internet hosting operates. This integration falls underneath an AWS WAF international useful resource, much like Amazon CloudFront. Internet ACLs might be connected to a number of Amplify Internet hosting apps, however they need to reside in the identical Area.

The pricing for this integration follows the usual AWS WAF pricing mannequin, You pay for the AWS WAF assets you utilize primarily based on the variety of internet ACLs, guidelines, and requests. On prime of that, AWS Amplify Internet hosting provides $15/month once you connect an internet software firewall to your software. That is prorated by the hour.

This new functionality brings enterprise-grade security measures to all Amplify Internet hosting prospects, from particular person builders to giant enterprises. Now you can construct, host, and defend your internet purposes throughout the similar service, decreasing the complexity of your structure and streamlining your safety administration.

To be taught extra, go to the AWS WAF integration documentation for Amplify or attempt it instantly within the Amplify console.

— seb


How is the Information Weblog doing? Take this 1 minute survey!

(This survey is hosted by an exterior firm. AWS handles your data as described within the AWS Privateness Discover. AWS will personal the information gathered through this survey and won’t share the data collected with survey respondents.)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles