Cloud Quick Start: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 104: Line 104:
#Important notes
#Important notes
#*'''Do not remove the default security rules''' as this will affect the ability of your VM to function properly (see [[OpenStack#Security_Groups|Security Groups]]).
#*'''Do not remove the default security rules''' as this will affect the ability of your VM to function properly (see [[OpenStack#Security_Groups|Security Groups]]).
#*'''Security rules cannot be edited''', they can only be deleted and re-added, so if you make a mistake when creating a security group rule you need to delete it using the ''Delete Rule'' button on the far left of the row for that rule in the security groups screen, and then re-add it correctly from scratch using the ''+Add Rule'' button.
#*'''Security rules cannot be edited''', they can only be deleted and re-added. If you make a mistake when creating a security group rule you need to delete it using the ''Delete Rule'' button on the far left of the row for that rule in the security groups screen, and then re-add it correctly from scratch using the ''+Add Rule'' button.
#*If you change your network location (and therefore your IP address) then you need to add the security rule described in this section for that new IP address. Remember that when you change your physical location (example working on-campus vs working from home) you are changing your network location.
#*If you change your network location (and therefore your IP address) then you need to add the security rule described in this section for that new IP address. Remember that when you change your physical location (example working on-campus vs working from home) you are changing your network location.
#*If you do not have a static IP address for the network you are using, remember that it can sometimes change, so if you can no longer connect to your VM after a period of time sometimes it's worth checking to see if your IP address has changed. You can do this by putting [http://ipv4.icanhazip.com ipv4.icanhazip.com] in your browser and seeing if it matches what you have in your security rule. If your IP address changes frequently, but the left-most numbers always stay the same, it could make more sense to add a range of IP addresses rather than frequently modifying your security rules. Use [https://www.ipaddressguide.com/cidr this tool] for determining a CIDR IP range from an IP range or learn more about CIDR notation [https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation here].
#*If you do not have a static IP address for the network you are using, remember that it can sometimes change, so if you can no longer connect to your VM after a period of time sometimes it's worth checking to see if your IP address has changed. You can do this by putting [http://ipv4.icanhazip.com ipv4.icanhazip.com] in your browser and seeing if it matches what you have in your security rule. If your IP address changes frequently, but the left-most numbers always stay the same, it could make more sense to add a range of IP addresses rather than frequently modifying your security rules. Use [https://www.ipaddressguide.com/cidr this tool] for determining a CIDR IP range from an IP range or learn more about CIDR notation [https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation here].
Line 113: Line 113:


==Connecting from a Linux or Mac machine== <!--T:20-->
==Connecting from a Linux or Mac machine== <!--T:20-->
If the computer you are using to connect to your VM has a Linux or Mac operating system, use the following instructions to connect to your VM. Otherwise skip down to the next section to connect with a Windows computer.</br>
If the computer you are using to connect to your VM has a Linux or Mac operating system, use the following instructions to connect to your VM. Otherwise skip down to the next section to connect with a Windows computer.</br></br>
Open a terminal and input the following command:
Open a terminal and input the following command:
{{Command| ssh -i /path/where/your/private/key/is/my_key.key <user name>@<public IP of your server>}}
{{Command| ssh -i /path/where/your/private/key/is/my_key.key <user name>@<public IP of your server>}}
Line 148: Line 148:
#Enter the public IP address for your VM in the remote host address field
#Enter the public IP address for your VM in the remote host address field
#Ensure that the '''Specify username''' checkbox is selected, then enter the image type for your vm (ubuntu for example) all lower-case into the '''username''' field.
#Ensure that the '''Specify username''' checkbox is selected, then enter the image type for your vm (ubuntu for example) all lower-case into the '''username''' field.
#Click the '''Advanced SSH Settings''' tab, and select the '''Use Private key''' checkbox
#Click the '''Advanced SSH Settings''' tab, and select the '''Use Private key''' checkbox.
#Click the page icon in the far right of the '''Use Private Key''' field box. In the pop up dialogue box select the key pair (.pem file) that you saved to your computer at the beginning of this quick guide.   
#Click the page icon in the far right of the '''Use Private Key''' field box. In the pop up dialogue box select the key pair (.pem file) that you saved to your computer at the beginning of this quick guide.   
#Then click "OK". MobaXterm will then save that session information you just entered for future connections, and also open an SSH connection to your VM. It also opens an SFTP connection which allows you to transfer files to and from your VM using drag and drop via the left hand panel.
#Then click "OK". MobaXterm will then save that session information you just entered for future connections, and also open an SSH connection to your VM. It also opens an SFTP connection which allows you to transfer files to and from your VM using drag and drop via the left hand panel.
rsnt_translations
56,430

edits

Navigation menu