thiskevinwang / thekevinwang-utterances

0 stars 0 forks source link

2022/03/16/lambda-with-rds-aurora-serverless/ #6

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Serverless Brain Dump: Use Lambda with RDS Aurora Serverless | Kevin Wang's Blog

Part 1 of 3 in a serverless discovery brain dump. This portion focuses on the Lambda (compute) and Aurora (database) layers within the larger picture: FQDN → API Gateway → Lambda → Aurora.

https://thekevinwang.com/2022/03/16/lambda-with-rds-aurora-serverless/

Sportsticket commented 2 years ago

Hi, My name is Pablo Torres and my email is ptorres@sportsticket.uy Can you please send me an email to establish contact? I have a few questions about connecting an Aurora Serverless v2 with a lambda written in java. Of course, I will pay for your time and help

I'll wait for your email

Many Thanks

LeonardoRdz commented 2 years ago

Neither v1 or v2 of Aurora Serverless scales down to 0 when not in use. Even if no one ever uses it, and you have it turned on, it will cost some money. v1 can scale down to 1 RCU and v2 can scale down to 0.5 RCUs when not in use, but not 0.

thiskevinwang commented 2 years ago

@LeonardoRdz - Huh, I thought V1 could scale down to 0. The downside I noticed was that it would take 30+ seconds for a DB cold start.

I do know that V2 is not really serverless per se, as the minimum usage is like you said, 0.5 RCUs.

LeonardoRdz commented 2 years ago

I had to find out the hard way lol. Now I am much more on top of the Billing service.