RLOpenCatalyst / Service_Workbench_Templates

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

Certificate unavailable when creating RStudio from another AWS account #25

Open BoPeng opened 1 year ago

BoPeng commented 1 year ago

We have successfully set up RStudio for our SWB installation on us-east-2. However, we have multiple AWS account associated with this installation. When users from other accounts create an RStudio workspace, an error message would appear showing certificate not found.

image

The failure happens when the instance tries to create an ALB which tries to access the certificate from another account, although in this case, a loadbalancer already exists on the root account that supports another RStudio instance.

image

Does the RStudio/ALB configuration support multiple accounts? If so, how can i get around of this problem?

BoPeng commented 1 year ago

I got around this problem by creating a separate certificate for the user. It is a bit tricky because the DNS entry has to be manually added to the Hosted zone of the root account.

Then separate configurations need to be created for each user.