amazon-web-services - 如何加快 AWS Fargate 上的部署?

标签 amazon-web-services amazon-ecs aws-fargate

从 EC2 集群实例迁移到 AWS Fargate 后,我意识到部署需要更长的时间。以前他们需要 1-2 分钟,现在有些部署需要长达 5 分钟。 This post声称他们在 Fargate 上的部署甚至需要长达 10 分钟。

有人知道加快速度的方法吗?我找不到有关此主题的任何文档。

最佳答案

通过进一步的谷歌搜索,我发现 this Reddit thread .一位 AWS 员工写道:

With regard to time to provision and start a container it is definitely longer when using Fargate. We may reduce the length of the provisioning state in the future, but Fargate is doing much more under the hood than ECS on your own self managed hosts. When you self manage hosts they are already up and running, and may even already have your docker image downloaded and cached locally, so ECS is able to launch the container very quickly. That's not the case with Fargate.



所以缩小图像应该会有所帮助。但总的来说,我想我将不得不接受它并希望 AWS 方面进行优化。

关于amazon-web-services - 如何加快 AWS Fargate 上的部署?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51618252/

相关文章:

amazon-web-services - AWS 凭证文件在 Windows 上被拒绝访问

apache-kafka - CloudFormation - 如何将 bootsrap 参数添加到 Ksql Server

amazon-web-services - AWS Fargate 无法通过负载均衡器/公共(public) IP 访问 dockerized spring boot 应用程序

mysql - 进行数据库备份时网站显示不可用?

twitter - Amazon Web Service 微型实例 - 服务器崩溃

amazon-web-services - AWS ECS 自定义 CloudWatch 指标

amazon-web-services - 使用 CloudFormation 禁用 AWS ECS Fargate 中的 Spring Boot Data MongoDB 可重试写入

amazon-web-services - 在 AWS API 上获取 ThrottlingException : Rate exceeded, 状态代码:400

amazon-web-services - PIG 中的 DUMP 命令不起作用

amazon-web-services - AWS JavaScript 开发工具包 : Retrieving Shell Output from ECS Execute Command