Security for API Gateway

0

I was wondering how I can/should 'protect' my API endpoint (which triggers a Lambda function.) As the endpoint is publicly visible, it seems that someone could spam it with requests. From what I've read, AWS will as a matter of course, offer some throttling and perhaps some other security? But, I just wondered if there was any guidance, or best practice to follow here? (i.e. should the endpoint be accessed through cloudfront?) Any direction or guidance would be really helpful!

2개 답변
4
수락된 답변

API Gateway provides a number of ways to protect your API from certain threats, like malicious users or spikes in traffic. You can protect your API using strategies like generating SSL certificates, configuring a web application firewall, setting throttling targets, and only allowing access to your API from a Virtual Private Cloud (VPC).

  • Configuring mutual TLS authentication for a REST API
  • Generate and configure an SSL certificate for backend authentication
  • Using AWS WAF to protect your APIs
  • Throttle API requests for better throughput
  • Creating a private API in Amazon API Gateway

https://docs.aws.amazon.com/apigateway/latest/developerguide/rest-api-protect.html

On top of that you have access control https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-to-api.html

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전
0

You can configure SSL, implement authentication/Authorization before processing request and Rate limiting https://docs.aws.amazon.com/apigateway/latest/developerguide/rest-api-protect.html

Sushant
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠