Deploying streamlit app to AWS beanstalk using docker

@Sharabh did you get it working?

I’m in the same situation.

I’ve tried the advice in the post @monchier linked to (which helped me getting it working via the public IP address at least), but nothing I do makes it work with beanstalk’s URL.

Some things I’ve tried:

  • configure the EC2 Security group for TCP (this is what got it working with the public IP address)
  • this nginx upgrade for reverse proxy: https://stackoverflow.com/a/43796967/718139
  • change the load balancer protocol from HTTP to TCP (that’s with the “Classic Load Balancer”)
  • I also tried an “Application Load Balancer”

Presumably whatever wrong for me is related to what’s wrong in Working fine via public IP address, but problems with DNS. (Seems like just getting a DNS entry to work should be simpler than getting a load balancer to work, so I tried that but even had trouble there.)

Any help would be appreciated.