when to use AWS Copilot or AWS SAM

huangapple go评论45阅读模式
英文:

when to use AWS Copilot or AWS SAM

问题

在我的组织中,我们使用SAM和Copilot进行部署。我无法确定何时使用其中之一或另一个的标准或最佳用例,也找不到在线直接比较的信息。

所以我的问题是它们是否可以相互比较,如果可以的话,最佳使用场景是什么,如果不行,为什么?

英文:

In my organisation there are deployments using both SAM and Copilot. I am unable to work out what is the criteria or best use cases to use one or the other, and can't find any direct comparisons online?

So my question is are they comparable, if so when is it best to use each, and if not, why?

答案1

得分: 1

Copilot 部署到 AWS ECS。SAM 部署到 AWS Lambda。所以如果你想使用 ECS,那么Copilot是一个选择。如果你想使用 Lambda,那么SAM是一个选择。

> 所以我的问题是它们是否可比较,如果可以的话,什么时候最好使用每一个,如果不可以,为什么?

它们实际上不可比较。它们部署到具有不同运行时架构的不同AWS计算服务中。

英文:

Copilot deploys to AWS ECS. SAM deploys to AWS Lambda. So if you want to use ECS, then Copilot is an option. If you want to use Lambda then SAM is an option.

> So my question is are they comparable, if so when is it best to use each, and if not, why?

They aren't really comparable. They deploy to different AWS compute services with different runtime architectures.

huangapple
  • 本文由 发表于 2023年2月6日 21:20:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75361849.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定