Cost Optimization Hub
Cost Optimization Hub is a feature within AWS Billing and Cost Management that assists users in identifying and prioritizing ways to reduce their AWS expenses. It consolidates recommendations from various AWS services, such as Compute Optimizer, into a single dashboard. Octo retrieves all the data from the Cost Optimization Hub using an AWS API and displays it within Octo to eliminate the need for users to access their AWS console.
Below are the recommendations offered by cost optimization hub.
AmazonRDS
Stop Amazon RDS Idle DB Instances
Stop Amazon RDS Idle DB Instances
AWS Resource Type
RDS DB Instance
Optimization Type
Usage
Category
Stop
Description
Identifies Amazon RDS DB instances that are potentially idle.
Potential Savings
100% savings based on the db instance cost.
Recommended Action
• Stop RDS DB Instance
How will Octo implement the recommended action?
Octo uses StopDBInstance API in stopping the db instance.
Is rollback possible?
Yes. You can restart the instance through AWS Console/AWS CLI
Rightsize RDS DB Instance
Rightsize RDS DB Instance
AWS Resource Type
RDS DB Instance
Optimization Type
Usage
Category
Rightsize
Description
Adjust the size of the RDS DB instance to better match your workload requirements. This recommendation involves analyzing the past usage patterns, CPU utilization, memory usage, and I/O operations to determine if the instance is over-provisioned or under-provisioned.
Potential Savings
Rightsizing RDS DB instance can lead to savings ranging from 20% to 50% of the current RDS costs, depending on how significantly over-provisioned the current instance is.
Recommended Action
• Rightsize RDS DB Instance
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Rightsize RDS DB Instance Storage
Rightsize RDS DB Instance Storage
AWS Resource Type
RDS DB Instance Storage
Optimization Type
Usage
Category
Rightsize
Description
Rightsizing RDS DB instance storage involves adjusting the storage capacity to match the actual needs of the workload. This process ensures that the allocated storage is neither underutilized nor overprovisioned, optimizing the cost and performance balance. By carefully analyzing storage usage patterns and adjusting the storage size accordingly, businesses can achieve efficient resource utilization and maintain optimal database performance.
Potential Savings
Rightsizing RDS DB instance storage can lead to significant cost savings by eliminating unnecessary storage overhead and reducing the expenses associated with overprovisioned resources. Depending on the initial storage configuration and the extent of optimization, potential savings can range from 10% to 30%. These savings stem from better-aligned storage capacity with actual usage, leading to more efficient and cost-effective database operations.
Recommended Action
• Rightsize RDS DB Instance storage
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Upgrade RDS DB Instance
Upgrade RDS DB Instance
AWS Resource Type
RDS DB Instance
Optimization Type
Usage
Category
Upgrade
Description
Upgrading the generation of RDS DB instances involves transitioning from older to newer instance types within Amazon's Relational Database Service (RDS). Newer generation instances typically offer improved performance, increased storage efficiency, and enhanced network capabilities at a lower cost. This process optimizes the database environment, leading to better resource utilization and reliability.
Potential Savings
By upgrading to the latest generation of RDS DB instances, organizations can achieve cost savings ranging from 10% to 30%, depending on the specific instance types and workload requirements. The improved performance and efficiency of newer instances also contribute to indirect savings by reducing the need for additional resources and minimizing downtime..
Recommended Action
• Upgrade RDS DB Instance to newer generation
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Upgrade RDS DB Instance Storage
Upgrade RDS DB Instance Storage
AWS Resource Type
RDS DB Instance Storage
Optimization Type
Usage
Category
Upgrade
Description
Upgrading the storage for RDS DB instances involves increasing the storage capacity or transitioning to a more performant storage type. This enhancement addresses issues related to insufficient storage space, improving read/write performance, and ensuring database operations remain smooth and uninterrupted. Enhanced storage options, such as General Purpose SSD (gp3) or Provisioned IOPS SSD (io2), provide increased throughput and lower latency, leading to better overall database performance and reliability.
Potential Savings
While upgrading RDS DB instance storage might involve an initial cost increase, it can lead to significant long-term savings by preventing costly downtime, reducing the need for frequent manual interventions, and improving application performance. Depending on the specific upgrade and workload characteristics, potential savings can range from 10% to 30%. This range reflects improved storage efficiency, better resource utilization, and cost-effective scaling options, which contribute to more efficient and economical database operations.
Recommended Action
• Upgrade RDS DB Instance storage
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Migrate RDS DB Instance to Graviton
Migrate RDS DB Instance to Graviton
AWS Resource Type
RDS DB Instance
Optimization Type
Usage
Category
Migrate
Description
Migrating RDS DB instances to Graviton processors can significantly enhance the performance and cost-efficiency of database operations. Graviton processors, designed by AWS, deliver superior price-performance compared to traditional x86-based instances. By leveraging Graviton-based instances, businesses can achieve better throughput, reduced latency, and overall improved database performance.
Potential Savings
Switching to Graviton processors can result in substantial cost savings, typically ranging from 20% to 30% compared to comparable x86-based instances. The exact savings will vary depending on the instance type and workload characteristics, but businesses can expect a notable reduction in their RDS costs while maintaining or even enhancing database performance.ts
Recommended Action
• Rightsize RDS DB Instance storage
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
AmazonEC2
Stop EC2 Instance
Stop EC2 Instance
AWS Resource Type
EC2 Instance
Optimization Type
Usage
Category
Stop
Description
This recommendation advises users to stop EC2 instances that are either underutilized or not in use to optimize cloud costs. Instances that are running but not actively contributing to business processes can incur unnecessary expenses. By stopping these instances, users can avoid charges for compute resources that are not being fully utilized.
Potential Savings
Stopping an EC2 instance can result in savings of up to 100% of the instance's total cost. However, additional costs may still apply for associated resources such as EBS volumes.
Recommended Action
• Stop EC2 Instance
How will Octo implement the recommended action?
Octo uses StopInstances API to temporarily stop the instance.
Is rollback possible?
Yes, users can restart the instance.
Rightsize EC2 Auto Scaling Group
Rightsize EC2 Auto Scaling Group
AWS Resource Type
EC2 Auto Scaling Group
Optimization Type
Usage
Category
Rightsize
Description
The Rightsize EC2 Auto Scaling Group recommendation advises adjusting the instance types and sizes within an Auto Scaling Group to better match the application's resource requirements. By analyzing current usage patterns and performance metrics, this recommendation suggests more appropriate instance types that could lead to better performance or lower costs.
Potential Savings
Implementing this recommendation can lead to significant cost savings by ensuring that resources are optimized for the application's needs. Users can expect reductions in monthly EC2 costs ranging from 20% to 50%, depending on the degree of over-provisioning.
Recommended Action
• Rightsize EC2 Auto Scaling Group
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Upgrade EC2 Auto Scaling Group
Upgrade EC2 Auto Scaling Group
AWS Resource Type
EC2 Auto Scaling Group
Optimization Type
Usage
Category
Upgrade
Description
The Upgrade EC2 Auto Scaling Group recommendation suggests moving to newer generation EC2 instances within the Auto Scaling Group. Newer instance types often offer better performance, enhanced features, and cost-efficiency compared to older generations.
Potential Savings
Upgrading to more recent instance types can lead to improved performance and cost savings. Users may see reductions in monthly EC2 costs of up to 30%, alongside gains in computational power and efficiency.
Recommended Action
• Upgrade EC2 Auto Scaling Group
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Migrate EC2 Auto Scaling Group to Graviton
Migrate EC2 Auto Scaling Group to Graviton
AWS Resource Type
EC2 Auto Scaling Group
Optimization Type
Usage
Category
Migrate
Description
The Migrate EC2 Auto Scaling Group to Graviton recommendation encourages transitioning from traditional x86-based EC2 instances to ARM-based Graviton instances. Graviton instances are designed to deliver significant cost savings and performance improvements for certain workloads.
Potential Savings
Migrating to Graviton instances can result in cost reductions of up to 40% compared to traditional x86 instances, while also providing enhanced performance for specific applications optimized for ARM architecture.
Recommended Action
• Migrate EC2 Auto Scaling Group to Graviton
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Upgrade EC2 Instance
Upgrade EC2 Instance
AWS Resource Type
EC2 Instance
Optimization Type
Usage
Category
Upgrade
Description
This recommendation involves upgrading existing Amazon EC2 instances to newer, more efficient instance types to better match the performance needs of applications. It identifies instances that could benefit from transitioning to newer generations or different instance families, which can offer enhanced performance, better resource utilization, and improved cost-efficiency.
Potential Savings
Upgrading EC2 instances can result in cost savings ranging from 10% to 25% of total instance costs. The savings depend on the extent to which performance and resource utilization are optimized through the upgrade. Newer instance types often provide better price-performance ratios, leading to reduced overall costs.
Recommended Action
• Upgrade EC2 Instance
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
Migrate EC2 Instance to Graviton
Migrate EC2 Instance to Graviton
AWS Resource Type
EC2 Instance
Optimization Type
Usage
Category
Migrate
Description
This recommendation focuses on migrating existing EC2 instances to AWS Graviton processors. AWS identifies instances that could benefit from a transition to Graviton-based instances to leverage their cost-efficiency and performance advantages. Graviton processors offer improved price-performance ratios and can provide significant cost savings while maintaining or enhancing application performance.
Potential Savings
Migrating to Graviton instances can lead to cost savings ranging from 20% to 40% compared to instances using Intel or AMD processors. The exact savings depend on the specific instance types being replaced and the workload requirements. Graviton instances provide a more cost-effective option without compromising performance.
Recommended Action
• Migrate EC2 Instance to Graviton
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
AmazonEBS
Upgrade EBS Volume
Upgrade EBS Volume
AWS Resource Type
EBS Volume
Optimization Type
Usage
Category
Upgrade
Description
This recommendation suggests upgrading the type of Amazon Elastic Block Store (EBS) volumes to better align with the performance requirements of applications. It identifies volumes that could benefit from a transition to a higher-performance volume type, such as moving from standard SSD to provisioned IOPS SSD. Upgrading the volume type can enhance I/O performance and throughput, leading to more efficient application operations.
Potential Savings
Upgrading EBS volume types can lead to cost savings by improving performance and efficiency, which can reduce the need for additional resources or mitigate performance-related issues. Potential savings typically range from 5% to 20% of total storage costs, depending on the performance improvements achieved and the volume types being compared.
Recommended Action
• Upgrade EBS Volume
How will Octo implement the recommended action?
Octo begins by using the CreateSnapshot API to create a backup snapshot. Subsequently, it calls the ModifyVolume API to adjust the volume configuration.
Is rollback possible?
Yes, users can revert to the previous state of the volume by restoring it from the snapshot created during the rightsizing operation.
Rightsize EBS Volume
Rightsize EBS Volume
AWS Resource Type
EBS Volume
Optimization Type
Usage
Category
Rightsize
Description
This recommendation focuses on optimizing the size of Amazon Elastic Block Store (EBS) volumes to better match the actual storage needs of applications. It identifies volumes that are either underutilized or over-provisioned, suggesting adjustments to their size to improve cost-efficiency. By rightsizing EBS volumes, users can enhance storage performance and reduce unnecessary costs associated with unused capacity.
Potential Savings
Rightsizing EBS volumes can result in cost savings ranging from 10% to 30% of the total storage costs. The exact savings depend on the extent of over-provisioning and the adjustment in volume size.
Recommended Action
• Rightsize EBS Volume
How will Octo implement the recommended action?
Not implemented yet.
Is rollback possible?
Not implemented yet.
AWSLambda
Rightsize Lambda Function
Rightsize Lambda Function
AWS Resource Type
Lambda Function
Optimization Type
Usage
Category
Rightsize
Description
This recommendation aims to optimize the configuration of AWS Lambda functions to ensure they are appropriately sized for their workload. It identifies functions that could benefit from adjustments to their memory allocation or timeout settings to enhance performance and reduce costs. By implementing Lambda rightsizing, organizations can achieve more efficient execution and potentially lower operational expenses.
Potential Savings
Rightsizing AWS Lambda functions can lead to potential savings ranging from 20% to 50% by adjusting memory and timeout settings to match actual usage, thereby reducing over-provisioning and optimizing cost efficiency.
Recommended Action
• Rightsize Lambda Function
How will Octo implement the recommended action?
Octo uses UpdatetFunctionConfiguration to modify the version-specific settings of a Lambda function
Is rollback possible?
Yes, rollback is possible after updating an AWS Lambda function configuration. AWS Lambda maintains a version history of the function code and configuration. Users can use this version history to roll back to a previous configuration or code version if the update does not work as intended. Rollback is done through AWSConsole/AWSCLI.
AmazonECS
Rightsize ECS Service
Rightsize ECS Service
AWS Resource Type
ECS Service
Optimization Type
Usage
Category
Rightsize
Description
AWS recommends rightsizing the ECS service to optimize resource usage and cost efficiency. By analyzing the current task definitions and their resource allocations, AWS identifies opportunities to adjust CPU and memory settings to better match the actual usage patterns of your services. This ensures that users are not over-provisioning or under-provisioning resources, leading to more efficient operations and potential cost savings.
Potential Savings
Rightsizing Amazon ECS services can lead to potential savings ranging from 10% to 40% by aligning resource allocation more closely with actual usage, reducing over-provisioning, and minimizing unnecessary costs.
Recommended Action
• Rightsize ECS Service
How will Octo implement the recommended action?
Octo utilizes the DescribeServices API to retrieve task definitions linked to the ECS service. It then invokes the DescribeTaskDefinition API to obtain detailed information about the task definitions. Subsequently, the RegisterTaskDefinition API is called to create a new version with the recommended data. Finally, the UpdateService API is used to update the ECS service with the newly created task definition..
Is rollback possible?
Yes, after rightsizing an ECS service, a rollback is possible. If the new resource configuration does not perform as expected, users can revert to the previous configuration by updating the service with the previous task definition using AWSConsole/AWSCLI.