Ayush Shukla
Ayush Shukla

Reputation: 607

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

Similarities that I see are:

  1. They are PaaS offerings.
  2. They make AWS more similar to 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. 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.

So what is the difference between the two and how do I make a decision to choose one over the other?

Upvotes: 30

Views: 19480

Answers (2)

Nguyễn Văn Phong
Nguyễn Văn Phong

Reputation: 14198

As Cloud Guru says,

Behind the scenes, the core of App Builder is that it builds an Amazon ECS Cluster and uses Fargate to execute your containers

So as you can see

  1. Elastic Beanstalk belongs to PaaS
  2. App Runner is serverless and belongs to FaaS

Furthermore, App Runner just works with containers only. So it really depends on what kind your app is of.

Upvotes: 4

Marcin
Marcin

Reputation: 238051

It depends. AWS App Runner (AR) is container based only. 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. Many application may require such control (e.g. gpu) Also AWS EB gives you much more control over your resources, including operating system.

Upvotes: 29

Related Questions