1 - To have rightsizing recommendations generated we need to follow the datadog integration guide.
2 – To perform rightsizing, you first need to configure EventBridge for Essentials for all your accounts by following this guide.
3 – Once the EventBridge is setup and DataDog is integrated as per Step 1 and Step 2 – you should start seeing recommendations in Rightising page within 24 hours of DataDog Integration
4 – To go to rightsizing Recommendations – Go to Essentials Tab in the Main Menu > Rightsizing.
5 – This is the Recommendations Page. Currently we Support only EC2, in future you can see more tabs for RDS, etc. The page has Columns that show us The Instance ID and Instance Name, ENv, Current size, recommended size, and region. Along with Annual and Monthly Savings. Lastly you’ve Actions button.
6 – To rightsize please click the Actions button for selected Resource or Group of Resources. That leads you to this details page.
7 – The details page, you have the account and target selected by default, if you’ve finished the Step 2 successfully. If not you’ll see a message to set up Eventbridge first to select a valid Target. That takes you back to Step 2. If everything is good the only thing needs to be done here is check resource details and click the Rightsize button.
8 – Above step will redirect you to the nSwitch page. Where it has created and scheduled an nSwitch for 10 minutes in future if you selected “Now” as an option or your selected date and time if you choose “Later” as an option.
9 – This is the nSwitch page where you can monitor your scheduled Rightsize trigger. You can delete it before it has run or is scheduled to run. But once it’s triggered you can’t delete it.
10 – Next you can move to AWS to check if the Instance has rightsized to the recommended family type.
Notes & FAQs
- EC2 rightsizing requires a downtime, AWS has no SLA but in our experience it takes 2-3 minutes. It depends on the size of the instance.
- EC2 rightsizing currently has recommendations for only downsizing, however, potentially we can add upsizing recommendations as well in future.
- EC2 rightsizing can fail for instance with Encrypted EBS volumes or instances where hibernation is enabled. Currently we mark those instances on the recommendations page in the UI and disabled them from getting rightsized. We are working on a feature to support those types as well.
|Cloudwatch Agent Configuration On your Linux based EC2
|Essentials for Storage
|EventBridge Integration for Scheduler
|nOps Scheduler with Terraform