Reboot instance in sequence

0

Is there anyone here that has Document or script that can reboot multiple instances in order? The logic of the solution or script I want to achieve is Server 1 will reboot first then wait for netlogon service to start before restarting Server 2.

asked a year ago321 views
3 Answers
0
Accepted Answer

Hi, apart from above, you could look inspiration in this: https://repost.aws/knowledge-center/start-stop-lambda-eventbridge.

Personally, I would combine the above with an orchestrator such as step function and see if you can achieve the waiting of service programmatically.

Hope it helps ;)

profile picture
EXPERT
answered a year ago
0

Arh your wanting to reboot domain controllers

You could use a mixture of aws cli to reboot an instance then a power shell script to check the status of the netlogon service remotely. This of course requires access to the servers directly.

https://theitbros.com/get-service-powershell/

profile picture
EXPERT
answered a year ago
0

Thanks guys for the suggestions. I created an automation document and create steps to restart and check window service Enter image description here

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions