In order to run Ghost Cloud File System you need to purchase the Ghost Cloud FS (Storage Service) DevPay Product. But before purchasing the devpay product you should first import Ghost CFS rightscale server template and prepare it to be run.
Load the CFS template into your account
1. Login to your rightscale account ( go to http://my.rightscale.com )
2. In your rightscale account go to Design > Server templates > View Library

3. Go to partners tab.
4. Search for ghost.cc and select CFS Free Template with the highest version number and click the import link.

5. Once you import the template you will be able to use it in your rightscale account.
Create a CFS deployment
To start a new CFS template you need to create a CFS deployment first. (recommended)
1. Click on the Manage Menu > Select deployments > then click New.

2. Enter a deployment name (i.e. GhostCC CFS).
3. Enter a brief description (i.e . Ghost Cloud Computing Cloud FileSystem deployment).
4. Select your availability zone if you have a preference or leave it as default (ANY)
5. Click on save to save the deployment.

Creating a security groups
Create a security group for CFS. The security group defines the firewall policy for your CFS server. You need to configure security groups to allow access to your server via Web and FTP, to do that:
1. Select Clouds > then select your preferred availability region - if you do not have a preference select AWS US-EAST > then select Security groups and click on New

2. Enter a group name (i.e. CFS security group) > Description (i.e. Ghost CFS security group)> click create

3. After creating your security group, you will need to configure it as follows - add the ports one by one:
Protocol |
TCP/UDP |
Source |
From Port |
To Port |
HTTP |
tcp |
0.0.0.0/0 |
80 |
80 |
HTTPS |
tcp |
0.0.0.0/0 |
443 |
443 |
FTP Active |
tcp |
0.0.0.0/0 |
20 |
22 |
FTP Passive |
tcp |
0.0.0.0/0 |
54110 |
55109 |

Creating or selecting an SSH key pair
Although you do not actually need an SSH key, since you do not need to SSH to your server at any time, however you might still want to access your server and take a look at what is in. Also in case you needed help or support, our support will need SSH access to your server in certain cases, so it is a good idea to create a new SSH key just in case.
To create a new SSH key pair:
1. Select Clouds > Select the availability region of your preference > select Ec2 SSH keys > click on new.

2. Enter a name for your keypair (i.e. Ghost CFS ssh key pair) then click create

Adding Servers to the deployment
Next you will need to add a Server or multiple servers depending on your usage needs to the deployment.
1. Select Manage > deployments > View Dashboard.

2. Select the CFS deployment which you have created.
3. On the screen below select cloud (currently only EC2 US is supported) and click on Add Server.

4. Under server template select imported and select the ghost.cc CFS Free Template x.xx where x.xx is the highest version number of the CFS tempalte which you have imported previously.
5. Give your server a unique nickname so that you can recognize it later. (Ghost CFS Server 1) Select the appropriate SSH keys and security group which you have created previously.
6. Leave availability zone as any (or whichever zone you have selected for the deployment)
7. Leave the rest of the options as default and click Add

Starting CFS Server
On the rightscale dashboard select your Ghost CFS deployment, select a server and Click on the launch button, you will then see a screen asking you to enter launch inputs for server the server you have added previously.

You will notice that there are a number of parameters that have been filled for you. Please do NOT modify inputs which have been filled by default as this will cause problems and then will render your server unusable.
The inputs which you need to fill are the ones marked in red for you.
CFS_PID : if this is your first instance , then select Ignore this parameter is not needed. If you have another launched instance you can login to the admin page and get your PID and user token from that page, (adel describe or copy paste from AWS documentation).
CFS_USERTOKEN : Again if this is your first instance ignore this parameter (Set to Ignore) otherwise copy and paste the user token available on the admin page or your currently running instance.
OPT_TOMCAT_MANAGER_PASSWORD: Fill it with a password of your choice make it secure. OPT_TOMCAT_MANAGER_USER: Fill this with a username of your choice.
These parameters are advanced configuration parameters which you will NOT use, you don't even have to remember them, therefore make sure you select a username and a password which is hard to guess.
SSL Enabled : Select false for now. If you have an SSL certificate for your domain which you would like to use then see the SSL section below on how to configure SSL for your CFS servers.

TIP: You can later change deployment inputs and save the PID and user token to your deployment so that you will not need to insert them manually each time you start a new CFS server.
WebSite DNS: If you have a Domain Name which you will use to point to the CFS instance, then input the domain name in this field. If you do not have a domain enter a dummy domain name such as mycfs.mydomain.com . Do NOT Leave this parameter blank.
Now click launch to start your CFS Server.
You have to wait a couple of minutes for your CFS instance to start. You can see progress on the right of the Rightscale dashboard.
Buying our DevPay S3 product and obtaining an activation key
Now you need to purchase the Ghost Cloud FS for S3 by following this link: " https://aws-portal.amazon.com/gp/aws/user/subscription/index.html?offeringCode=FE523B14
sign in to your Amazon AWS Account. Make sure you select "I am a returning customer and my password is:"
Review the order and click "Place your order".
Once this is done you will be redirected to a new page, you will see an activation code on top of the page. Copy the "Activation Code" shown. You will use it to configure your instance in the next step. You can keep this browser page open and/or double-click on the Activation Code and press CTRL+C to copy it and paste it elsewhere. Note that this "Activation Code" will be valid for one hour and you must configure your CFS EC2 instance during this time so don’t take your lunch break just now. If for any reason this Code expires, " click here to get a new one.
