EC2 instance operation tool with ssh, peco.
WARNING: This project is under development.
$ cat ~/.ec2s
[aws]
AWS_ACCESS_KEY_ID="xxxx"
AWS_SECRET_ACCESS_KEY="yyyy"
AWS_REGION="ap-northeast-1"
[peco]
path = "/path/to/peco"
[ssh]
port = 22
user = "my-user"
[[ssh.identity_file]]
name = "my_keypair"
path = "~/.ssh/my_keypair.private_key"
[[ssh.identity_file]]
name = "my_other_keypair"
path = "~/.ssh/my_other_keypair.private_key"
[common]
colorized_output = true
# show ec2 instances
$ ec2s list
# show ec2 instances in the vpc
$ ec2s list -vpc-id vpc-xxxx
$ ec2s list -vpc-name vpcname
# login via ssh to the ec2 instance.
$ ec2s ssh
$ ec2s ssh -vpc-id vpc-xxxx
$ ec2s ssh -vpc-name vpcname
$ ec2s scp local ec2:/path/to
$ ec2s scp ec2:/path/to local
# show vpcs
$ ec2s vpcs
$ glide install && go build
- bump version on master branch.
- Create pull request from
master
branch torelease
branch. - Merge !
- wercker CI will create new release assets.
- Add tag to new version & push.
MIT License
- Fork it ( https://github.com/[my-github-username]/ec2_meta/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request