Questions tagged [ssm]

Use this tag when your question has to be with problems or doubts about the AWS Systems Manager product.

AWS Systems Manager is a collection of capabilities for configuring and managing Amazon EC2 instances, on-pr.emises servers and virtual machines, and other AWS resources at scale.

Systems Manager gives you a complete view of your infrastructure performance and configuration, simplifies resource and application management, and makes it easy to operate and manage infrastructures.

More information can be found in the AWS help center

168 questions
1
vote
1 answer

AWS permissions for Fargate and SSM

I'm trying to create some infrastructure for a service I am building on AWS using AWS Fargate. I'm using SSM as a value store for some of my application configuration, so I need both the regular permissions for Fargate as well as additional…
Ertai87
  • 1,156
  • 1
  • 15
  • 26
1
vote
1 answer

AWS SSM ping status connestion lost for windows

Hi i am trying to perform patching activity on the ec2 instances using AWS Systems manager but unable to perform activity because in panel of SSM managed instances it shows "connection lost" for ping status. How can i resolve this?
AK47
  • 11
  • 2
1
vote
2 answers

SSL certs with AWS SSM Parameter Store

I am trying to pass in SSL certificate to AWS SSM parameter store the SSL certificate is password protected as well my question is how do i retrieve this as a certificate file inside the containers in ECS? I do know how to use SSM parameter store to…
uberrebu
  • 3,597
  • 9
  • 38
  • 73
1
vote
2 answers

What do the SSM PingStatus values mean?

I am looking at SSM instance ping status (PingStatus) information, as returned by the describe_instance_information boto3 calls or as displayed in the SSM console for Managed Instances. But it is not clear to me what the values represent in all…
Shawn
  • 8,374
  • 5
  • 37
  • 60
1
vote
1 answer

What is the most efficient way to run scheduled commands on multiple EC2 instances?

Currently working on an environment requirement where we are to push the same file out to multiple EC2 instances running Windows on a scheduled interval. As it stands now, I see a few options and have tried each: Windows Task Manager: run a basic…
Franchise
  • 1,081
  • 3
  • 15
  • 30
1
vote
1 answer

How can I create an AWS Cloud Formation condition for creating a new SSM Parameter if not already created?

Anyone used condition in Cloudformation template for SSM Parameter Store parameter "if it is not created before then create or do nothing" like condition in Cloudformation ? I have tried it in many ways but no luck. Also search for it but there is…
1
vote
0 answers

Copy an ssm path with other name

We keep environment information (endpoints, passwords,etcs) under an ssm tree, lets call it /qa/ and we'd like to find a simple way to copy it over to /qa01/ /qa02/ etcs, and in the process modify some variables. We have dumped the current content…
Dolapevich
  • 11
  • 2
1
vote
0 answers

AWS Systems Manager get inventory is not returing everything?

I am running a query against our environment using the AWS CLI. My query does not return everything that is listed in the Systems Manager console. I have compared the output of the above command with what is listed in the Systems Manager console.…
mschmitzz
  • 11
  • 1
1
vote
1 answer

Maximum number of allowed versions changes for SSM Parameter

I have an SSM parameter created which will need a frequent update to it (almost 20 times a min). The SSM put_parameter API says it can return some error in case it exceeds the max limit versions. ParameterMaxVersionLimitExceeded The parameter…
Sanjib
  • 119
  • 1
  • 1
  • 15
1
vote
1 answer

Git clone bitbucket repository inside aws ec2 using ssm , can't see ssh public keys?

when I try to clone my private repository from bitbucket to my ec2 instance using ssm agent I get Permission denied (publickey). fatal: Could not read from remote repository. after invistagation I found that ssm command for some resone cant see…
Mohamed Adel
  • 1,980
  • 17
  • 23
1
vote
1 answer

aws cli: ssm start-session not working with a variable as a parameter value

I am trying to automate some part of my work by creating a bash function that let's me easily ssm into one of our instances. To do that, I only need to know the instance id. Then I run aws ssm start-session with the proper profile. Here's the…
breezymri
  • 3,975
  • 8
  • 31
  • 65
1
vote
0 answers

How to access EMR Web interfaces through SSM?

We use EMR web interfaces like Zeppelin and YARN ResourceManager. For EMR hosted in a private subnet, we need to use a bastion host in the public subnet. We also use the same bastion for SSH into the EMR master. However, now SSM offers a better way…
Noam Musk
  • 47
  • 1
  • 5
1
vote
1 answer

AWS System Manager CLI function

I have been running into troubles when running a CLI command to create a AWS System Manager Association task. The command is the one listed below: aws ssm create-association --name AWS-RunRemoteScript --targets…
slayer27
  • 65
  • 6
1
vote
0 answers

Running .exe file command on EC2 instance using SSM RunCommand

I have some problems with running .exe command on Windows10 on-premise instance. I trying do like this: - Choosing "AWS-RunPowerShellScript" as Document - Adding my commands which I need to execute. For example: cd "C:/Program Files…
1
vote
0 answers

How can I execute Batch program on EC2 with asynchronously with send_command on SSM?

I have deployed Lambda function who executes the "BATCH PROGRAM" on an EC2 by send_command of ssm. The processing time of the "BATCH PROGRAM" is beyond the Lambda's timeout. Thus I want run send_command with something option for ASYNCHRONOUSLY…
yamash ken
  • 11
  • 2