Skip to main content

Configuring and use cases of SSM agent - AWS

Please go and check the official documentation by AWS for deep understanding. This is easy going or just a quick walk-through of what I learned and how to setup things quickly.

1. What is this ssm agent?

This agent is basically a gateway or a back door for you to access or run commands in a server without doing a RDP or SSH or through some bastion host. Its a next level thing which provides a additional layer of security by not giving somebody direct access to the underlying server.


You can system manger services in AWS console for further features it unveils.


2. How to install or configure it?

Here

Above is the URL where you can find all you needed for all type of servers. I tested it on ubuntu server 16.04.

** All Amazon Linux AMIs and the win 2016 server comes with pre installed SSM agent

3. After installing do create and attach a SSM role to your desired EC2.

4. Restart the server and you are good to go.

5. I tested by SSM agent by simply doing RUN command through console and tried passing mkdir bash script to confirm whether I am able to interact with server or not.



Thanks for reading and do write for more information.



Comments

Post a Comment

Popular posts from this blog

PowerShell Gallery is currently unavailable

Recently working on an automation in windows server I got this issue and my automation got stopped. Generally by this error you will know the server is unable to reach out to the PSGallery. ERROR [DBG]: PS C:\Users\nagarro>> Get-PSGalleryApiAvailability -Repository PSGallery VERBOSE: Error in executing PowerShell Gallery is currently unavailable.  Please try again later. Resolution So 2 things which can be done here is: 1. [Net.ServicePointManager]::SecurityProtocol Run this command to check whether the tls1.2 is enabled or not. I f it is not listed just run this command- [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12      2. Sometimes the internet explorer first configuration due to security reason my cause this issue. So you need to open the PS gallery in the IE and add these sites as a exception. You can also disable the config in the registry setting of IE. I was able to solve the issue by th

Armstar Bodyguard 9XI-HD01

The flexible arm which is made of Kevlar and hard plastic powered by lithium battery pack which is fitted on the skin of the Amstar Bodyguard for "electric shock".

What is Cloud Native in simple words

As written in Cloud Native Attitude book ,  Cloud Native Computing Foundation (CNCF) says Cloud Native is about scale and resilience or “ distributed systems capable of scaling to tens of thousands of self healing multi-tenant nodes ”.