在AWS中运行容器与监控告警实践
1. 创建CI/CD管道
首先,我们有一个可使用的脚本,其链接为:http://bit.ly/2w3oVHw 。接下来开始创建管道,步骤如下:
1. 启动并配置CloudFormation堆栈
- 执行以下命令将相关文件添加到版本控制并提交:
$ git add helloworld-codepipeline-cf-template.py
$ git commit -m "Adding Pipeline to deploy our helloworld application using ECS"
$ git push
- 生成CloudFormation模板文件:
$ python helloworld-codepipeline-cf-template.py > helloworld-codepipeline-cf.template
- 创建CloudFormation堆栈:
$ aws cloudformation create-stack \
--stack-name helloworld-codepipeline \
--capabilities CAPABILITY_NAMED_IAM \
--template
超级会员免费看
订阅专栏 解锁全文
1161

被折叠的 条评论
为什么被折叠?



