【问题标题】:Not able to install SQL Server on an EC2 instance using a cloud formation script无法使用云形成脚本在 EC2 实例上安装 SQL Server
【发布时间】:2014-11-10 01:12:23
【问题描述】:

我正在尝试使用 AWS CF 启动 EC2 实例并在其上安装 SQL Server。 我做了以下事情:

1. Created a powershell script to download executables for SQL Server.
2. Creating a .bat file to trigger installation once the installation is completed.
3. Once the instance gets created the file is downloaded and installation should start.

但我收到了等待条件超时错误。

我的代码

https://s3-ap-southeast-2.amazonaws.com/zmanda1/piece.txt

感谢和问候, 山塔努

【问题讨论】:

    标签: amazon-ec2 amazon-cloudformation


    【解决方案1】:

    我没有看到您在哪里表示您的实例已完成的等待条件。您必须使用 cfn-signal 命令从您的实例发出等待条件信号。请参阅AWS documentation

    我不能说是否有其他错误可能会阻止模板工作,但您需要使用 cfn-signal 发出实例开始信号,或者完全删除等待条件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-08
      • 2016-11-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-12
      • 2023-03-17
      • 2020-06-25
      相关资源
      最近更新 更多