5

CloudFormationを使用して、自動スケーリンググループ内のいくつかのサーバーを起動していますが、すべてのサーバーで基本的な監視を使用する必要があります。プロパティとで設定しようとMonitoringfalseましたが、スタックを起動できません。エラーメッセージが表示されます:。AWS::AutoScaling::AutoScalingGroupAWS::AutoScaling::LaunchConfigurationCREATE_FAILEDEncountered unsupported property Monitoring

4

1 に答える 1

9

ほぼ一貫性のあるCFNテンプレート構文の愛情を込めて悪党の世界でのちょうど別の日。

必要なプロパティはInstanceMonitoring、ではなくMonitoringです。LaunchConfigurationリソースに適用する必要があります。詳細はドキュメントにあります。

InstanceMonitoring

Indicates whether or not instance monitoring should be enabled for this
    autoscaling group. This is enabled by default. To turn it off, set
    InstanceMonitoring to "false".

Required: No. Default value is "true".
Type: Boolean

もちろん、AWS :: EC2 :: Instanceリソースをプロビジョニングしている場合、それは単純Monitoringです。価値があるのは、インスタンス宣言をVPCに出し入れするときに変更SecurityGroupsするよりも少し煩わしくないことですが、それは私だけです。SecurityGroupIds

于 2012-08-07T03:36:51.990 に答える