用于查询和连接ec2实例的有用cli实用程序
ec2-cli-tools的Python项目详细描述
ec2 cli-ec2 cli-tools
=
>有助于过滤和连接ec2实例的cli实用工具。
>或
%ec2who nginx2
%ec2who ec2-204-236-236-192-148
>nginx2 i-d5236fbd us-east-1c 10.13.13.13.12.205条EC2-204-204-236-192-148.compute-1.amazonaws.com
%ec2who“nginx*”
nginx1 i-d5236fbd us-east-1c 10.13.12.205 ec2-204-236-236-192-148.compute-1.amazonaws.com
nginx2 i-d5237fbdus-east-1c 10.13.12.206 ec2-204-204-236-192-149.compute-1.amazonaws.com
>nginx3 i-d5238fbd-nginx3 i-d5238fbd-nginx*
%ngin东1C 10.13.12.207EC2-204-204-236-192-150.compute-1.amazonaws.com.amazonaws.com
%ec2who“10.*.207”
nginx3 i-d5238fbd us-east-1c us-east-us-east-1c 10.13.12.207 ec2-204-236-192-150.compute-1.amazonaws.com
;宋承宪ubuntu@ec2-123-45-67-89.compute-1.amazonaws.com
%ec2ssh root@appserver
%ec2ssh deploy@nginx2 sudo restart nginx
EC2-132-45-67-89.compute-1.amazonaws.com.amazonaws.com
django3-ec2-231-45-67-89.compute-1.amazonaws.com
w/arg:打印匹配实例的主机名
%ec2 host django2
django2 ec2-132-132-45-67-89.compute-1.amazonaws.com
>ec2getsnaps:
:
:
:
:
:
br/>/>2012-01-28日02:04:18+0000 db1 xlog<100%
:
:
:
/.ssh/config
host*.ec2
用户ubuntu
proxycmdec2shproxy%h%p
%ssh我的服务器标签。ec2
``````````>
>
``原项目,ec2 ssh<;http://github.com/instagram/ec2 ssh-ssh>;`
*>>>>
`Instagram<;http://instagram.com>;`
changelog
`````````
*1.0-初始版本,添加EC2WHO和迁移已弃用的EC2SSH项目
*1.4-添加EC2SHProxy
*1.5-添加对VPC主机的支持
=
>有助于过滤和连接ec2实例的cli实用工具。
%ec2who nginx2
%ec2who ec2-204-236-236-192-148
>nginx2 i-d5236fbd us-east-1c 10.13.13.13.12.205条EC2-204-204-236-192-148.compute-1.amazonaws.com
%ec2who“nginx*”
nginx1 i-d5236fbd us-east-1c 10.13.12.205 ec2-204-236-236-192-148.compute-1.amazonaws.com
nginx2 i-d5237fbdus-east-1c 10.13.12.206 ec2-204-204-236-192-149.compute-1.amazonaws.com
>nginx3 i-d5238fbd-nginx3 i-d5238fbd-nginx*
%ngin东1C 10.13.12.207EC2-204-204-236-192-150.compute-1.amazonaws.com.amazonaws.com
%ec2who“10.*.207”
nginx3 i-d5238fbd us-east-1c us-east-us-east-1c 10.13.12.207 ec2-204-236-192-150.compute-1.amazonaws.com
;宋承宪ubuntu@ec2-123-45-67-89.compute-1.amazonaws.com
%ec2ssh root@appserver
%ec2ssh deploy@nginx2 sudo restart nginx
EC2-132-45-67-89.compute-1.amazonaws.com.amazonaws.com
django3-ec2-231-45-67-89.compute-1.amazonaws.com
w/arg:打印匹配实例的主机名
%ec2 host django2
django2 ec2-132-132-45-67-89.compute-1.amazonaws.com
>ec2getsnaps:
:
:
:
:
:
br/>/>2012-01-28日02:04:18+0000 db1 xlog<100%
:
:
:
/.ssh/config
host*.ec2
用户ubuntu
proxycmdec2shproxy%h%p
%ssh我的服务器标签。ec2
``````````>
>
``原项目,ec2 ssh<;http://github.com/instagram/ec2 ssh-ssh>;`
*>>>>
`Instagram<;http://instagram.com>;`
changelog
`````````
*1.0-初始版本,添加EC2WHO和迁移已弃用的EC2SSH项目
*1.4-添加EC2SHProxy
*1.5-添加对VPC主机的支持