amazon-ec2 - 使用 aws sdk 命令行进行自动缩放的 Cloud Formation

标签 amazon-ec2 scalability aws-cloudformation

我正在使用 aws sdk auto scaling command line tool 。我想知道如何通过此命令行工具使用云形成?即我们可以提供模板 id 而不是实例/ami id 吗?

示例:

as-create-launch-config MyLC --image-id <CF tamplete id> --instance-type m1.small

最佳答案

can we give template id instead of instance/ ami id?

不,使用 Auto ScalingAWS CloudFormation目前只能以相反的方式工作:

关于amazon-ec2 - 使用 aws sdk 命令行进行自动缩放的 Cloud Formation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10006822/

相关文章:

java - servlet-HTTP 状态 500 内部服务器错误

ruby - 安装 gem Nokogiri-1.8.4 时出错

python - boto3 列出与 ec2 实例关联的安全组

amazon-ec2 - 如何使用 AWS CloudFormation 创建 Amazon VPC?

amazon-web-services - AWS 步骤函数 - 转换 {AWS::AccountId}::StepFunctionsYamlTransform 失败,但没有错误消息

amazon-web-services - 模板的资源 block 中 Unresolved 资源依赖关系 [arn:aws:s3:::alberto313131/*]

json - 创建堆栈中的 Cloudformation 错误 : "ELB cannot be attached to multiple subnets in the same AZ"

ubuntu - 在 EC2 上运行 apt-get 而无需支付大量带宽费用

session - 可扩展 Web 应用程序的无状态登录/身份验证机制?

scalability - 构建 "realtime bidding"广告交易平台需要什么样的软件架构?