awslabs / amazon-documentdb-tools

Tools for use with the Amazon DocumentDB managed document database service.
Apache License 2.0
124 stars 59 forks source link

global-clusters-automation: add support for Performance Insights & I/O-optimized #94

Closed dbonser closed 6 months ago

dbonser commented 10 months ago

Chnage add_secondaryCluster.py and failover_and_convert_to_global.py to support configuring I/O-Optimized and Performance Insights settings.

I/O-Optimized can be specified when creating the secondary cluster. Performance Insights can only be enabled after the secondary cluster instances have been created.

gottumuk commented 7 months ago

@dbonser @tmcallaghan Do we also need to enable PI and change the Storage type to the failed over cluster (new primry) or just the new secondary cluster.

dbonser commented 6 months ago

@tmcallaghan I tested all scenarios against @gottumuk's changes and it looks good. Ready to merge.