You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RDS guides are divided into two feature groups: RDS, which is focused on instances, and Aurora, which is focused on clusters. The APIs for both of these features are mixed together in the same RDS service client.
This epic is about the RDS instance APIs. The RDS guide is here.
Service actions
Service actions can either be pulled out as individual functions or can be incorporated into the scenario, but each service action must be included as an excerpt in the SOS output.
A scenario runs at a command prompt and prints output to the user on the result of each service action. A scenario can run in one of two ways: straight through, printing out progress as it goes, or as an interactive question/answer script.
Get started with RDS instances
Get available engine families for RDS MySql. rds.DescribeDbEngineVersions(Engine='mysql') and build a set of the 'DBParameterGroupFamily' field values. I get {mysql5.7, mysql8.0}.
Select an engine family and create a custom DB parameter group. rds.CreateDbParameterGroup(DBParameterGroupFamily='mysql8.0')
Get the parameter group. rds.DescribeDbParameterGroups
Get parameters in the group. This is a long list so you will have to paginate. Find the auto_increment_offset and auto_increment_increment parameters (by ParameterName). rds.DescribeDbParameters
Parse the ParameterName, Description, and AllowedValues values and display them.
Modify both the auto_increment_offset and auto_increment_increment parameters in one call in the custom parameter group. Set their ParameterValue fields to a new allowable value. rds.ModifyDbParameterGroup.
Get and display the updated parameters. Specify Source of 'user' to get just the modified parameters. rds.DescribeDbParameters(Source='user')
Get a list of allowed engine versions. rds.DescribeDbEngineVersions(Engine='mysql', DBParameterGroupFamily=<the family used to create your parameter group in step 2>)
Get a list of micro instance classes available for the selected engine and engine version. rds.DescribeOrderableDbInstanceOptions(Engine='mysql', EngineVersion=[selected engine version]), then filter the list to a set that includes 'micro'. I get: {db.t2.micro, db.t3.micro, db.t4g.micro}.
Create an RDS database instance that contains a MySql database and uses the parameter group you created.
Runnable scenario code.
Service action code (may be same as scenario code).
Integration or unit tests.
Scenario and API examples tagged for SOS.
README
The text was updated successfully, but these errors were encountered:
The RDS guides are divided into two feature groups: RDS, which is focused on instances, and Aurora, which is focused on clusters. The APIs for both of these features are mixed together in the same RDS service client.
This epic is about the RDS instance APIs. The RDS guide is here.
Service actions
Service actions can either be pulled out as individual functions or can be incorporated into the scenario, but each service action must be included as an excerpt in the SOS output.
RDS client:
DescribeDbParameterGroups
CreateDbParameterGroup
ModifyDbParameterGroup
DeleteDbParameterGroup
DescribeDbEngineVersions
DescribeDbParameters
DescribeOrderableDbInstanceOptions
DescribeDbInstances
CreateDbInstance
DeleteDbInstance
CreateDbSnapshot
DescribeDbSnapshots
Scenario
A scenario runs at a command prompt and prints output to the user on the result of each service action. A scenario can run in one of two ways: straight through, printing out progress as it goes, or as an interactive question/answer script.
Get started with RDS instances
Metadata
In rds_metadata:
rds_DescribeDbParameterGroups
rds_CreateDbParameterGroup
rds_ModifyDbParameterGroup
rds_DeleteDbParameterGroup
rds_DescribeDbEngineVersions
rds_DescribeDbParameters
rds_DescribeOrderableDbInstanceOptions
rds_DescribeDbInstances
rds_CreateDbInstance
rds_DeleteDbInstance
rds_CreateDbSnapshot
rds_DescribeDbSnapshots
rds_Scenario_GetStartedInstances
SDKs
Exit criteria:
Runnable scenario code.
Service action code (may be same as scenario code).
Integration or unit tests.
Scenario and API examples tagged for SOS.
README
The text was updated successfully, but these errors were encountered: