AWS EC2 Instance - Without SysPrep

0

Hi Team,

I want to stop server with EC2 launch setting for AMI creation. I have a command for with sysprep:- EC2Launch.exe sysprep --shutdown=true

But I want to stop server without sysprep. I am unable to command to stop the server without sysprep. Could you please help on it?

Thanks, Anuj

1 Antwort
1

Not sure if this is the kind of solution you are looking for, but see if this helps. SSM Automation is a service that allows customers to configure, deploy and manage their AWS resources at scale, in an automated way by defining runbooks. A runbook is a sequence of tasks that the service performs on behalf of the customers. One of the actions supported by the service is aws:changeInstanceState which allows you to change the state of EC2 instance(s). More info can be found here - https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-changestate.html

AWS
beantwortet vor 3 Monaten
  • Hi,

    This is the normal stop command. I want to stop server with EC2 launch setting using without sys prep.

    I want to create AMI of window server with this process after stopping.

    Thanks, Anuj

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen