Class: Aws::ComputeOptimizer::Types::InstanceRecommendation
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizer::Types::InstanceRecommendation
- Defined in:
- gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb
Overview
Describes an Amazon EC2 instance recommendation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Amazon Web Services account ID of the instance.
-
#current_instance_gpu_info ⇒ Types::GpuInfo
Describes the GPU accelerator settings for the current instance type.
-
#current_instance_type ⇒ String
The instance type of the current instance.
-
#current_performance_risk ⇒ String
The risk of the current instance not meeting the performance needs of its workloads.
-
#effective_recommendation_preferences ⇒ Types::EffectiveRecommendationPreferences
An object that describes the effective recommendation preferences for the instance.
-
#external_metric_status ⇒ Types::ExternalMetricStatus
An object that describes Compute Optimizer's integration status with your external metrics provider.
-
#finding ⇒ String
The finding classification of the instance.
-
#finding_reason_codes ⇒ Array<String>
The reason for the finding classification of the instance.
-
#idle ⇒ String
Describes if an Amazon EC2 instance is idle.
-
#inferred_workload_types ⇒ Array<String>
The applications that might be running on the instance as inferred by Compute Optimizer.
-
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the current instance.
-
#instance_name ⇒ String
The name of the current instance.
-
#instance_state ⇒ String
The state of the instance when the recommendation was generated.
-
#last_refresh_timestamp ⇒ Time
The timestamp of when the instance recommendation was last generated.
-
#look_back_period_in_days ⇒ Float
The number of days for which utilization metrics were analyzed for the instance.
-
#recommendation_options ⇒ Array<Types::InstanceRecommendationOption>
An array of objects that describe the recommendation options for the instance.
-
#recommendation_sources ⇒ Array<Types::RecommendationSource>
An array of objects that describe the source resource of the recommendation.
-
#tags ⇒ Array<Types::Tag>
A list of tags assigned to your Amazon EC2 instance recommendations.
-
#utilization_metrics ⇒ Array<Types::UtilizationMetric>
An array of objects that describe the utilization metrics of the instance.
Instance Attribute Details
#account_id ⇒ String
The Amazon Web Services account ID of the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#current_instance_gpu_info ⇒ Types::GpuInfo
Describes the GPU accelerator settings for the current instance type.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#current_instance_type ⇒ String
The instance type of the current instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#current_performance_risk ⇒ String
The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#effective_recommendation_preferences ⇒ Types::EffectiveRecommendationPreferences
An object that describes the effective recommendation preferences for the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#external_metric_status ⇒ Types::ExternalMetricStatus
An object that describes Compute Optimizer's integration status with your external metrics provider.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#finding ⇒ String
The finding classification of the instance.
Findings for instances include:
Underprovisioned
—An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance.Overprovisioned
—An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost.Optimized
—An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#finding_reason_codes ⇒ Array<String>
The reason for the finding classification of the instance.
Finding reason codes for instances include:
CPUOverprovisioned
— The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.CPUUnderprovisioned
— The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing theCPUUtilization
metric of the current instance during the look-back period.MemoryOverprovisioned
— The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.MemoryUnderprovisioned
— The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period.Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
namespace.EBSThroughputOverprovisioned
— The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metrics of EBS volumes attached to the current instance during the look-back period.EBSThroughputUnderprovisioned
— The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing theVolumeReadBytes
andVolumeWriteBytes
metrics of EBS volumes attached to the current instance during the look-back period.EBSIOPSOverprovisioned
— The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metric of EBS volumes attached to the current instance during the look-back period.EBSIOPSUnderprovisioned
— The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing theVolumeReadOps
andVolumeWriteOps
metric of EBS volumes attached to the current instance during the look-back period.NetworkBandwidthOverprovisioned
— The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period.NetworkBandwidthUnderprovisioned
— The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
performance of an instance is impacted.NetworkPPSOverprovisioned
— The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.NetworkPPSUnderprovisioned
— The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing theNetworkPacketsIn
andNetworkPacketsIn
metrics of the current instance during the look-back period.DiskIOPSOverprovisioned
— The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskIOPSUnderprovisioned
— The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing theDiskReadOps
andDiskWriteOps
metrics of the current instance during the look-back period.DiskThroughputOverprovisioned
— The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.DiskThroughputUnderprovisioned
— The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing theDiskReadBytes
andDiskWriteBytes
metrics of the current instance during the look-back period.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#idle ⇒ String
Describes if an Amazon EC2 instance is idle.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#inferred_workload_types ⇒ Array<String>
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
AmazonEmr
- Infers that Amazon EMR might be running on the instance.ApacheCassandra
- Infers that Apache Cassandra might be running on the instance.ApacheHadoop
- Infers that Apache Hadoop might be running on the instance.Memcached
- Infers that Memcached might be running on the instance.NGINX
- Infers that NGINX might be running on the instance.PostgreSql
- Infers that PostgreSQL might be running on the instance.Redis
- Infers that Redis might be running on the instance.Kafka
- Infers that Kafka might be running on the instance.SQLServer
- Infers that SQLServer might be running on the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#instance_arn ⇒ String
The Amazon Resource Name (ARN) of the current instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#instance_name ⇒ String
The name of the current instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#instance_state ⇒ String
The state of the instance when the recommendation was generated.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#last_refresh_timestamp ⇒ Time
The timestamp of when the instance recommendation was last generated.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#look_back_period_in_days ⇒ Float
The number of days for which utilization metrics were analyzed for the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#recommendation_options ⇒ Array<Types::InstanceRecommendationOption>
An array of objects that describe the recommendation options for the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#recommendation_sources ⇒ Array<Types::RecommendationSource>
An array of objects that describe the source resource of the recommendation.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags assigned to your Amazon EC2 instance recommendations.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |
#utilization_metrics ⇒ Array<Types::UtilizationMetric>
An array of objects that describe the utilization metrics of the instance.
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 |
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4007 class InstanceRecommendation < Struct.new( :instance_arn, :account_id, :instance_name, :current_instance_type, :finding, :finding_reason_codes, :utilization_metrics, :look_back_period_in_days, :recommendation_options, :recommendation_sources, :last_refresh_timestamp, :current_performance_risk, :effective_recommendation_preferences, :inferred_workload_types, :instance_state, :tags, :external_metric_status, :current_instance_gpu_info, :idle) SENSITIVE = [] include Aws::Structure end |