gruntwork-io/cloud-nuke
소개
클라우드 계정의 모든 리소스를 완전히 삭제해 계정을 정리하는 도구입니다.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalcloud-nuke
A CLI tool to delete all resources in your cloud account. Designed for cleaning up test accounts, removing leftover resources, and eliminating unnecessary defaults like default VPCs and permissive security group rules.
BEWARE!
When executed as cloud-nuke aws, this tool is HIGHLY DESTRUCTIVE and deletes all resources! This mode should never be used in a production environment!
When executed as cloud-nuke defaults-aws, this tool deletes all DEFAULT VPCs and the default ingress/egress rule for all default security groups. This should be used in production environments WITH CAUTION.
Install
Download from releases page
- Download the latest binary for your OS on the releases page.
- Move the binary to a folder on your
PATH. E.g.:mv cloud-nuke_darwin_amd64 /usr/local/bin/cloud-nuke. - Add execute permissions to the binary. E.g.:
chmod u+x /usr/local/bin/cloud-nuke. - Test it installed correctly:
cloud-nuke --help.
Install via package manager
Note that package managers are third party and may not always have the latest version. Check your version against the releases page.
- macOS:
brew install cloud-nuke - Linux:
brew install cloud-nuke(Homebrew on Linux) - Windows:
winget install cloud-nuke
Quick Start
# Delete all resources (with confirmation prompt)
cloud-nuke aws
# Inspect resources without deleting
cloud-nuke inspect-aws
# Delete resources in specific regions only
cloud-nuke aws --region us-east-1 --region us-west-2
# Delete only specific resource types
cloud-nuke aws --resource-type ec2 --resource-type s3
# Preview what would be deleted
cloud-nuke aws --dry-run
# Delete default VPCs and security group rules
cloud-nuke defaults-aws
# Use a config file for granular filtering
cloud-nuke aws --config path/to/config.yaml
Supported Resources
Supports 125+ AWS resource types. Full list →
Documentation
| Topic | Description |
|---|---|
| CLI Usage | All flags, options, and commands |
| Configuration | Config file format and filter examples |
| Supported Resources | Full resource list and config support matrix |
| Library Usage | Using cloud-nuke as a Go library |
| Developing | Running locally, testing, and releasing |
Telemetry
As of v0.29.0, cloud-nuke sends telemetry to Gruntwork (command name, version, and AWS account ID). IP addresses and resource names are never collected. Disable with DISABLE_TELEMETRY=1.
Credentials
You will need to provide your AWS credentials using one of the standard AWS CLI credential mechanisms.
Contributing
Contributions are very welcome! Please check out the Contribution Guidelines and Developing cloud-nuke for instructions.
License
This code is released under the MIT License. See LICENSE.txt.
관련 프로젝트 살펴보기
불러오는 중…