From d2b51fd37e2389113693ca97ab20f106f1a29b07 Mon Sep 17 00:00:00 2001 From: mpana Date: Mon, 5 Mar 2018 17:32:16 +0200 Subject: [PATCH] update connecting --- en/docs/connecting.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 en/docs/connecting.md diff --git a/en/docs/connecting.md b/en/docs/connecting.md new file mode 100644 index 0000000..688d9d0 --- /dev/null +++ b/en/docs/connecting.md @@ -0,0 +1,19 @@ +# Connecting to your instances +Before you can use the Spearhead Cloud you must create and account and provide your billing details. + +SSH is the primary way to access your containers or vm's with the exception of Docker containers and Windows VM's. You must have the Spearhead CLI Tools installed. + +## Connecting to Docker containers +You can connect to your Docker container as usual, executing ```spearhead-docker --tls exec -it bash``` which would give you shell access into your running container. + +It may be tempting to run SSH within your container, however we do not recommend this method. + +## Connecting to containers or virtual machines +Connect to your running containers (or virtual machines) by executing ```spearhead ssh ```. Alternatively (or in case this does not work for your environment) you can obtain the IP address of your instance (```spearhead instance get ``) and SSH directly (```ssh root@x.x.x.x```). + +TBD: Click here for detailed information on how to SSH into your instance. + +## Connecting to Windows instances +All windows instances are preconfigured with RDP access enabled for the Administrator account. Obtain the IP address of your instance and then connect using your preferred RDP client. + +```spearhead instance get ``` and look for the primaryIP field.