Skip to content
Prev 5790 / 21312 Next

[Bioc-devel] bioconductor AMI & shiny app

----- Original Message -----
Note that the launch.browser argument to runApp() "can also be a function to call with the
application's URL". So maybe this function could translate the private IP to the public DNS (actually, based on the Details section of runApp(), it seems like you could use 0.0.0.0 instead of the private IP).

The function could use instance metadata (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html) to find out the public DNS name and construct a URL, then start a browser window pointing to that URL. If you provide this function, users won't have to know what it does. 

I would also post on the shiny google group (https://groups.google.com/group/shiny-discuss) and ask them if they might have a more elegant solution, or would be interested in adding some EC2 support. It shouldn't be too difficult.

Dan