RLOpenCatalyst / Service_Workbench_Templates

Templates for AWS Service Workbench from Relevance Lab
7 stars 13 forks source link

[Question] Target Groups per Application Load Balancer Quota #18

Closed srpiatt closed 1 year ago

srpiatt commented 1 year ago

Has anyone encountered hitting the load balancer quota limit for RStudio instances? I was looking in the AWS console, and noticed that the quota for target groups is not adjustable. I assume that when you hit that limit, it would probably fail to launch instances.

How would we get around this limit, if it became an issue?

Screen Shot 2023-02-02 at 2 05 39 PM
srpiatt commented 1 year ago

As an update-- yes it does fail to launch instances, as we just hit this limit yesterday in a production environment. Please advise.

Screenshot 2023-02-22 at 3 55 08 PM

We also encountered a rule limit quota, however this one is adjustable in the AWS console. Screenshot 2023-02-22 at 3 51 34 PM

mamatha-anand commented 1 year ago

Hi - This is a known design issue based on AWS ALB Routing Groups limitation of 100 (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) and this is related to no. of RStudio Instances (Running or Stopped). The workaround to this is to create projects linked to different Accounts (AWS Account + Region) each having an ALB with 100 connections. Alternate is to change design to support cluster of ALBs but that will require customization at code level.