Hosting R Plumber on AWS EC2

692 views Asked by At

Picture of Rstudio LoginI'm pretty new into the whole app development ecosystem and I currently have R Studio running on an EC2 instance on AWS. I was hoping to use this to deploy an R Plumber API that would be used by my frontend in React. Is there a way to allow universal access to my Plumber API this way? I can run my R code and access the API from my EC2, but if I try to access the API from another computer, I have to sign into the EC2. Apologies if this doesn't quite make sense, but I would be happy to try to answer any question that come up.

1

There are 1 answers

2
Bruno Tremblay On BEST ANSWER

Similar to that

How to open a web server port on EC2 instance

Run plumber with host 0.0.0.0 and a port of your choice.