Skip to main content

Collection of EC2 checks for opsbox.

Project description

OpsBox Rego Checks for EC2

This package contains various Rego check plugins related to AWS's EC2 service, including:

  • Stray EBS Volumes (stray_ebs)
  • Old EC2 Snapshots (ec2_old_snapshots)
  • Idle Instances (idle_instances)
  • Stray Instances (stray_instances)
  • Unattached EIPs (unattached_eips)

Plugin Descriptions

Unattached EIPs Plugin (unattached_eips)

Identifies Elastic IPs (EIPs) not associated with running instances to help reduce costs by releasing unused EIPs. Offers cost-saving recommendations and detailed performance and security analysis.

Old EC2 Snapshots Plugin (ec2_old_snapshots)

Finds EC2 snapshots older than a specified period to optimize storage costs by identifying snapshots for deletion or archiving. Provides detailed information on old snapshots.

Idle Instances Plugin (idle_instances)

Detects EC2 instances with low utilization to reduce costs by stopping or terminating idle instances. Includes performance and security insights for better resource optimization.

Stray EBS Volumes Plugin (stray_ebs)

Identifies unused EBS volumes that are not attached to any instances, enabling cost savings by deleting these volumes. Includes insights into performance and security metrics.

Stray Instances Plugin (stray_instances)

Finds EC2 instances not associated with any specific workload or application, reducing costs by terminating unused instances. Provides detailed analysis for efficient resource management.

Common Configuration

All plugins share the following AWS configuration:

  • aws_access_key_id: AWS access key ID
  • aws_secret_access_key: AWS secret access key
  • aws_region: AWS region (optional)
aws_access_key_id: your_access_key_id
aws_secret_access_key: your_secret_access_key
aws_region: your_aws_region

To access more info about each check, install mkdocs and run mkdocs serve at the root of the package directory

This will pull up a webpage with more complete documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opsbox_ec2_checks-0.2.0.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opsbox_ec2_checks-0.2.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file opsbox_ec2_checks-0.2.0.tar.gz.

File metadata

  • Download URL: opsbox_ec2_checks-0.2.0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.25

File hashes

Hashes for opsbox_ec2_checks-0.2.0.tar.gz
Algorithm Hash digest
SHA256 66d42b2e5ff64ea6bba1788cdb4edba6c7e9026d59121ed2052f4d3dffce1ac1
MD5 84dcf3274bd5e4009548bc6eaa5993af
BLAKE2b-256 afbaa35d79025d244e33e42e2811edef8d3d4c0eebe53bd1ac8113537e0c3fb6

See more details on using hashes here.

File details

Details for the file opsbox_ec2_checks-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opsbox_ec2_checks-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b961a962007391b7e5282aa86b0bd8d6866e88576882dba4953bde908dd0c8c
MD5 7af6297a111a8461354bfc9f4d77519f
BLAKE2b-256 600dd40167645e54386e601febad2c8030f4511f5fd2e7a5f44ff54f1a4e4d00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page