Cumpute Optimizer dont see Disk read operations

0

Hello good morning.

I make the following query. I have configured Parameters store to get the data from disk and visualize it with cloudwatch and compute optimizer.

The problem is that I can't get them, I've read and tried many solutions that I've found but without success.

This is a snippet from my Parameter store: "disk": { "resources": ["/"], "measurement": ["used_percent"], "ignore_file_system_types": ["sysfs", "devtmpfs", "tmpfs"], "metrics_collection_interval": 60 }, "diskio": { "resources": ["/"], "measurement": ["diskio_reads", "diskio_writes", "diskio_read_bytes", "diskio_write_bytes", "diskio_io_time"], "metrics_collection_interval": 60 },

where am I wrong??

kike
已提問 1 年前檢視次數 333 次
1 個回答
0

Hello There,

Greetings of the day and I hope you are well!

Thank you for contacting AWS. My name is Ankit and I’ll be assisting you on this case. I see you have a question in re:Post.

I understand that your Computer Optimizer is unable to see Disk Read Operations.

Please note that, Compute Optimizer requires at least 30 consecutive hours of metrics data from your resource to generate recommendations. After the analysis is completed, which could take up to 12 hours, Compute Optimizer presents its findings on the dashboard page.

Please confirm once if your EBS Volume have been created and running for more than 30 hours.

Another reason why you failed to get or update enhanced infrastructure metrics (Disk Read in your case) recommendation preferences is that you might not have the permissions required to view or update recommendation preferences.

There are a number of different permissions which are required for Compute Optimizer to access the metrics and then also for those recommendation to be viewable to you [2].

- To view EC2 metrics in Compute Optimizer, the user/role you are logged in with would need the ec2:DescribeInstances permission.

- To view CloudWatch metrics in Compute Optimizer, you would need the cloudwatch:GetMetricData permission. 

From a Compute Optimizer perspective, I recommend you leverage a service-linked role (if you aren't already). This will ensure that Compute Optimizer has all of the permissions it requires to interact with other services. I've included a link to how to recreate the role if it has been inadvertently removed [3].

I hope that the given information and action plan is helpful to you. If you feel we can provide any additional assistance with regard to this matter, please do not hesitate to let us know and we would be glad to continue working on this issue with you.

Thank you and Have a great day ahead!

==== REFERENCES ====

[1] Troubleshooting account opt-in and recommendation preferences - Failed to get or update enhanced infrastructure metrics recommendation preferences https://docs.aws.amazon.com/compute-optimizer/latest/ug/troubleshooting-account-opt-in.html#accounts-eim-missing-permissions

[2] Controlling access with AWS Identity and Access Management - Policies to grant access to manage Compute Optimizer recommendation preferences https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#enhanced-infrastructure-metrics-permissions

[3] Using Service-Linked Roles for AWS Compute Optimizer https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html

AWS
支援工程師
Ankit_P
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南