What is the best way to deploy Livebook and connect it to my applications in AWS?

I deployed Livebook to Fly.io for my personal purpose, and it way easy and nice.

I want to deploy Livebook for our service that deployed in AWS.

I’m not good at cloud infra.

What is the best way to deploy Livebook and connect it to my applications in AWS?

  1. AWS EC2: Install docker to EC2 and run Livebook with docker. Connect Livebook to my application via private network.
  2. ?

Thanks!

1 Like

It would be interesting to hear other ideas. I just installed :livebook as a dep in my main application and connect to it on its own Livebook port. I’m planning on trying to connect to it as a Tailscale service but I’m not 100% sure if that will work with erlang’s node name requirements.

1 Like

I have an application running in a container in AWS Elastic Container Service. I’ve had good success updating the task definition to include a Livebook container in the same task alongside the app container and using the LIVEBOOK_DEFAULT_RUNTIME=attached:sname:cookie variable to connect it to the running application’s runtime.

2 Likes