Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aurora serverless v2 support #13154

Merged
merged 7 commits into from
Jun 6, 2022
Merged

Aurora serverless v2 support #13154

merged 7 commits into from
Jun 6, 2022

Conversation

greedy52
Copy link
Contributor

@greedy52 greedy52 commented Jun 3, 2022

closes #13018

No real code change is required. Only doc updates.

V2 is almost the same as standard Aurora except

  • DB instance class is db.serverless
  • Has some special serverless v2 scaling config.
  • Engine mode is provisioned, not serverless

Testing

  • URL format same as standard
  • CA download, enable IAM auth all worked as expected.
  • GRANT rds_iam TO alice; is still required.
  • Tested tsh db ls/connect worked as expected

Some capture for reference.
aws rds describe-db-clusters

{
    "DBClusters": [
        {
            "EngineMode": "provisioned", 
            "Engine": "aurora-postgresql", 
            "Endpoint": "steve-postgres-serverless.cluster-c8gyaqgvclzt.ca-central-1.rds.amazonaws.com",
            "ReaderEndpoint": "steve-postgres-serverless.cluster-ro-c8gyaqgvclzt.ca-central-1.rds.amazonaws.com", 
            "IAMDatabaseAuthenticationEnabled": true, 
            ...
        }
    ]

aws rds describe-db-instances

{
    "DBInstances": [
        {
            "Engine": "aurora-postgresql", 
            "Endpoint": {
                "HostedZoneId": "Z1JG78A3UK1DU3", 
                "Port": 5432, 
                "Address": "steve-postgres-serverless-one.c8gyaqgvclzt.ca-central-1.rds.amazonaws.com"
            }, 
            "DBInstanceStatus": "available", 
            "IAMDatabaseAuthenticationEnabled": true, 
            "EngineVersion": "13.6", 
            "DBInstanceClass": "db.serverless", 
            ...
        }, 

docs/pages/database-access/guides/rds.mdx Outdated Show resolved Hide resolved
@greedy52 greedy52 enabled auto-merge (squash) June 6, 2022 13:08
@greedy52 greedy52 merged commit e6ad580 into master Jun 6, 2022
@github-actions
Copy link

github-actions bot commented Jun 6, 2022

@greedy52 See the table below for backport results.

Branch Result
branch/v8 Failed
branch/v9 Create PR

greedy52 added a commit that referenced this pull request Jun 6, 2022
greedy52 added a commit that referenced this pull request Jun 14, 2022
@greedy52 greedy52 deleted the STeve/13018_rds_serverless_v2 branch June 14, 2022 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support AWS RDS Auora Serverless v2
3 participants