Using Console
Using CLI
<offering-id>
with the ID of the reserved node offering you want to purchase and <count>
with the number of nodes you want to purchase.
<cluster-identifier>
with the identifier of your Redshift cluster, <node-type>
with the type of nodes you want to use, and <number-of-nodes>
with the total number of nodes in the cluster.
Using Python
modify_reserved_node
method to modify the reserved node lease with an extended duration.Step 4: Schedule the script to run periodically
You can schedule the script to run periodically using a cron job or a scheduler like AWS CloudWatch Events. Set it to run daily or as frequently as needed to check for reserved node leases expiring within the next 7 days.By following these steps and customizing the script according to your requirements, you can effectively remediate the issue of Redshift Reserved Node Lease Expiration in the next 7 days using Python.