我已经设法使用.NET的CloudFormation模板设置堆栈。AWS - 自动部署(.NET)到CloudFormation堆栈
我还没有想出如何将我的应用程序部署到创建的堆栈。还有一种自动化应用程序部署过程的方法吗?
我已经看过AWS文档,但大多数似乎使用cloud-init,据我了解,这只是Linux。
谢谢
我已经设法使用.NET的CloudFormation模板设置堆栈。AWS - 自动部署(.NET)到CloudFormation堆栈
我还没有想出如何将我的应用程序部署到创建的堆栈。还有一种自动化应用程序部署过程的方法吗?
我已经看过AWS文档,但大多数似乎使用cloud-init,据我了解,这只是Linux。
谢谢
你需要结合Userdata来启动cfn-init(作为EC2Config脚本的一部分安装)和CloudInit :: Metadata来下载源代码。
I've written about how to bootstrap a windows instance on AWS using CloudFormation
基本上流程如下
cloud-init也与windows一起使用。请参阅documentation for bootstrapping Windows stacks。