Sorry I’m not really familiar with how it’s actually deployed on EC2. But you mention docker which we use for our Metabase production and test instances. So assuming that’s where you have it running I guess you have two options:
- Connect to the application database from a free standing metabase.jar like in final post here: Metabase docker Upgrade failed 0.24 (make sure you only have one Metabase instance connected to the application database!)
- Drop into an interactive shell in the docker container with
docker -ti
like talked about here: How to run migrations when using docker?
Do whatever you feel most comfortable doing. (I can try plunking around a bit with the the docker interactive session thing if need be)