aws-ssm Questions

3

Solved

I've set up a CMK (Custom Managed Key) to encrypt LogGroups with AWS Systems Session Manager: First, permissions for "key administrators" and "key users/roles" are added in the...
Caryncaryo asked 1/7, 2020 at 4:49

4

Hi need to transfer a file to ec2 machine via ssm agent. I have successfully installed ssm-agent in ec2 instances and from UI i am able to start session via "session-manager" and login to...
Holystone asked 26/11, 2020 at 7:25

2

Solved

I have an EC2 instance that's typically used via manually sshing onto the box as ec2-user. Over time the box has accrued various custom configurations such as docker config and git access to our pr...
Laxative asked 28/5, 2020 at 18:47

13

Problem: When I try to locally connect to a running EC2 instance using the AWS System Session Manager CLI command: aws ssm start-session --target i-123456 I get the error: An error occurred (Target...
Mccluskey asked 22/9, 2020 at 0:0

4

I want to write a Python 3.6 query in AWS Lambda to get details on an AWS SSM parameter store but I get a null response. If I query via AWS CLI I get the details on the parameter store item includi...
Fortalice asked 4/9, 2019 at 14:28

3

Solved

I followed the instructions mentioned in an AWS developer forum post (now no longer available). Policy { "Version": "2012-10-17", "Statement": [ { "Sid":...
Gest asked 15/10, 2020 at 14:13

4

I am trying to query some SSM parameters by path (within Gitbash): aws --region eu-west-2 --profile some-profile ssm get-parameters-by-path --path /prefix/prefix2 There are a number of parameters ...
Capitalism asked 11/9, 2020 at 14:32

2

I am currently trying to remotely run a script on my ec2 instance using python and boto but I can't tell if my call to send_command is working correctly. As of right now my code looks like ec2 = bo...
Megalocardia asked 7/5, 2021 at 19:30

2

Solved

I try to using Session Manager within my CI (with a vanilla configuration, so nothing too fancy). All inputs (keys, etc.) and configurations (user/strategy/key) are valid. I succeed to start a sess...
Lollis asked 5/2, 2021 at 16:16

3

Solved

I need to prepare an AMI based on CentOS 8 with pre-installed SSM-agent. Trying to use Image Builder for this. According to the documentation: Instances used to build images and run tests using Ima...
Schapira asked 25/1, 2021 at 19:26

2

Solved

When should I use Parameter store for saving configuration vs AppConfig? For example, if I had to change the log level at run time, should that be stored in SSM or Appconfig? What are the pros and ...

4

Solved

UPDATE: As of Feb 1,2023 I paid the money and opened a ticket with AWS and this is the response.. Keep waiting: Reaching out to the internal team in terms of Patch Manager for Ubuntu 22.04, we were...
Overstreet asked 10/6, 2022 at 17:2

1

In AWS CDK, you can create a parameter store entry for storing secrets like passwords. However you cannot leave the value blank, and you shouldn't put the secret in the CDK git repository, so how d...
Fowliang asked 9/11, 2020 at 3:2

3

Solved

I am using a simple boto3 script to retrieve a parameter from SSM param store in my aws account. The python script looks like below: client = get_boto3_client('ssm', 'us-east-1') try: response = ...
Elledge asked 23/2, 2018 at 20:47

6

Solved

I am getting error when I execute the below command. But as far as I have googled, I see the syntax is correct. Command 1: aws ssm put-parameter --name /Finance/Payroll/elixir3131 --value "P@s...
Sign asked 22/10, 2018 at 1:5

1

Solved

I'm on a Windows server. I had to relaunch an instance from a snapshot of another instance that might have been in a different availability zone. One other change is that I've enabled imdsv2 on the...
Cabinetwork asked 13/3, 2023 at 0:39

7

I am trying to setup eksctl for eks but it throwing "Error: unable to determine AMI to use: error getting AMI from SSM Parameter Store: AccessDeniedException: User: arn:aws:iam:::user/cnc is n...
Gamine asked 10/1, 2021 at 12:6

4

I would like to avoid keeping secret in the Git as a best practise, and store it in AWS SSM. Is there any way to get the value from AWS System Manager and use to create Kubernetes Secret?
Subsumption asked 11/7, 2020 at 16:34

2

Solved

until [ $(aws ssm get-automation-execution --automation-execution-id "$id" --query 'AutomationExecution.AutomationExecutionStatus' --output text) = *"InProgress"* ]; do echo "Automation is running...
Ruler asked 22/8, 2018 at 20:11

1

Solved

I have an ECS task running on Fargate on which I want to run a command in boto3 and get back the output. I can do so in the awscli just fine. ➜ aws ecs execute-command --cluster cluster1 \ --task...
Karelian asked 15/12, 2021 at 16:23

1

I'm using sessions Manager/Run Command to access some of my instances and it works for some instances and not for others. I have the same configuration for a few instances, same security groups, IA...

1

Solved

I am using Service Catalog to execute the SSM Automation Document, so my Service Catalog has its own Role called "My_END_USER_Role", and I've created another role with permission to stop ...

1

Solved

The following codesnippet: AWSTemplateFormatVersion: '2010-09-09' Description: Some CloudFormation template Resources: MyResourceName: Type: AWS::SSM::Parameter Properties: Name: myParameterNa...
Cassiodorus asked 26/10, 2021 at 6:17

3

Solved

I added the policy: AmazonSSMManagedInstanceCore to the instance profile of the windows instance (which is running the SSM agent)... but it doesn't show up under session manager. It keeps saying: &...
Jaunitajaunt asked 12/5, 2021 at 22:6

3

Solved

How do I list all parameters in the AWS Systems Manager (SSM) Parameter Store? I am using the AWS CLI. I can store them with aws ssm put-parameter. I can fetch them with aws ssm get-parameter. I c...
Millwater asked 5/3, 2019 at 21:29

© 2022 - 2025 — McMap. All rights reserved.