A package for identifying unused resources in aws
Project description
Un-used AWS Resources
To identify Unused resources in AWS , Just import these package and call the unused_res
with the following parameters
```python
unused_res("12", "xyz@gmail.com",
"zyx@gmail.com", "SAP", "sbx")
```
Days
From How long these resources has not been used. For example , If we provide days as `14`, Start date will be today date -14 , end date will be today's date.
Sender
We have used SES to send the formatted mail(html), so it is the Mail Id from where it need to send.
Receiver
Receiver Mail Id
App
For sending the subject in mail , we need these application information. Ex: SAP, ACE etc..,
Env
Against which environment is running these code. Ex: SBX, DEV,INT etc..,
As of now , the following resources can be identified as unused(Based on CPU Utilization , Invocation/request count etc..,
) if they didn't used for the specified number of days.
AWS::EC2::Volume
AWS::EC2::EIP
AWS::Elasticsearch::Domain
AWS::ECS::Service
AWS::EC2::SecurityGroup
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::ACM::Certificate
AWS::RDS::DBCluster
AWS::S3::Bucket
AWS::DynamoDB::Table
AWS::CodeBuild::Project
AWS::Lambda::Function
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::CodePipeline::Pipeline
AWS::SQS::Queue
AWS::SNS::Topic
AWS::SecretsManager::Secret
AWS::Logs::LogGroup
Many more will be added in the future
Note:
To Package these file we need WSL
or Linux System/container
.
Few issues which I faced during packaging : https://github.com/numpy/numpy/issues/13465
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file awsunusedresources-0.1.6.tar.gz
.
File metadata
- Download URL: awsunusedresources-0.1.6.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86a807e6cbf8c2e15cc81885c8567f5ec9242455d5996706956a341681143df |
|
MD5 | 59cbd714ea33193d58f2102336e1eaf2 |
|
BLAKE2b-256 | 7fd31ae184708e8332c4c8dcd1026028f584b93c9e3cef3a5ae835114edad5f8 |
File details
Details for the file awsunusedresources-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: awsunusedresources-0.1.6-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad26a8051753c478af22b0a20155a8b9fd6d333329f6ffbd5a25914da81791a8 |
|
MD5 | 433b7c44fe681ccb95d36d08811ad09c |
|
BLAKE2b-256 | 26c032bff43cb215a9f06eb961fd15222dc0bad78f51a219a27a7bdc18025357 |