Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can leave these 3 sections as is. And you can now launch your instance. It should be ready in a few minutes

Accessing your instance

Once you have created your instance you ,  you can see it listed in the dashboard under Instances. Once the instance is Active and Running you should be able to SSH to it. If your instance does not need to be accessible directly from the outside, you can SSH to it from another instance that is on the same network as your new instance. You'll just need the IP address, the username, and the key (you did save it right?)

Assigning a Floating IP to your Instance (Optional)

If your instance needs to be reachable from the If your host does need to be reachable directly from the external internet, you need to associate assign a floating IP address to it. If that is not needed on your instance you can skip this section.

Locate To do that, locate your instance in the list and click the down arrow button in the 'actions' column. From this menu the drop down list select 'Associate Floating IP'. From the 'IP Address' selection box, pick an available IP from the list, this will be the floating IP for your instance. For 'Port to be associated' you can usually leave the default, but if you have multiple interfaces you can select the appropriate port. Then click the 'Associate' button. Afterwards you can access this host using the floating IP address you just assigned 

Accessing your instance

Once the instance is Active and Running you should be able to SSH to it. You'll just need the IP address, the username, and the key (you did save it right?)

You would ssh to your In this case I can now ssh to my instance using: ssh -i test.pem centos@IP_ADDRESS, replace where

  • IP_ADDRESS is the IP address assigned to your instance. If you assigned a floating IP you'd want to use that address when SSHing from an external host, if you are SSHing from a host on your project's own network you can use the IP assigned on the project interface
  • test.pem is the key you saved
  • centos is the username, depending on the OS you picked this may be different, see that table in the 'Troubleshooting' section below for some common alternatives

If you with your local project-net IP or your floating IP address if you assigned it one. You might get an error that the permissions are too open . If that is the case you can change them using chmod 600 key.

...