Host Your Own Web Site using Free Cloud Service

Hi guys today i am glad to post this tutorial on hosting your own web site using free cloud service like Redhat Openshift.
But before going into the details of this, first we will see in short what is openshift and how it helps in creating and hosting our own custom web applications.
OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. With OpenShift you have choice of offerings, including online, on premise, and open source project options.
openshift allows us to create web based applications in many different languages,platform and frameworks.

Some of the Supported language environments:
javascript,ruby,PHP,Python Perl,Java.

Supported databases:

  • MySQL
  • PostgreSQL
  • MongoDB

also following are some frameworks that are supported on openshift are:

  • Rack for Ruby
  • WSGI for Python
  • PSGI for Perl
  • Node.js for JavaScript

Now openshift allows us to create and host various kinds of web applications for free.
openshift offers 1GB of disk space,512 MB RAM and maximum 3 Cartridges for free account,
if we want more complex configuration for our custom server then we have to upgrade the account,which is not free.

Requirements for this Post:

  • Any of available Linux distro am using Ubuntu 12.10.
  • GIT (Version Control System) for managing your code remotely.
  • SSH Access for accessing remote shell of openshift server instance.
  • And yes, some of your time.

OK now we are all set,
First thing that we need to do here is create your brand new account on openshift you can do it by reffering to this link.
www.openshift.com/.

Now, after creating new account,you have to log in to your account.
After successfull log in it will ask you to choose a platform or language in which you want to build the application but we will see this in the next post.

Now, we will do some very basic stuff in order to ready ‘working’ with our own newly created cloud service application.

now, we required to install the git system,git is version control system we required git to maintain our code in both local and remote repositories,
we will see git in more detail when we actually required it.But for now we will just simply install git using following command simply type following
command in you terminal.
“sudo apt-get install git”

This is all for getting started with the openshift cloud service,in next post we will see how to create application on openshift cloud.

Create your first application on openshift