An AWS function called AWS Compute Optimizer helps you in selecting the best Amazon EC2 instances for maximum effectiveness and performance.
Compute Optimizer analyzes your past resource usage using machine learning.
Through data analysis, it makes recommendations on how to optimize computing efficiency without going over budget. It then displays to you if your resources are optimal... https://supportfly.hashnode.dev/what-is-aws-compute-optimizer-the-complete-guide