how/what to provision for a serverless rds in aws?

0

I want to try serverless database , preferably relational database based on mysql in aws. I am familiar with the concept of relational database. I'm interested in trying out serverless infrastructure and i assume by the name , we only get charged when we run query against the database/table. I'm planning to have one instance of this database in a region. based on some examples i have seen, i have seen multiple instances, with separate read/write instances. can one do without multiple instances/clusters (whatever the aws nomenclature is). one the database is created , can one connect to the database via aws cli or are there any tools recommended?

已提問 1 個月前檢視次數 129 次
1 個回答
0

Hello.

I'm interested in trying out serverless infrastructure and i assume by the name , we only get charged when we run query against the database/table.

Please check the price list below.
Aurora Serverless charges for the ACUs used.
https://aws.amazon.com/rds/aurora/pricing/?nc1=h_ls

Amazon Aurora Serverless is an on-demand, auto scaling configuration that automatically adjusts database capacity based on application needs. With Aurora Serverless, your database capacity automatically scales up or down to meet your application workload needs and shuts down during periods of inactivity, saving you money and administration time. Aurora Serverless measures database capacity in Aurora Capacity Units (ACUs) billed per second. 1 ACU has approximately 2 GiB of memory with corresponding CPU and networking, similar to that used in Aurora provisioned instances.

can one connect to the database via aws cli or are there any tools recommended?

As you may know, you can use something called the Data API to execute SQL via the AWS CLI.
However, please note that as of May 2024, DataAPI is not supported in Aurora Serverless V2 MySQL.
Aurora Serverless V2 PostgreSQL allows you to use DataAPI.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html

profile picture
專家
已回答 1 個月前
profile pictureAWS
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南