DEV Community

Aadit Unni
Aadit Unni

Posted on

1

Run Commands on an EC2 Instance with AWS Systems Manager

[42/100] #100DaysOfCloud Today, I created an EC2 instance and remotely run a command using AWS Systems Manager.

Amazon Systems Manager is a management service that helps you automatically collect software inventory, apply OS patches, create system images, and configure Windows and Linux operating systems. These capabilities help you define and track system configurations, prevent drift, and maintain software compliance of your EC2 and on-premises configurations. By providing a management approach that is designed for the scale and agility of the cloud but extends into your on-premises data center, Systems Manager makes it easier for you to seamlessly bridge your existing infrastructure with Amazon Web Services.

Systems Manager is easy to use. Simply access Systems Manager from the EC2 Management Console, select the instances you want to manage, and define the management tasks you want to perform. Systems Manager is available now at no cost to manage both your EC2 and on-premises resources.

Use AWS Systems Manager to remotely run commands on your Amazon EC2 instances. Systems Manager is a management tool that enables you to gain operational insights and take action on AWS resources safely and at scale. Using the run command, one of the automation features of Systems Manager, you can simplify management tasks by eliminating the need to use bastion hosts, SSH, or remote PowerShell.

You can try do it by yourself by following the steps from the link below: GitHub

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay