ShinyProxy in AWS ECS or Fargate

Hello
I can get a simple ShinyProxy container running on Fargate and ECS and I can put a load balancer in front of multiple containers and it seems to work ok. However, I don’t know how I can get ShinyProxy to launch new containers for users. Is this possible on AWS? Would I need to use an EC2 server to achieve this rather than ECS?
I saw there is a Kubernetes integration - does it work with EKS?
Please help :slight_smile:
Thanks
Mark

Hello @mark,

ShinyProxy on EKS will work indeed. Fargate is not supported as a back-end so far, but it can definitely be implemented - we are just waiting for the right time or opportunity.

Best,
Tobias

1 Like

Hi @mark Can you describe what exact architecture did you use?

I tried to run containerized ShinyProxy from this example.
My approach was to run ShinyProxy in a container that is served by the Fargate task but finally ended up with 502 error when trying to connect to it. I think the problem is to correctly configure and use docker network.

@tverbeke
Do you know if there is a possibility to configure it with Fargate now?

Best,
Krystian

@krystian8207: Fargate is still not supported.

Best,
Tobias

@tverbeke https://aws.amazon.com/about-aws/whats-new/2019/12/run-serverless-kubernetes-pods-using-amazon-eks-and-aws-fargate/

This looks very promising for ShinyProxy + fargate. Could be one of the easier ways of setting up ShinyProxy with autoscaling.