Questions tagged [aws-systems-manager]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

key issues : aws EC2-instance [duplicate]

I am facing some login problem for accessing instance. While login to the server console (its a live server) it shows as Permission denied (publickey), Also am accessing with sudo also same issue ...
0
votes
0answers
7 views

AWS EC2 SSM send-command without logging sensitive parameter

I would like to provide my users a Jenkins job that that would execute a specific command on an EC2 instance of their choice. One of the parameters would be a password for the internal service, and I ...
2
votes
2answers
108 views

EC2 instance doesn't show up in AWS Systems Manager

I am trying to create an EC2 instance (Amazon Linux, so I shouldn't have to configure the SSM agent as it should be autoconfigured) in a private subnet, and want to be able to SSH into it. According ...
0
votes
0answers
10 views

AWS Systems Manager Patch Manager - adding a prerequisite for one instance to complete patching before others start?

Anyone know of a way or document to stop application instances, patch the SQL instance and have the starting and patching of the application instance until the SQL instance is back available and ...
0
votes
0answers
26 views

De-register and re-register an instance from ELB with systems manager in maintenance windows

I can't find any documentation on this or any run command for accomplishing, what should be, a super common use case. I have EC2 instances registered with an ELB. I want to deregister them during an ...
0
votes
0answers
30 views

How do I enable aws inventory with terraform?

I have to go to the AWS UI and select "enable inventory" on managed instances- what is aws doing when I click this button? Can I do this with terraform somehow so I dont need to keep going ...
0
votes
0answers
11 views

Run aws maintenance window immediately for testing

I'm experimenting with aws patch manager and I setup maintenance windows to run a "scan". How can I kick off a maintenance window ad-hoc to test it instead of waiting for the scheduled time?
0
votes
0answers
16 views

Can I have multiple patch groups with the same patch baseline?

I'm trying to wrap my head around AWS Patch Manager. Can I add 2 patch groups with 2 different schedules to the same baseline? It feels redundant to create 2 completely different baselines for what I ...
2
votes
1answer
115 views

I've been locked out of EC2 RDP connection to my Windows 2019 Server instance after resetting firewall rules

I've been using a Windows_Server-2019-English-Full-Base-2020.12.09 EC2 instance in N.Virginia for a while and accidently got my firewall rules reset and it seems RDP port is closed and not accepting ...
0
votes
0answers
46 views

Web app runs super slow after AWSSupport-ResetAccess

Here's what happened: I spun up an EC2 instance I successfully installed Ghost on it (a self-hosted blogging platform) I lost my *.pem private key that gives me access to the EC2 intance I ran the ...
0
votes
0answers
32 views

AWS Patch Group Tags are present in EC2-Tags, AWS System manager-Managed Instances but not in Patch Manager-Configure Patching. Help Needed

I have a tagging issue that isn't making sense to me. I have made some Patch Group tags in EC2 instances. In EC2 - Tags they are there and visible, go into them and they show the correct instances in ...
0
votes
1answer
530 views

SSH connection getting a Connection timed out in AWS

I have a website hosted in AWS EC2 with the t2.micro instance(Ubuntu 18.04.4). When I tried to connect through Putty or browser-based SSH connection from the AWS console, i am getting a connection ...
0
votes
1answer
33 views

Can't RDP Into EC2 After Running Systems Manger Command

I ran a very simple powershell script (setting up odbc) on a bunch of EC2 instances using AWS Systems Manager. The script worked but now I am unable to RDP into any of the instances. I have tried ...
0
votes
0answers
164 views

How do I poll for when the ssm agent is started and session manager can connect for newly created instances?

I use SSM to connection to windows ec2 instances with the cli: aws ssm start-session --target <id> It takes the ssm service on a windows instance a few mins to start sometimes I can check when ...
1
vote
1answer
109 views

AWS SSM port forwarding bind to external interface

I have managed to get SSM port forwarding working to an AWS instance using the following from my "jump server". aws ssm start-session --target $INSTANCE_ID \ --document-name ...
1
vote
1answer
91 views

How to Centralize AWS SSM with multiples accounts

I'm trying to setup AWS SSM with one environment to administer all organizations/accounts that my clients have. I tried to setup using this article: Centralized Multi-account and Multi-region ...
1
vote
0answers
82 views

AWS Config rules with no resources by tag

I have an AWS Config rule set up to look for the 'Certify The Web' application using the EC2_MANAGEDINSTANCE_APPLICATIONS_REQUIRED rule. I have the scope of resources to a tag Key of ACM and value of ...
0
votes
1answer
657 views

How to decrypt Secure String values in Parameter Store using .NET Core's AmazonSimpleSystemsManagementClient

I have the following code in a Lambda function: var ssmConfig = new AmazonSimpleSystemsManagementConfig { RegionEndpoint = RegionEndpoint.APSoutheast2 }; ...
0
votes
1answer
403 views

AWS Windows EC2 unable to join to AWS Managed AD using SSM

I have a windows server that sits in a VPC with no internet access. But it has VPC endpoints to SSM,ec2messages,ssmmessages and ec2 api. When I try to join this to a domain by using the ssm api, ...
1
vote
1answer
58 views

Amazon ec2 or Google cloud separate billing

I gave got a software which is installed on multiple ubuntu/ec2 machines. I need the same setup for multiple clients. Each client should only be given option to pay the bill, scale the ec2 ...
2
votes
2answers
2k views

aws ssm start-session .. AWS-StartPortForwardingSession .. hangs

I am trying to set up port forwarding between my local PC and an AWS EC2 based on the AWS SSM port forwarding article instance like this: aws ssm start-session --target i-0822c9a6c52ca7394 \ --...
0
votes
1answer
108 views

AWS AMI import of HyperV Virtual Machine on LVM extended partition on Two drives

I am having a problem today while importing a hyper-V vm to AWS AMI. Actually my VM has 2 Harddisk and both of them LVM set and use as single LVG expended volume on both drives. now when i am ...
0
votes
1answer
859 views

AWS EC2 Windows CloudWatch Agent to push memory and disk space metrics

I am trying to configure custom metrics for windows server in EC2. I need memory utilization and free disk space metrics from perfmon. So, the document says we can use AWS SSM and cloudwatch agent to ...
2
votes
1answer
2k views

AWS system manager : Verify that the IAM instance profile attached to the instance includes the required permissions

I am trying to access an ec2 instance using AWS systems manager for that I've created a role attached to the following policies. AmazonEC2RoleforSSM AmazonSSMAutomationApproverAccess ...
1
vote
0answers
130 views

Permanently load environment variable on aws ssm login in windows PowerShell

I am using ssm login for logging into my windows server 2016 data center edition. When I make a RDP connection and run PowerShell from RDP, All the system environment variables are loded correctly ...
0
votes
1answer
429 views

Cognito User Pool trying to send SMS when it's configured for email sending

I'm using the serverless framework in order to create a Cognito User Pool using the following CloudFormation configuration: Resources: CognitoUserPool: Type: AWS::Cognito::UserPool ...
1
vote
1answer
642 views

corrupted AWS /etc/sudoers.d/90-cloud-init-users

On one of my EC2 EBS backed instances, /etc/sudoers.d/90-cloud-init-users is corrupted so I can not sudo I tried pkexec visudo to fix it -- it asks for authentication, but won't accept credentials. ...
0
votes
2answers
397 views

AWS Inline Policy to Limit Automation Document Execution per IAM

AWS Inline Policy to Limit Automation Document Execution per IAM is my goal, but understanding current limitations I can see that I can only use * wildcard and can't specify a specific document. Is ...
0
votes
1answer
1k views

Trigger external API Calls with Cloudwatch Events

I am looking for a solution to make a POST Request to an External API when the state of an EC2 Instance changes. I want to use Cloudwatch so that I can pass the InstanceId to the API with the Input ...
4
votes
1answer
754 views

AWS SSM Agent registration call cannot be proxied?

How do I proxy the amazon-ssm-agent -register call? I want to proxy all the amazon-ssm-agent traffic in a local VM instance through a squid proxy. When the SSM agent is running, it seems to proxy ...
1
vote
1answer
79 views

Can Windows 2016 EC2 instance provisioned by ElasticBeanstalk be connected to SSM

Can Windows 2016 EC2 instance provisioned by ElasticBeanstalk be connected to SSM in AWS? I'm specifically asking this as I don't see the EB default role containing any SSM policies.