Examples

  • List all EC2 Instances

    img
  • Display EC2 Help

    img
  • List EC2 Instance Count by Status

    img
  • List EC2 Instance Count by State

    img
  • List all EC2 Instance with state "running"" and "stopped"

    img
  • Start an EC2 Instance

    img
  • Reboot an EC2 Instance

    img
  • Stop EC2 Instance

    img
  • List all EC2 instances by Tags (Key,Value)

    img
  • List all EC2 instances by Tags (Key)

    img
  • List EC2 instances Count by Tags

    img
  • List all VPC in a region. (For default key)

    img
  • List all Keys add for the team

    img
  • Add a AWS Key for region

    img
  • List AWS OpsWorks Stack

    img
  • List AWS OpsWorks Stack Summary

    img
  • List AWS OpsWorks Stack Instances

    img
  • List AWS OpsWorks Stack

    img

HELP

Commands Help.

Adds and Removes Keys from the App
Options
key -a,{--add} key_name -k,{-key} awskey -s,{-secret} awssecret -r,{-region} awsregion
key -d,{--delete} key_name
key -i,{--info} key_name
key -u,{--use} key_name
key -l,{--list}
key -h,{--help}
Examples
1. Add an key.
key -a dev_key -k AKIAJTTJJFRKQKL4HLKK -s aTRfy3hgfpajr99zV0OT6qmLTZchz -r us-east-1
2. List keys.
key -l
3. Delete key
key -d dev_key
4. Display detail info for a key
key -i dev_key
5. Use key as the default(toggle) key
key -u dev_key
6. Display help
key -h
Adds and Removes users from the App
Options
usr -a,{--add} user_name -t,{--type} regular/admin
usr -d,{--delete} user_name
usr -l,{--list}
usr -h,{--help}
Examples
1. Add an admin user.
usr -a Joe -t admin
2. Add a regular user.
usr -a Joe
3. List users.
usr -ls
4. Delete user
usr -d Joe
Attach and Detach Channel to a Key
Options
chn -a,{--attach} {key_name}
chn -d,{--detach}
chn -i,{--info}
chn -h,{--help}
Examples
1. Attach current channel to the key
chn -n dev_account
2. Detach channel from the attcahed key.
chn -d
3. Display channel info.
chn -i
4. Help.
chn -h
Insight into Ec2 infrastructure
View Details, Count, Count by Status/State of list of instances. Start, Stop and Reboot Ec2 instances.
Options
ec2 --start {id1 id2}
ec2 --stop {id1 id2}
ec2 --reboot {id1 id2}
ec2 -a,{--all}
ec2 -a,{--all} -d,{--details}
ec2 -a,{--all} -c,{--count}
ec2 -a,{--all} -s,{--status}
ec2 -a,{--all} -l,{--lifecycle}
ec2 -a,{--all} -s,{--status} -c,{--count}
ec2 -a,{--all} -t,{--state} state
ec2 -a,{--all} -t,{--state} state -w,{--windows}
ec2 -i,{--id} {id1 id2}
ec2 -i,{--id} {id1 id2} -d,{--details}
ec2 -i,{--id} {id1 id2} -s,{--status}
ec2 -k,{--tkey} -v,{--tvalue}
ec2 -k,{--tkey} -v,{--tvalue} -c,{--count}
ec2 -k,{--tkey} -v,{--tvalue} -d,{--details}
ec2 -k,{--tkey}
ec2 -k,{--tkey} -c,{--count}
ec2 -k,{--tkey} -d,{--details}
ec2 -v,{--tvalue}
ec2 -v,{--tvalue} -c,{--count}
ec2 -v,{--tvalue} -d,{--details}
ec2 -h,{—help}
Examples
1. List all running instances, limit is 100
ec2 -a
2. List all running instances more details, limit is 100
ec2 -a -d OR ec2 -ad
3. Count of all running instances
ec2 -a -c OR ec2 -ac
4. List all instances with status(Instance and System) [ok,impaired,initializing,insufficient-data,not-applicable]
ec2 -a -s OR ec2 -as
5. List count of all instances with status(Instance and System) [ok,impaired,initializing,insufficient-data,not-applicable]
ec2 -a -s -c OR ec2 -asc
6. List all instances with state [pending,running,shutting-down,terminated,stopping,stopped]
ec2 -a -t running stopped
7. List all windows instances with state [pending,running,shutting-down,terminated,stopping,stopped]
ec2 -a -w -t running stopped
8. List all instances with instanceIds
ec2 -i i-abcdnvbf i-ouiprhrg
9. List all instances with details for instanceIds
ec2 -d -i i-abcdnvbf i-ouiprhrg
10. List all instances with status for instanceIds
ec2 -s -i i-abcdnvbf i-ouiprhrg
11. List all instances for tags (key or/and value)
ec2 -k Name -v Development
12. List all instances count for tags (key or/and value)
ec2 -c -k Name -v Development
13. List all instances details for tags (key or/and value)
ec2 -c -k Name -v Development
14. Start EC2 Instances
ec2 --start i-abcdnvbf i-ouiprhrg
15. Stop EC2 instances
ec2 --stop i-abcdnvbf i-ouiprhrg
16. Reboot EC2 instances
ec2 --reboot i-abcdnvbf i-ouiprhrg
List APIGateway components.
List APIs, Deployments, Stages and Resources for APIs
Options
apg -l,{--list}
apg -i,{--id} {api_id}
apg -d,{--deployments} {api_id}
apg -r,{--resources} {api_id}
apg -s,{--stages} {api_id}
apg -h,{--help}
Examples
1. List all APIGateway APIs
apg -l OR ag --list
2. Get info about APIGateway API for an APIID.
apg -i 5kff3bca8i OR apg --id 5kff3bca8i
3. List deployments for an API (APIID).
apg -d 5kff3bca8i OR apg --deployements 5kff3bca8i
4. Get stages for an API (APIID).
apg -s 5kff3bca8i OR apg --stages 5kff3bca8i
5. Get resources for an API (APIID).
apg -r 5kff3bca8i OR apg --resources 5kff3bca8i
6. Help.
apg -h
List AutoScaling components.
List Autoscaling groups, Scaling activities, Launch Configuration and Instances.
Options
asc -l,{--list}
asc -g,{--group} {group_name}
asc -c,{--launchc} {group_name}
asc -a,{--activities} {launch_group_name}
asc -i,{--instances} {group_name}
asc -h,{--help}
Examples
1. List all AutoScaling Groups
asc -l
2.Get details for an AutoScaling group.
asc -g WorpressScalingGroup
3. Get LaunchConfiguration for an AutoScaling group.
asc -c WorpressLaunchGroup
4. List all activities for an AutoScaling group.
asc -a WorpressScalingGroup
5. List all instances for an AutoScaling group.
asc -i WorpressScalingGroup
6. Help.
asc -h
List CloudWatch Alarms.
List CloudWatch Alarms and Alarms History
Options
cwa -la,{--alarms} {options}
cwa -n,{--name} {alarm_name}
cwa -s,{--history} {alarm_name}
cwa -s,{--history} {alarm_name} -t,{--type} {history_type}
cwa -h,{--help}
Examples
1. List all CloudWatch Alarms in "OK" state (Defualt)
cwa -a
2. List all CloudWatch Alarms in "ALARM" state
cwa -l ALARM
3. List all CloudWatch Alarms in "INSUFFICIENT_DATA" state
cwa -l INSUF_DATA
4. Get CloudWatch Alram for names.
cwa -n alarmname1 alarmname2
5. List CloudWatch Alarm History.
cwa -s alarmname1
6. List CloudWatch Alarm History for History type conf_update OR state_update OR action (ConfigurationUpdate OR StateUpdate OR Action).
cwa -s alarmname1 -t conf_update
7. Help.
cwa -h
List DynamoDb components. DynamoDb Tables and Indexes
Options
ddb -l,{--list}
ddb -t,{--tabe} {table_name}
ddb -i,{--indexes} {table_name}
ddb -h,{--help}
Examples
1. List DynamoDb tables (20 limit)
ddb -l
2. Describe "messages" DynamoDb table.
ddb -t messages
3. Describe GlobalSecondaryIndexes and LocalSecondaryIndexes for a table "messages".
ddb -i messages
4. Help.
ddb -h
List AWS ESC Components. List AWS ECS Clusters
Options
ecs -l,{--list}
ecs -n,{--names} {name1 name2}
ecs -h,{--help}
Examples
1. List all AWS Clusters
ecs -l
2. Get info for an AWS ECS Cluster
ecs -n cluster_name
3. Help.
ecs -h
List AWS Lambda components.
List Lambda functions, function aliases and function version.
Options
lmb -l,{--list}
lmb -f,{--function} {function_name}
lmb -a,{--aliases} {function_name}
lmb -v,{--versions} {function_name}
lmb -h,{--help}
Examples
1. List all Lambda functions
lmb -l
2. Get function info.
lmb -f UpdateRDS
3. List all aliases for an AWS Lambda function.
lmb -a UpdateRDS
4. List all versions for an AWS Lambda function.
lmb -v UpdateRDS
5. Help.
lmb -h
List AWS OpsWorks components. List Stacks, Apps and Instances.
Options
opw -l,{--list}
opw -i,{--id} {id1 id2}
opw -s,{--summary} {stack_id}
opw -a,{--apps} {stack_id}
opw -n,{--instances} {stack_id}
opw -h,{--help}
Examples
1. List all OpsWorks Stacks
opw -l
2.List OpsWorks Stacks for stackIds.
opw -i 0cfc8b50-760d-4e6b-9e58-13888123123
3. Get OpsWorks Stack summary for stackId. Number of Layers, Apps and Instances
opw -s 0cfc8b50-760d-4e6b-9e58-13888123123
4. List all Apps for an OpsWorks Stack.
opw -a 0cfc8b50-760d-4e6b-9e58-13888123123
5. List all instances for an OpsWorks Stack.
opw -n 0cfc8b50-760d-4e6b-9e58-13888123123
6. Help.
opw -h
List AWS SNS Components. List all Topics and Topic's Subscriptions
Options
sns -l,{--list}
sns -s,{--subscriptions} {topic_arn}
sns -h,{--help}
Examples
1. List all AWS SNS Topics
sns -l
2. List all Subscriptions for Topic Arn.
sns -s topicArn
3. Help.
sns -h
List SQS Queues
Options
sqs -l,{--list}
sqs -l,{--list} -p,{--prefix} {queue_prefix}
sqs -h,{--help}
Examples
1. List regular queues
sqs -l
2. List queues with prefix.
sqs -lp testq
3. Help.
sqs -h
List VPC components.
List Vpcs, Vpc FlowLogs, Vpc Endpoints and Vpns
Options
vpc -l,{--list} {options}
Examples
1. List all vpc
vpc -l
2. List all vpc flowlogs.
vpc -l flowlogs
3. List all vpc endpoints.
vpc -l endpoints
4. List all vpns.
vpc -l vpn
5. Help.
vpc -h
List Route53 List HostedZones and RecordSets
Options
r53 {-z},{--hzones}
r53 {-r},{--recordsets} hosted_zone_id
r53 {-h},{--help}
Examples
1. List all Route53 HostedZones
r53 -z
2. List Route53 recordsets for a hosted_zone_id
r53 -r Z16T34XHPWEE1M
3. Help.
r53 -h

FAQ

Questions and Answers

Click the button below!

Add to Slack
After installing the App, you will be an admin and will have the privilege to add keys, users and assign different keys to channels.

Follow these steps:
1. Create AWS Keys. Check question no. 3.

2. To access AWS resources, you need to add keys to the app. This will allow you to assign AWS KEY, SECRET and REGION to a key

The first key added in the app will be your default global key. You can add more than one key and switch the default.
/cs key -a web_team -k AKIAJTTJJFRKQKL4HLKK -s aTRfy3hgfpajr99zV0OT6qmLTZchz -r us-east-1

3. Add users to the app.

All users do not have access to App commands. We don't give everybody access to your AWS resources. You will need to explicitly add users to the app.
/cs usr -a @Joe
/cs usr -a @smith -t admin

4.(optional) Attach keys to different channels

By default, all channels will use default global key. You can optionally assign a different key to the channel. (Covers use cases where you have different channels for different tech. departments.)
/cs chn -n web_team
5. You are all set to execute CloudSummary commands.

List of commands: ec2, sns, sqs, apg, lmb, ecs, cwa, ddb, acs, r53, opw, vpc, spt
Exmples:
/cs ec2 -a
/cs apg -l
1. Login into AWS console.
2. Navigate to the IAM service in your AWS console.
3. Click "Users" on the left navigation bar, next click "Create New Users".
4. Enter "SlackAccess" (or any other name you like) into the "User name" text field,
5. Select "Programmatic access" in "Access type" and click "Next".
6. Click "Attach existing policies directly" and select the AWS policy on the list. We recommend you add ReadOnlyAccess to your AWS resources.
7. Click "Next: Review" and "Create user".
8. Download the .csv file or copy the key and secret on the last web page.
We encrypt and store your AWS keys in thedatastore on AWS cloud. The keys are encrypted using AES encryption with secret pass phrase which is unique to each team.
1. Add/remove keys to the app.
2. Change global default key for the app.
2. Add/remove users (regular or admin) to the app. We don't give everybody access to your AWS resources. You need to explicitly add users to the App.
3. Attach/Detach key to a different channel.

Add users to the app.

All users do not have access to App commands. We don't give everybody access to your AWS resources. You need to explicitly add users to the app.
/cs usr -a @Joe
/cs usr -a @smith -t admin

1. Use issue command
/cs issue "issue text"

2. Use support command
/cs spt -i "issue text"

3. By email
support@cloudsummary.com

Install the App. Just Click ->

Convert Slack into Powerful Terminal to query your AWS resources.