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

AnujG
preguntada hace 3 meses200 visualizaciones
1 Respuesta
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
respondido hace 3 meses
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas