Skip to content

Question about security / ssl of VM created with gce_vm() #187

@ben519

Description

@ben519

Hey Mark, I have (probably) a dumb question..

Suppose I create a VM like

vm1 <- gce_vm(
  template = "rstudio",
  name = "myvm",
  username = "hello",
  password = "A8NW26!msi?s>",
  predefined_type = "n1-standard-1"
)

I've always just assumed this would be "secure", but I usually access the VM via a public IP which is not SSL encrypted.

Screen Shot 2022-04-12 at 10 08 11 AM

So, if I were to pull my project from github onto this VM using a secret github access token, someone could steal my token, correct?

How do you deal with this issue? Should I give the IP an SSL certificate? If so, can you point me in the right direction for learning how to do this?

Thanks!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions