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개 답변
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
답변함 3달 전
  • 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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠