4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • Note: Some useful AWS CLI oneliner

    Because terminal > web interface

    To briefly list all env (one env by line):
    aws elasticbeanstalk describe-environments|jq -r '.Environments|.[]| [.ApplicationName, .EnvironmentName, .VersionLabel, .Status, .CNAME] | @csv'|sort

    To get all info about one env (pass EnvironmentName):
    aws elasticbeanstalk describe-environments --environment-names toto-prod

    List all subnets:
    aws ec2 describe-subnets|jq -r '.Subnets|.[]|.SubnetId'

    List all ec2 instanceId:
    aws ec2 describe-instances|jq -r '.Reservations|.[]|.Instances|.[]|.InstanceId'

    List all ec2 instanceId with its associated subnetId:
    aws ec2 describe-instances|jq -r '.Reservations|.[]|.Instances|.[]|[.InstanceId, .SubnetId] | @csv'

    September 28, 2016 at 10:56:53 AM GMT+2 * - permalink - archive.org - https://links.infomee.fr/shaare/uMBmyg
    aws cli
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation