Questions tagged [amazon-systems-manager]

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 SSM has an Agent that can be installed on your EC2 instances and allows your to do things like run commands, monitor and upload logs to Cloudwatch. Do take a look at http://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html for more info.

76 questions
0
votes
0 answers

AWS Systems Manager (Managed Instances)

I'm evaluating the AWS Systems Manager tool, and once configured following the official documentation, my EC2 instance is enabled to be centrally managed on it. However, I noticed that new EC2 instances (I'm not dealing with instances in on-premises…
0
votes
0 answers

AWS RunShellScript in SAM YAML

so im stuck for a couple of days with my automation in SAM. Problem: I cant reproduce the things i did over the GUI in AWS to my SAM Template. I managed over the GUI: Create an Event Bridge Rule which gets triggered when a new object is…
0
votes
1 answer

Is it absolutely necessary to explicitely mention region while building SsmClient using aws sdk for java v2?

So basically I want to know what will if we don't mention the region or if mention the region incorrectly SsmClient ssmClient = SsmClient.builder() .region(region) .build(); I was expecting that if region is not set…
0
votes
0 answers

Unable to create patch baseline with alternate repository for ubuntu

I wanted to create a patchbaseline which passes the alternative repo for ubuntu. I followed the info here. I set all other options as default in the ui and change the configuration to…
0
votes
0 answers

Trying to run a bash on AWS SSM

i'm trying to run a few bash commands/scripts in AWS' Systems Manager using an automation document. i keep getting this error below are my settings in the automation document. There is no way for me to define what type of string it is. here's a…
0
votes
1 answer

Does an AWS Association for automatically start/stop an RDS database adjusts for DST time change?

I created 2 associations to auto start and stop an RDS instance at specific time, every day as instructed here: https://aws.amazon.com/it/blogs/database/schedule-amazon-rds-stop-and-start-using-aws-systems-manager/ StartRDS at 08:00am UTC/GMT and…
Marios
  • 339
  • 1
  • 14
0
votes
1 answer

AWS System Manager Run Command on EC2 Failes

I'm running a fastapi server on ec2 ubuntu. Everything work fine when I ssh in to ec2 and run commands, but I want the server to be running when my local machine is off. So, I tried AWS System manager's run command. The connection looks fine but…
0
votes
1 answer

AWS SSM Command Document - Constrain instances to choose from

I'm creating an SSM Command document to use with Run Command. This Run Command will operate on a schedule. One thing I'm unclear about is if there is any way to prevent choosing instances (as pictured below). I need this one command to run against a…
0
votes
1 answer

Can I access AWS Parameter store from Lightsail instance?

I have a spring boot server deployed in ec2 which uses Parameter store in System manager to keep the application secrets. I want to deploy the same now on AWS Lightsail instance. Please help if this is possible. if yes, how to do it.
0
votes
1 answer

Filter AWS resources under Explorer

How I can filter AWS resources under AWS Explorer? e.g, list OpsData related to an ec2 instance with a specific tag, I tried "Related Resources Tag Key" with no luck, I tried to add the same keys I want to use in "Tags for reporting" with no luck as…
Aladdin
  • 1,207
  • 2
  • 16
  • 26
0
votes
0 answers

How can I Patch my Amazon EMR cluster with security updates?

I have an Amazon EMR cluster with 3 nodes (1 master and 2 core) running on Amazon EMR Release 5.31.0 AMI. I want to patch these nodes with security - critical and important patches as we would patch normal EC2 instances. Can we do this? As EMR runs…
0
votes
1 answer

Cannot start an AWS ssm session on EC2 Amazon linux instance

I want to start an AWS SSM session to an EC2 Amazon linux machine. In my AWS Systems Manager preferences I have set RunAs user as ubuntu so basically I am looking for a command which would let me start a session with a different RunAs…
0
votes
1 answer

How to update CloudWatch Agent version on Windows Instance?

Let's say that the CloudWatch Agent installed on Windows Server was version X.0. After few months, there was an update, and the latest available version of CloudWatch Agent was X.1. So, how can I proceed with updating the already installed…
0
votes
1 answer

Can an ECS service / ASG instance add its own IP to an a Systems Manager Parameter Store entry on bootup?

I want nodes to add their own ip to a list at a key, so that other nodes joining the cluster can discover them. The issue w/ using the supported CloudMap registration for doing this, is that doesn't seem very dynamic. I want the list to start off…
0
votes
2 answers

Schedule of Run Command in AWS Systems Manager

In my AWS account, under AWS Systems Manager > Run Command, I can see nothing under Commands tab but there are a lot of tasks records under Command history. I can see which document these tasks run on. However, I have no idea why there are so many…
Steve
  • 175
  • 1
  • 3
  • 14