Skip to content

Resource user is missing #338

Description

@ebattat

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions