简体   繁体   English

如何在 AWS Elastic Beanstalk 和 App Runner 服务之间进行选择?

[英]How to choose between AWS Elastic Beanstalk and App Runner services?

Similarities that I see are:我看到的相似之处是:

  1. They are PaaS offerings.它们是 PaaS 产品。
  2. They make AWS more similar to Heroku.它们使 AWS 更类似于 Heroku。
  3. They abstract away load balancing and auto scaling stuff.他们抽象出负载平衡和自动缩放的东西。

The only difference that I see is that App Runner uses docker but Elastic beanstalk may not use it.我看到的唯一区别是 App Runner 使用 docker 但 Elastic beanstalk 可能不使用它。 Correct me if I am wrong, but seems like it is not a requirement to containerize your app first to be able to use it on App Runner as you can just supply the Github Url and App Runner will containerize it for you.如果我错了,请纠正我,但似乎不需要先将您的应用程序容器化才能在 App Runner 上使用它,因为您只需提供 Github Url,App Runner 就会为您将其容器化。

So what is the difference between the two and how do I make a decision to choose one over the other?那么两者之间有什么区别,我如何决定选择其中一个呢?

It depends.这取决于。 AWS App Runner (AR) is container based only . AWS App Runner (AR)仅基于容器 Not every application nor developer want to use containers, nor their application is suited for container deployments.不是每个应用程序和开发人员都想使用容器,他们的应用程序也不适合容器部署。 AR also gives you very little control over your resources and operating system. AR 还使您几乎无法控制您的资源和操作系统。 Many application may require such control (eg gpu) Also AWS EB gives you much more control over your resources, including operating system.许多应用程序可能需要这样的控制(例如 gpu) AWS EB 让您可以更好地控制您的资源,包括操作系统。

As Cloud Guru said that正如云大师所说

Behind the scenes, the core of App Builder is that it builds an Amazon ECS Cluster and uses Fargate to execute your containers在幕后, App Builder的核心是构建Amazon ECS 集群并使用 Fargate 来执行您的容器

So as you can see所以如你所见

  1. Elastic Beanstalk belonging to PaaS属于PaaSElastic Beanstalk
  2. App Runner is serverless belonging to FaaS App Runner是无服务器的,属于FaaS

Furthermore, App runner just works with Container only.此外,App runner 仅适用于Container So it really depends on what kind of your app is.所以这真的取决于你的应用程序是什么类型。

App Runner 与 Beanstalk 的良好总结, https: //acloudguru.com/blog/engineering/what-you-need-to-know-about-aws-app-runner

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何配置Amazon AWS Elastic Beanstalk服务? - How do I configure Amazon AWS Elastic Beanstalk services? 在 aws elastic beanstalk 上设置 linux 服务 - Setting up linux services on aws elastic beanstalk 如何在使用AWS Elastic Beanstalk部署的实例之间同步Wordpress插件? - How to sync Wordpress plugins between instances deployed with AWS Elastic Beanstalk? 如何使用应用程序工厂将Flask应用程序部署到AWS Elastic beantalk - How to deploy Flask app to AWS Elastic beanstalk using an application factory 如何将具有多个 Docker 容器的应用程序部署到 AWS Elastic Beanstalk? - How to deploy an app with multiple Docker containers to AWS Elastic Beanstalk? 如何使用AWS Elastic Beanstalk可扩展的Django app运行芹菜工作者? - How to run a celery worker with Django app scalable by AWS Elastic Beanstalk? 如何在AWS弹性beanstalk上部署结构化Flask应用程序 - How to deploy structured Flask app on AWS elastic beanstalk 如何在AWS Elastic beantalk上部署MEAN Stack应用程序? - how to deploy MEAN stack app on AWS elastic beanstalk? 如何在 AWS Elastic Beanstalk 上为 Rails 应用程序设置数据库种子 - How do I seed a database for Rails app on AWS Elastic Beanstalk 如何在AWS Elastic Beanstalk上使用Ubuntu 14.04获取Python Django应用程序 - How to use Ubuntu 14.04 on AWS Elastic Beanstalk for a Python Django app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM