Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource user is missing #338

Open
ebattat opened this issue Nov 18, 2021 · 0 comments
Open

Resource user is missing #338

ebattat opened this issue Nov 18, 2021 · 0 comments

Comments

@ebattat
Copy link
Collaborator

ebattat commented Nov 18, 2021

The issue:
Resource user is missing

The problem:
Cloud watch retention is 90 days
We fetch the resource user from cloud watch
If the resource create > 90 days, so no indication for the resource user

The solution:
Create a database with dedicate table for AWS resource id. store resource id (primary key) and its fields (user | cost($) | state | instance type | launch time | name | cluster owner)
We can use Dynamodb service for it.

So we will fetch the first the user data according resource id from the table and if it is not there go to cloud watch and update the database with new record of resource and user.
Also we can update the Dynamodb with the latest status (cost($) | state | launch time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant