0

I am using the AWS .net sdk to create and manage windows EC2 instances. I need the ability to start a script on the instance. This needs to be run not just on startup but anytime we need. There could be more than 10 instances running at once, so its cumbersome to remote in and start the scripts manually.

Looking at the EC2 System Manager api, I see the SendCommand action but I am not sure how to access that from the .net sdk.

1 Answer 1

2

The AWS SDK for .Net has a AmazonSimpleSystemsManagementClient.

Call the SendCommand() method on the client.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.