As-create-or-update-trigger: command not found

I download the Auto Scaling Tool:

http://aws.amazon.com/developertools/2535

When I tried to create a trigger, the command was not found. I also export its environment, but a command that was not found .. I tried to find this folder as-create-or-update-trigger, but there is no such file. What?

root @ip: / root / tools # as-create-or-update-trigger Trigger1 --auto-scaling-group AutoScale - namespace "AWS / EC2" - measurement CPUUtilization - static average - dimensions "AutoScalingGroupName = AutoScale" - disables "Percentage" - period 60 - lower threshold 30 - upper threshold 70 - slow-violation-increment "= - 1" - upper-breach-increment "1" - reduction-duration 120 OK-created / updated trigger

as-create-or-update-trigger: command not found

Does anyone have the same problem? Any solution?

+4
source share
2 answers

this command is now deprecated and replaced with automatic scaling policies and alarms in the cloud.

There are several documents on how to do this: http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/US_SetUpASLBApp.html

0
source

I think this is deprecated in favor of "mon-put-metric-alarm"

0
source

Source: https://habr.com/ru/post/1433287/


All Articles