aws-samples / aws-samples/ec2-spot-interruption-dashboard

Is this supposed to work?

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
74
Forks
19
PR merge metrics
No merged PRs in 30d

Description

I installed the application/dashboard at the latest ([e7e2ec](https://github.com/aws-samples/ec2-spot-interruption-dashboard/commit/e7e2ecb1ad0a555b14f07435aa6dd92a6f7bb260)), following the `Packaging and Deployment` instructions, and everything went fine. Then, I launched a few spot instances to generate some data to show up in the **SpotInterruptionDashboard**.

It appears that the data isn't accurate by the hour (there seems to be a small offset somewhere), but that's no big deal at the moment.

However, while the `Overview` seems correct, the `Spot Interruption Counts - By Availability Zone` and `Spot Interruption Counts - By Instance Type` don't show **Availability Zone** and **Instance Type** as shown here:

![Image](https://github.com/user-attachments/assets/c4777fab-93f9-48aa-b07a-943772bbfaae)

The **Athena** saved query **SpotInterruptionCountByInstanceTypesPastDay** shows the following:

![Image](https://github.com/user-attachments/assets/b3769132-2679-42a0-aace-5efd0d3d9ae6)

So, in the Dashboard, I would expect to see `us-east-1b` in **Spot Interruption Counts - By Availability Zone** and `t1.micro` in **Spot Interruption Counts - By Instance Type**.

I know this project/sample is relatively quiet now (GitHub activity), but I like the idea and metrics, and I would appreciate it if it could work as advertised. I'm not too versed here, but I try to understand why I don't get the expected... maybe I missed something, or there is a real bug. Anyway, thanks if you can help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.