Skip to content

Dal-Papa/awsugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

Releases

No releases published

Packages

No packages published

Languages