Questions tagged [aws-ssm]

AWS Systems Manager (formerly Amazon EC2 Systems Manager) is a unified interface that allows you to easily centralize operational data and automate tasks across your AWS resources.

AWS Systems Manager is a agent that can be installed and run on EC2 instances allow has various capabilities like running commands on these EC2 instances, help push data to Cloudwatch etc. Do take a look at http://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html for more info.

645 questions
2
votes
0 answers

AWS SSM getparameters make behavior node js sync

Is there any way to make AWS SSM getparameters sync? Requirement : The secret key, id stored in the SSM store should be accessible on the server up. Using Node and express in the backend as a reverse proxy, so we have a constant.js file, it stores…
karthik rao
  • 121
  • 5
2
votes
1 answer

Is there any Azure service similar to AWS Systems Manager Session Manager?

AWS SSM Agent can be installed on private subnet VMs allowing access to the EC2 instance through AWS EC2 console. Described here: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-systems-manager-vpc-endpoints/ Additionally, with AWS VPC…
2
votes
1 answer

How to deploy AWS Appconfig hosted configuration version via AWS CLI

I have been following this document to create a hosted version in AppConfig via CLI. Issue : The content parameter in the aws command expects a strict type of blob. I want to upload a relative large yaml file of approx 40kB which is present in my…
2
votes
0 answers

How to logging when i use SSM Automation

I am trying to use SSM Automation so I made a document by myself and tried to run it. My Problem: I tried logging in AWS Docs Logging Automation action output with CloudWatch Logs, but logging is not working. I tried the way it works in the console,…
nari120
  • 78
  • 1
  • 8
2
votes
1 answer

Ansible community.aws.aws_ssm module. ERROR! A worker was found in a dead state

Trying to use this Ansible community.aws.aws_ssm module but keep getting "ERROR! A worker was found in a dead state" Could not find any solution for this case, only outdated issues with Ansible throwing out of memory errors. Playbook - name:…
Sergey
  • 43
  • 1
  • 6
2
votes
1 answer

Store tenant preferences in a multi-tenant app in DynmoDB or SSM

I have a multi-tenant application and the backend comprises of the microservices. The tenant admin will have a preferences page on the UI that can store system preferences for the tenant (i.e all users of the tenant). I am thinking about what the…
systemdebt
  • 4,589
  • 10
  • 55
  • 116
2
votes
2 answers

Why does restricting `ssm:sendCommand` to a specific document via an IAM policy show access denied?

I'm trying to have an IAM user who can only use SSM Run Command with a specific Document. If I have the following policy attached to the user, that user can indeed only successfully execute AWS-RunShellScript (which is an AWS managed) document on…
Azad Salahli
  • 876
  • 3
  • 14
  • 30
2
votes
1 answer

how to connect to private RDS from localhost

I have a private VPC with private subnets a private jumpbox in 1 private subnet and my private RDS aurora MySql serverless instance in another private subnet. I did those commands on my local laptop to try to connect to my RDS via port…
2
votes
0 answers

Shell script is giving error while running as part of AWS SSM command

I am trying to run below script which allows redirecting the messages to both terminal and a log file. The script is running fine on linux and Mac systems however it is failing while running as part of an AWS SSM command/document. SSM Command shell…
Rob Wilkinson
  • 1,131
  • 5
  • 18
  • 34
2
votes
1 answer

AWS Key Pair Replacement

I am looking to replace my lost AWS Key Pair. I have searched near and far, youtube clips, resources articles on AWS, and others. Yet I am nowhere near where I need to be. Please can someone steer me in the proper direction? I would appreciate your…
2
votes
0 answers

I want to understand how to use aws start_session output to execute commands

I am using python and AWS boto3 to automate a few manual works. My Scenario is once I open a session with the session manager I will be able to execute commands like connecting to my DB. Now I used boto3 start_session where I got the response with…
vinstart
  • 21
  • 3
2
votes
1 answer

Boto3 SSM waiter not working for Automation Execution

I am trying to execute an SSM automation and then apply a waiter to wait for the execution to complete but i am landing on a InvocationDoesNotExist exception. My code is as follows: # Get the SSM client client = boto3.client('ssm') #Start the…
Mervin Hemaraju
  • 1,921
  • 2
  • 22
  • 71
2
votes
2 answers

Ansible & AWS SSM connectivity/plugin & “ciphertext refers to a customer master key that does not exist”

Anyone able to get ansible's: ansible_connection: aws_ssm working? AFAICT this should be a drop in replacement for ssh: https://docs.ansible.com/ansible/latest/collections/community/aws/aws_ssm_connection.html My playbook runs with ssh, but not…
Bruce Edge
  • 1,975
  • 1
  • 23
  • 31
2
votes
1 answer

Retrieve only one parameter value from aws ssm get-parameter command?

How can I print only the value of Value attribute from the below output of the following command aws ssm get-parameter --name "/test/ip/cidr" --profile test { "Parameter": { "Name": "/test/ip/cidr", "Type": "String", …
SRE
  • 41
  • 2
  • 7
2
votes
1 answer

AWS-RunShellScript calls python script but can't find python modules

I am attempting to run a shell script on an ec2 from the systems manager. The shell script has a call to run a python script. It works perfectly when I run it manually, but if I run it through the systems manager it says it can't find the downloaded…
Noratho
  • 23
  • 2