Acquire a Floating IP Address
-
- in the left sidebar click on Network and then on Floating IPs
- click on ALLOCATE IP TO PROJECT
- enter a Description
- click on ALLOCATE IP
Create a Key Pair
-
- in the left sidebar click on Compute and then on Key Pairs
- click on + CREATE KEY PAIR
- enter a Name for the Key Pair
- select SSH Key for Key Type
- click on + CREATE KEY PAIR
a window will open to save the private part of the key, save it to your computer.
Create a Security Group (Firewall Settings)
-
- in the left sidebar click on Network and then on Security Groups
- click on + CREATE SECURITY GROUP
- enter a Name for the Security Group and click on CREATE SECURITY GROUP
- click on +ADD RULE
- to be able to connect via ssh choose SSH in the Rule Field and click on ADD
- you can add further rules here as needed
If you need another port and not just SSH (port 22) you can either add another rule now or at any time later. Examples would be HTTPS (port 443) or HTTP (port 80).
Create your first Virtual Machine
-
- in the left sidebar click on Compute and then on Instances
- click on LAUNCH INSTANCE
Enter an Instance Name and click on „NEXT“
in the Source window enter the desired Volume Size (Harddisk Size for the Virtual Machine) and select an Image you want to use from the list of available Images on the bottom and then click on „NEXT“
in the Flavor window select your desired Instance Size (VCPUS, RAM) from one of the availabe Templates at the bottom and then click on „NEXT“
in the Networks window select one or more Networks to attach to the Virtual Machine. The Network „FAU-INTERN“ attaches to the Virtual Machine directly to an external Network. The Network „default“ can be used for internal communication between your Virtual Machines. Select your desired Network(s) and click on „NEXT“
If you select an internal network e.g. „default“ you have to connect an floating IP after the VM has started to connect from outside the cloud to your vm
you can skip the „Network Ports“ window
in the Security Groups window select the former created Security Group and click on „NEXT“
in the Key Pair window your former created Key Pair should already be selected.
You can now click on „LAUNCH INSTANCE“ to start your Virtual Machine
Connect to your VM via SSH
-
- in the left sidebar click now Compute and then Instances
- copy the IP Address of your Virtual Machine
- configure the former downloaded private key in your ssh client
- connect to the ip of the Virtual Machine – the username is corresponding to the selected Operating System (ubuntu for Ubuntu, debian for Debian and so on)