To use cloud storage as a network share, you will need the following information.
- Hostname: Your username can be found in the customer portal Grid View and List View. It differs by data center and follows this pattern:
- US-West-1: [customernumber].cloud.storage.gogrid.com
- EU-West-1: [customernumber].cs.eu-west-1.gogrid.com
- Username: Your username can be found in the customer portal. Click on Support > Passwords.
- Password: Your password can be found in the customer portal. Click on Support > Passwords.
Mounting Cloud Storage on Linux Servers
iptables –I INPUT 1 –j ACCEPT –p tcp –s 10.117.0.0/24 –d 0.0.0.0/0
This will accept all traffic from the cloud storage network for some server images. If you still cannot connect to cloud storage after running this command, run the following command to flush the iptables:
Your cloud storage allotment can be mounted to your local machine via the command line. You will need to install the Samba-Linux client. To check if it has already been installed, run the following command:
rpm -qa | grep samba
If it has not been installed, install it by running the following command:
yum install samba-clientfor CentOS or
up2date samba-clientfor RHEL systems.
Create a mount point to mount to your cloud storage on your Linux system:
You can then mount the remote drive locally:
mount -t cifs //[hostname]/[customernumber] /mnt/cloudstorage -o user=[customernumber],pass=[password]
Depending on the distribution, i.e., Linux 4.X versions, you may want to remove the
-t flag in the command line and replace
password. Here is an example of what the command may look like:
mount -t cifs //16642.cloud.storage.gogrid.com/16642 /mnt/cloudstorage -o user=16642,pass=19fd3jf
mount -t cifs //500126.cs.eu-west-1.gogrid.com/500126 /mnt/cloudstorage -o user=500126,pass=20ge4hg
Connecting to Cloud Storage from Windows Servers
Your cloud storage allotment can be mounted to your local machine through Windows Explorer. Follow the steps below to mount your cloud storage allotment as an additional drive on your Windows machine:
- Open Windows Explorer.
- Select Tools > Map Network Drive.
- Under Drive, pick any letter you wish to associate with your cloud storage allotment, such as S: for storage.
- In the Folder location, type the hostname of your cloud storage allotment followed by the directory you wish to mount to (if any). This will be something like:
- Check the "Reconnect at Logon" check box to ensure that the drive is mounted persistently after reboots.
You will be asked for your cloud storage user credentials when accessing the drive for the first time.