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?

demandé il y a un mois129 vues
1 réponse
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
EXPERT
répondu il y a un mois
profile pictureAWS
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions