How Can I Secure My AWS API Gateway Endpoint from Attacks?

0
13
Asked By CleverPineapple42 On

I'm hosting a static HTML file on AWS Amplify and I've set up an API Gateway to trigger a Lambda function for my contact form. Currently, there's no user authentication or identification involved, which raises concerns about the security of the endpoint, particularly against DDoS attacks. What best practices can I implement to protect my API Gateway?

4 Answers

Answered By DDoSDefender89 On

You mentioned DDoS concerns—are you worried about specific types of attacks like volumetric or stateful TCP ones? It's good to note that AWS Shield provides inherent protection against volumetric DDoS attacks for free, so you might already have some level of protection without any extra configuration.

Answered By ContactFormFan88 On

Just a side note on contact forms: they can be a hassle for users if they lack confirmation messages or if emails get lost in spam filters. You might want to think about either displaying an actual contact email or directing users to a ticketing system instead.

Answered By SecuritySage77 On

A WAF (Web Application Firewall) is essential for perimeter protection. AWS WAF is a solid option, but you can also consider using Cloudflare, which offers a free plan that can help secure your API.

Answered By CloudHero99 On

A great approach is to position your API Gateway behind CloudFront. This way, users can only access your API through CloudFront, and you can also attach a WAF to CloudFront for added security.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.