Questions tagged [aws-cli]

aws <command> <subcommand> help

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

AWS SNS-SQS: Checking a subscription already exists

I've found it's a useful strategy to create relevant queues whenever a queue worker service boots. For instance, on service boot, it checks whether its queues exist already in AWS and creates them if ...
1
vote
0answers
47 views

Can Gitlab Auto DevOps provide an aws/dynamodb-local service without being customised?

I'm using an aws/dynamodb-local Docker container for use during local testing of my Node application and I'd like to integrate it with my Gitlab CI test job. I have made a rudimentary extension to ...
1
vote
0answers
13 views

Allow specific AWS permissions(Lambda, S3) / roles to specific Jenkins Jobs within same AWS account

We have one AWS account in which an Ec2 instance is running where Jenkins is installed, and we have attached an IAM role to it, with s3 access permission. We have Jenkins jobs which needed aws ...
0
votes
0answers
16 views

Convert AWS CLI json response into an alert

If I run the AWS CLI command for Compute Optimizer: aws compute-optimizer get-ec2-instance-recommendations part of the json response body tells me that an EC2 instance is over-provisioned. "...
0
votes
0answers
16 views

How can I efficiently manage multiple ec2 instances with a Panel

My Current Scenario is: I have over 20+ AWS ec2 instances running, with each instance running a single website. I have to use SSH for every task I have to perform related to server. I have to keep ...
0
votes
1answer
89 views

In the AWS CLI how do I treat a special character as a string?

I'm trying to run an AWS CLI command for a resource with a ! in its name. I'm doing this from Centos docker instance running on my local device a MAC and if I run echo "$SHELL" it says it ...
0
votes
0answers
7 views

What is the benifit of useing AWS Systems manager rather than aws secure token service?

I saw this question about running CLI commands on an instance How to run a script or a command on EC2 instance via AWS CLI? They I can already run CLI commands with a secure token service but all the ...