Skip to content

Latest commit

 

History

History
83 lines (57 loc) · 1.92 KB

README.md

File metadata and controls

83 lines (57 loc) · 1.92 KB

Aws Working Sugar

Build Status GoDoc Go Report Card

AWS Working Sugar provides a set of useful tools for your day to day AWS duties.

Install

go get github.com/Dal-Papa/awsugar

Usage

awsugar [command] [args]

Options

  -d, --dry-run         Toggle a list-only mode without executing any action.
  -h, --help            help for awsugar
  -r, --region string   Choose the region to execute the actions in (default "us-west-2")

awsugar clean

Clean your AWS account in various places

Synopsis

Clean your AWS account in various places including:

- Soft kill an EC2 instance with a snapshot first
- Remove deprecated ELB without target instances
- Remove available volumes and snapshot them
- Release unattached Elastic IPs and Network Interfaces
- Remove unused Security Groups (TODO)
- Remove unused Launch Configurations (TODO)
awsugar clean [type] [flags]

Options

  -h, --help          help for clean
  -s, --sweet-clean   allow some preparation before cleaning (snapshot, etc.) (default true)

awsugar search

Search through various AWS services

Synopsis

Provides some helpers to search through services in AWS.

Allows to search for an IP in Route53.
awsugar search [type] [flags]

Options

  -h, --help         help for search
      --ip ipSlice   list of IPs to search (default [])

Options inherited from parent commands

  -d, --dry-run         Toggle a list-only mode without executing any action.
  -r, --region string   Choose the region to execute the actions in (default "us-west-2")