01
Before you repurchase your ElastiCache Reserved Cache Node run describe-reserved-cache-nodes-offerings command (OSX/Linux/UNIX) to get the pricing details and information about available ElastiCache RCN offerings. Use the command parameters provided in the following example to match the specifications of the RCN that you want to renew (repurchase):
aws elasticache describe-reserved-cache-nodes-offerings
--region us-east-1
--cache-node-type cache.m3.large
--duration 94608000
--product-description memcached
--offering-type "Heavy Utilization"
02
The command output should return the requested offering(s) information (pricing and configuration details):
{
"ReservedCacheNodesOfferings": [
{
"OfferingType": "Heavy Utilization",
"FixedPrice": 673.0,
"ReservedCacheNodesOfferingId":
"737a1dd9-85c9-403b-b4fb-b62cbc1e7353",
"UsagePrice": 0.0,
"RecurringCharges": [
{
"RecurringChargeAmount": 0.047,
"RecurringChargeFrequency": "Hourly"
}
],
"ProductDescription": "memcached",
"Duration": 94608000,
"CacheNodeType": "cache.m3.large"
}
]
}
03
Run purchase-reserved-cache-nodes-offering command (OSX/Linux/UNIX) to purchase an ElastiCache Reserved Cache Node based on the offering information returned at the previous step. The following command example repurchase a reserved ElastiCache node with the identifier MyMemcachedRCN-001:
aws elasticache purchase-reserved-cache-nodes-offering
--region us-east-1
--reserved-cache-node-id MyMemcachedRCN-001
--cache-node-count 1
04
The command output should return the new ElastiCache RCN metadata:
{
"ReservedCacheNode": [
{
"ReservedCacheNodeId": MyMemcachedRCN-001,
"ReservedCacheNodesOfferingId":
"737a1dd9-85c9-403b-b4fb-b62cbc1e7353",
"CacheNodeType": "cache.m3.large",
"StartTime ": "2016-10-09T14:37:05.000Z",
"Duration": 94608000,
"FixedPrice": 673.0,
"UsagePrice": 0.0,
"CacheNodeCount": 1,
"ProductDescription": "memcached",
"OfferingType": "Heavy Utilization",
"RecurringCharges": [
{
"RecurringChargeAmount": 0.047,
"RecurringChargeFrequency": "Hourly"
}
],
"State": "payment-pending"
}
]
}
05
Repeat steps no. 1 - 4 to renew (repurchase) other ElastiCache Reserved Cache Nodes that are about to expire, available in the current region.
06
Change the AWS region by updating the --region command parameter value and repeat steps no. 1 - 5 to perform the entire process for other regions.