Chapter Two Part Seven Section Six: How To Use Snova On Jelastic

Looking for a simple, stable and significant VPS as your web hosting? Check out DigitalOcean, only $5 per month, and you can get $10 in credit just for signing up now.

As mentioned before, you can run the Snova proxy on Cloud Foundry, Heroku, OpenShift and Jelastic PaaS platforms, with the C4 plugins.

Among these 4 PaaS platforms, Jelastic is the easiest way to install the C4 plugin, since you do NOT need to use any command lines, as what you can see from the following detailed steps:

1. Download snova-c4-server-xxx.war

Download snova-c4-server

On the Snova Downloads webpage, download the "snova-c4-server-xxx.war" file, and you can skip this step if which you have done before.

2. Create a Jelastic account

Create a Jelastic account

On the Jelastic homepage, enter your email address to sign up an account, which login username and password will be emailed to you soon.

3. Create your Jelastic app domain

Create your Jelastic app domain

After login, you can see an "Environment topology" window, on which, you can enter an "Environment name" (such as "freenuts"), which will generate you one Jelastic app domain (such as "freenuts.jelastic.servint.net"), and then click the "Create" button.

4. Upload snova-c4-server-xxx.war

Upload snova-c4-server-xxx.war

Click the "Upload" button, and browse to upload the "snova-c4-server-xxx.war" file you downloaded.

By the way, you can enter anything into the "Comment" box if you like.

5. Deploy Snova c4 server to Jelastic

Deploy Snova c4 server to Jelastic

Moving the cursor over the name of the uploaded "snova-c4-server-xxx.war" file, you can see a yellow icon, clicking on which, you can see the Environment name, clicking on which, you can see a pop-up window, and clicking on its "Deploy" button directly without changing anything, then you can deploy the C4 plugin to Jelastic.

6. Configure the Snova c4 client

Configure the Snova c4 client

Supposing that you have installed Snova on GAE as mentioned before, then you can find and open the "c4-client.conf" file via the following path:

.../snova-xxx/plugins/c4/conf/c4-client.conf

And enter your Jelastic app domain (such as "freenuts.jelastic.servint.net") at the end line of "WorkerNode [0]".

By the way, Snova supports multiple c4 plugins together, so that you can also add the domains of your Cloud Foundry, Heroku, and/or OpenShift apps in the same "c4-client.conf" file, just make sure the numbers behind "WorkerNode" are different from each other.

7. Configure snova.conf

Configure Snova.conf

Find and open the "snova.conf" file via the following path:

.../snova-xxx/conf/snova.conf

And change the "ProxyService" value from "GAE" to "C4".

By the way, you can skip this step if you have ever done this before.

8. Start Snova

Start Snova

After that, you can start Snova, and if you can see the following message:

Start plugin:C4 … Success

Then you can visit the HTTPS links normally, as what you can do with the Cloud Foundry, Heroku and/or OpenShift plugins.

Spread the love
This entry was posted in E-book and tagged , . Bookmark the permalink.