Questions tagged [aws-systems-manager]

The tag has no usage guidance.

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

special characters not working when connecting to EC2 linux instance through AWS System Manager/Session manager (SSM)

As we are several devops connecting to a set of linux servers, I was looking for a way to connect to AWS EC2 instances without having to create/share as many SSH certificates. So we are using AWS's ...
  • 101
0 votes
0 answers
77 views

Can run daily logrotate without cron?

On my docker, i use amazonlinux:2 at this default enviroment not install cron. I want to use logrotate for rotating log of application every daily. Can Logrotate work automatic without cron? This file ...
1 vote
1 answer
81 views

Not able to list all the images

I am trying to list all the images which has the name Ansible*. If i can pull it off, i can use it to clean my AMI's that are created during patching activity. i am trying it via SSM Automation ...
  • 13
0 votes
1 answer
113 views

failed to find platform in manifest.json when sharing AWS Systems Manager Distributor package between AWS accounts

I created an AWS Systems Manager Distributor package in one AWS account that will install an application on Windows, Ubuntu, Amazon Linux, or Redhat. The manifest and associated packages are stored in ...
  • 3,300
0 votes
0 answers
24 views

Deleted package shows in AWS systems manager inventory

We have systems manager configured to report inventory on our EC2 instances. I was able to use Inventory search to find Ubuntu instances with the unattended-upgrades package installed. The search ...
  • 101
1 vote
2 answers
253 views

Is it possible to connect through session manager to the instance using SSH from an external source like my desktop. And if so, how

I have been clicking through the Session Manager console. Pretty neat. The next question I have with this - I *think we should be able to connect using SSH from an outside SSH client. Meaning, I have ...
2 votes
2 answers
2k 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 ...
  • 139
0 votes
1 answer
485 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 ...
  • 4,069
2 votes
1 answer
776 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
0 answers
63 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 ...
1 vote
1 answer
3k 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
1 answer
98 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 ...
  • 1
0 votes
0 answers
459 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 ...
  • 4,069
1 vote
2 answers
488 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
1 answer
309 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
0 answers
100 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 ...
  • 111
0 votes
1 answer
2k 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 }; ...
  • 299
0 votes
1 answer
1k 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
1 answer
66 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 ...
  • 109
2 votes
2 answers
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
1 answer
168 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
1 answer
1k 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
1 answer
3k 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
0 answers
231 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
1 answer
617 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
1 answer
1k 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
2 answers
640 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 ...
1 vote
1 answer
2k 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 ...
  • 51
4 votes
1 answer
969 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
1 answer
88 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.