3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 6 mois
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.