0
我創建並配置了數據管道以運行AWS CLI命令,以預定的時間間隔停止和啓動Amazon EC2實例,但在激活它之後,數據管道狀態將失敗,如下圖所示:在AWS上創建新管道
我混淆了關於它的參數;如果填寫是這樣的:
aws ec2 start-instances --instance-ids i-0bbd2c85 --region ap-southeast-1a;
aws ec2 start-instances --instance-ids i-1721b699 --region ap-southeast-1a;
aws ec2 start-instances --instance-ids i-1321b69d --region ap-southeast-1a;
aws ec2 start-instances --instance-ids i-1121b69f --region ap-southeast-1a;
aws ec2 stop-instances --instance-ids i-0bbd2c85 --region ap-southeast-1a;
aws ec2 stop-instances --instance-ids i-1721b699 --region ap-southeast-1a;
aws ec2 stop-instances --instance-ids i-1321b69d --region ap-southeast-1a;
aws ec2 stop-instances --instance-ids i-1121b69f --region ap-southeast-1a;
之前,我激活它,也有類似的警告與下面: enter image description here
根據新聞稿的參考資料,我想知道你應該使用ap-southeast-1而不是ap-southeast-1a https://aws.amazon.com/about-aws/whats-new/2014/02/20/AWS-數據管道,現在可用的功能於四個新的區域/ – user1452132