{"id":15916632,"url":"https://github.com/parveshdhull/aws_usage","last_synced_at":"2026-05-02T22:37:21.772Z","repository":{"id":191233427,"uuid":"315455387","full_name":"Parveshdhull/aws_usage","owner":"Parveshdhull","description":"Python program for send alerts for data transfer usage under free tier in aws to slack and also desktop notifications","archived":false,"fork":false,"pushed_at":"2021-01-03T21:34:01.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-02T22:37:20.092Z","etag":null,"topics":["aws","aws-cli","slack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Parveshdhull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":["https://www.buymeacoffee.com/parveshmonu"]}},"created_at":"2020-11-23T22:24:09.000Z","updated_at":"2021-01-03T21:34:04.000Z","dependencies_parsed_at":"2023-08-28T23:46:40.405Z","dependency_job_id":null,"html_url":"https://github.com/Parveshdhull/aws_usage","commit_stats":null,"previous_names":["parveshdhull/aws_usage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Parveshdhull/aws_usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Faws_usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Faws_usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Faws_usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Faws_usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Parveshdhull","download_url":"https://codeload.github.com/Parveshdhull/aws_usage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parveshdhull%2Faws_usage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32552376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cli","slack"],"created_at":"2024-10-06T18:02:48.747Z","updated_at":"2026-05-02T22:37:21.742Z","avatar_url":"https://github.com/Parveshdhull.png","language":"Python","funding_links":["https://www.buymeacoffee.com/parveshmonu"],"categories":[],"sub_categories":[],"readme":"# AWS Usage Alerts\n\nPython program for send alerts for data transfer usage under free tier in aws to slack and also desktop notifications\n\n\n## WARNING\nThis program uses Cost Explorer API which charges $0.01 per request \n\n## Prerequisite:\npip install py-notifier\n\npacman -s aws-cli or apt-get install awscli\n\n## Configure\n* **Configure aws**\n\taws configure\n\n* **Configure Slack**\nYou can skip this step if you only want to receive desktop notifications. Just remove last line from program. Otherwise configure your slack bot using\nhttps://github.com/Parveshdhull/slackbot\n* **Configure filter.json**\nfilter.json file tells program which data to reterive using API. I tried different regions and value of USAGE_TYPE variable was different for different regions. You can find value of 'DataTransfer-Out-Bytes' for your region using\n\n\t``` aws ce get-dimension-values --time-period Start=2020-10-01,End=2020-10-31 --dimension USAGE_TYPE```\n\nSome of values I found were\u003cbr\u003e\n* APN1-DataTransfer-Out-Bytes\u003cbr\u003e\n* APS1-DataTransfer-Out-Bytes\u003cbr\u003e\n* USW1-DataTransfer-Out-Bytes\n\n## Usage\n\n\taws_usage\n\nYou can put this script in your cron file and this will send you regular updates about data usage. Just be careful you don't run often otherwise you will get huge bill because you are paying $0.01 per request \n\n## YouTube Tutorial\nhttps://www.youtube.com/watch?v=kRx-AYH9UeI\n\n## Liked my work?\n\u003ca href=\"https://www.buymeacoffee.com/parveshmonu\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n## Websites\nhttps://github.com/Parveshdhull\n\u003cbr /\u003ehttps://twitter.com/ParveshMonu\n\u003cbr /\u003ehttps://youtube.com/right2trick\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparveshdhull%2Faws_usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparveshdhull%2Faws_usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparveshdhull%2Faws_usage/lists"}