No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
aws_cw_get_transfer
aws_ec2_ip_list
aws_list
aws_s3_ls
aws_ssl_list
git_add_commit_push.sh
install.sh

README.md

aws_tools

===============

required

install

do

bash install.sh

or

./install.sh

config

make setting files under ~/.aws_batch/.

cat ~/.aws_batch/hoge

AWS_ACCOUNT_NUMBER=0123456789
AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMN
AWS_SECRET_ACCESS_KEY=AB12CD34EF56GH78IJ90
AWS_REGION=ap-northeast-1
DISTRIBUTION_ID=[value from CloudFront]

cat ~/.aws_batch/.slack 
slack_webhook_url='https://hooks.slack.com/services/xxxxxxxx/yyyyy/zzzzzzzz'
slack_channel='#test_channel'
slack_botname='aws_ip_bot'


usage

aws_list

show setting files under ~/.aws_batch/ .

aws_list

hoge
huga
fizz
bazz

aws_ec2_ip_list

shows global ip and name of instnces.

aws_ec2_ip_list hoge

12.34.5.67      hoge_web_rel_1
12.34.8.90      hoge_web_re_2
12.34.1.23   hoge_web_stg_3
12.34.56.100  hoge_web_stg_4
None    hoge_web_stopped_1
None    hoge_wev_stopped_2
12.34.56.1  hoge_web_dev