3 Answers
- Newest
- Most votes
- Most comments
0
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 ;)
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.
0
Thanks guys for the suggestions. I created an automation document and create steps to restart and check window service
answered a year ago
Relevant content
- asked 7 months ago
- asked 4 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
Alatech approach is a great way. I’ve used step functions before and I wonder if you can incorporate a ssm process to check a service is running https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-managewindowsservice.html
I’ve done this type of stuff with ecs services and Rds instances.
I’m currently writing one for ec2 instances but without checking services.