Pregunta

I recently moved a small R project from a regular EC2 instance to an instance behind a VPC. I installed rstudio-server as normal, and it seems to be running. However, unlike a regular EC2 instance, there is no public DNS to connect to. (There is a public IP address, but going there doesn't seem to do the trick.)

In this case, what browser address should I go to to access rstudio server?

Many thanks!

No hay solución correcta

Otros consejos

You have launched the instance in VPC. Here is the check list:

  1. When launching the instances in VPC, make sure you launch it in the public subnet of your VPC. Else it will not be accessible from outside
  2. When launching the instances in VPC (presuming public Subnet), do ensure that you check a box which says something like "assign a public IP address to the instance" at the time of creating the instance. By default this is not checked. So if you fail to check this box, then Instance will not have a public host name. You can however, assign an elastic IP later on.
  3. Make sure you VPC security groups are configured properly to allow necessary incoming/outgoing access. In your case, incoming access on port 80 is/443 is essential.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top