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
asked 3 months ago190 views
1 Answer
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
answered 3 months ago
  • 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

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