2 Answers
- Newest
- Most votes
- Most comments
2
Your best solution will probably be API Gateway + Lambda functions. At the rate you specified it may even fall within the free tier (API Gateway - 1M free requests/month for the first year, Lambda functions - 1M invocations + 400,000 GBs / month always).
Thank you, Uri !
1
I would suggest AWS API GW - HTTP Type + Lambda.
One more possible approach to add to the above list is, AWS Application Load balancer + Target as Lambda. But as you said that you do not need load balancing I will not recommend this approach. Also, this approach will be a bit expensive when compared with API Gateway + AWS Lambda given that the AWS ALB will cost some $ per hour
answered 2 years ago
Thank you, Rajas!
Relevant content
- asked a year ago
- Accepted Answerasked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
#3: Yes, Lambda with HTTPs endpoints is available: https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/
If your DB is "talking" HTTP -> why not to consider CloudFront with DataBase as custom Origin? You could configure whatever CORS you need in CF, and you could add Customer header for Auth on CF as well. In this case CF will be your proxy. No need for Lambdas. If you need some code - you could add L@E for additional logic. I dont think CF here as overkill as CDN - it's just transport you need with some features. CloudFront also have FreeTier: 1 TB of data transfer out 10,000,000 HTTP or HTTPS Requests