Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

‘The version of SSM Agent on this instance doesn’t support Run As’

by | Jun 9, 2021

‘The version of SSM Agent on this instance doesn’t support Run As’ is an error we come across when the Amazon EC2 SSM Agent version is not up to date.

Here, at Bobcares, we assist our customers with several AWS queries as part of our AWS Support Services.

Today, let us see how we can resolve this AWS error.

 

‘The version of SSM Agent on this instance doesn’t support Run As’

We often notice this error when the Amazon EC2 SSM Agent version is not up to date. The exact error message looks like this:

The version of SSM Agent on this instance doesn’t support Run As. Update to the latest SSM Agent before continuing.

To fix this, we need to update the SSM Agent. We can either configure an automatic update or perform a manual update.

Moving ahead, let us discuss both of these methods.

 

  • Automatically update SSM Agent

In order to automatically update SSM Agent, we configure the Systems Manager. We can perform the update on all Linux-based and Windows-based instances in the AWS account.

Once we enable it, Systems Manager automatically checks for a new version of the agent every two weeks.

Upon a new version, Systems Manager automatically updates the agent to the latest version using the SSM document AWS-UpdateSSMAgent.

  1. Initially, we open the AWS Systems Manager console.
  2. Then in the navigation pane, we choose Fleet Manager.
  3. In the Settings tab, we choose Auto-update SSM Agent under Agent auto-update.

In addition, we can stop deploying updated versions of SSM Agent to all managed instances in your account.

To do so, we select Delete under Agent auto-update on the Settings tab.

 

  • Update SSM Agent using Run Command

We can either update to the latest version or downgrade to an older version.

Here, we will discuss how to quickly update the SSM Agent running on the Windows Server, and Linux instances.

Once we run the command, the system downloads the version from AWS, installs it, then uninstalls the previous version.

Suppose we run into an error during the process. Then, the system rolls back to the older version, and the status shows, the command failed.

  1. Initially, we open the AWS Systems Manager console.
  2. In the navigation pane, we select Run Command.
  3. In the Command document list, we select AWS-UpdateSSMAgent.
  4. Then in the Command parameters section, if necessary, we specify values for the parameters.
  5. In the Targets section, we identify the instances to run this operation by specifying tags, selecting instances manually, or specifying a resource group.
  6. For Other parameters:
    • Comment: enter information about this command.
    • Timeout (seconds): specify the number of seconds for the system to wait before failing the overall command execution.
  7. For Rate control:
    • Concurrency: specify either a number or a percentage of instances on which to run the command at the same time.
    • Error threshold: specify when to stop running the command on other instances after it fails on either a number or a percentage of instances.
  8. Suppose we want to save the command output to a file. For that, we can select the Write command output to an S3 bucket box.
  9. In the SNS notifications section, to send notifications about the status, we select the Enable SNS notifications check box.
  10. Finally, we select, Run.

[Need help with the fix? We’d be happy to assist you]

 

Conclusion

To conclude, ‘The version of SSM Agent on this instance doesn’t support Run As’ occurs when the Amazon EC2 SSM Agent version is not up to date. Today, we saw how our Support Techs go about with this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

AWS Support

Use your time to build great apps. Leave your servers to us.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management to us, and use that time to focus on the growth and success of your business.

TALK TO USOr click here to learn more.
AWS Support

Use your time to build great apps. Leave your servers to us.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management to us, and use that time to focus on the growth and success of your business.

TALK TO USOr click here to learn more.

Categories:

Tags:

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF