Elastic Beanstalk no longer recommended

The Running Metabase on AWS Elastic Beanstalk page says:

Due to problems with the platform, we no longer recommend using Elastic Beanstalk to run Metabase in production.

I was wondering if it's documented anywhere what the nature of these problems is, specifically if there are security considerations involved. Thanks!

We are also interested in more and detailed information. Thanks!

The issue is simple: we received TONS of tickets and issues here in the forums of people that used Beanstalk and didn't know how it worked. E.g:

  • people that tried to upgrade, the upgrade didn't work and then wanted us to debug why but they couldn't send the logs
  • people that wanted to change parameters of their beanstalk instances and didn't know how to do it, since Beanstalk is configurable via a bundle
  • people that needed to get inside their instances to migrate to the cloud, but didn't know how

In the meantime, Amazon changed a lot of things in the Beanstalk documentation, and our docs stayed behind.

We decided to stop recommending beanstalk for our own mental sanity


What about users who have been using Beanstalk without issue? Are you going to at least ensure you continue to support it (even if you don't recommend it?) - removing it without any notice or time to migrate is pretty poor form - I tried to access the 0.47.3 file to update (https://downloads.metabase.com/v0.47.3/metabase-aws-eb.zip) and get a 404 error

1 Like

we will do our best, but don´t expect wonders here.

Remember that you can easily update your Beanstalk just by opening the zip file, modifying the image of the dockerrun.json and uploading that zip again

1 Like

A note to Mac users (and my future self): if you follow Luiggi's advice by expanding the zip file, modifying the image version in Dockerrun.aws.json, then compressing the folder, MacOS will add a bunch of crap to your archive, and EB will fail to deploy it. Instead, use zip from the command line to add only the files you need (Dockerrun.aws.json and the .ebextensions and .platform directories). Here's the v0.47.3 archive that worked for me: Dropbox - metabase-aws-eb-v0.47.3.zip - Simplify your life

Hmmm, I updated the file, re-zipped and uploaded to beanstalk and deployed the new version, which all updated ok, but in the admin screen it's still saying 0.47.2 with an update available

Hi Mike, maybe download the file I linked to above, and try again?

Yeah I can, I mean it's just weird - it's not a complicated change. I downloaded yours and that seems to have worked, so I must have done something stupid, somehow. Oh well, let's see how we go on the next update - Thanks!