CloudFormation - How to start a Windows Service with cfn-init

Posted by Edwin on Server Fault See other posts from Server Fault or by Edwin
Published on 2012-11-06T14:12:53Z Indexed on 2012/11/07 23:03 UTC
Read the original article Hit count: 364

I'm creating a CloudFormation Stack that will install and start a service on a Windows Instance. I've figured out how to install the service, but how do I start the service using cfn-init?

The examples seem to all use linux, as there is a reference to "sysvinit" How do I structure AWS::CloudFormation::Init so that cfn-init will start windows services after installing them? Do I leave in the sysvinit, replace it with something else, take it out?

ps: I'm referring to how to start services by providing information to AWS::CloudFormation::Init.services. Also, It would be nice to know how "packages" work for windows. AWS's announcemnet says that packages are supported on Windows but there is no Windows specific documentation

© Server Fault or respective owner

Related posts about windows-service

Related posts about amazon-cloudformation