2014-05-06

← Older revision

Revision as of 18:47, 6 May 2014

(10 intermediate revisions by one user not shown)

Line 15:

Line 15:

 

'''OpenShift Platform as a Service'''

 

'''OpenShift Platform as a Service'''

 

 



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 is Red Hat's Platform-as-a-Service (
[http://en.wikipedia.org/wiki/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 provides help to build and deploy web applications, mobile backends, service-oriented architectures, and get your favorite services.

 

OpenShift provides help to build and deploy web applications, mobile backends, service-oriented architectures, and get your favorite services.

Line 24:

Line 24:

 

'''What's a Gear?'''<br />

 

'''What's a Gear?'''<br />

 

A gear is a resource-constrained container that runs one or more user-specified software stacks, also known as cartridges. Each gear has a limited amount of RAM and disk space.

 

A gear is a resource-constrained container that runs one or more user-specified software stacks, also known as cartridges. Each gear has a limited amount of RAM and disk space.

 

+

 

If an application needs more resources, it can be configured to automatically use more gears.

 

If an application needs more resources, it can be configured to automatically use more gears.

 

 

Line 47:

Line 48:

 

'''Advantages offered OpenShift'''

 

'''Advantages offered OpenShift'''

 

 



It is a secure site, which is accessed through SSH.

+

It is a secure site, which is accessed through
[http://en.wikipedia.org/wiki/Secure_Shell
SSH
]
.

 

 

 

It is scalable<br />

 

It is scalable<br />

 

Application scaling enables your application to react to changes in traffic and automatically allocate the necessary resources to handle your current demand. The OpenShift infrastructure monitors incoming web traffic and automatically brings copies of your web cartridge online to handle requests.

 

Application scaling enables your application to react to changes in traffic and automatically allocate the necessary resources to handle your current demand. The OpenShift infrastructure monitors incoming web traffic and automatically brings copies of your web cartridge online to handle requests.

 

 



It gives
total control on our database to connect remotely via a GUI client
HeidySQL
.

+

Gives us
total control on our database
for us
to connect remotely
to
via a GUI client.

 

 



If opt for MySql, we feature the InnoDB engine, essential for transactions.

+

If
we
opt for MySql, we feature the
[http://en.wikipedia.org/wiki/InnoDB
InnoDB
]
engine, essential for transactions.

 

 



It gives us the possibility to share SSL Certificates RedHat or customize our own SSL, if you have one. Essential to send our data
both
login or bank transfers, encrypted and secure.

+

It gives us the possibility to share
[http://en.wikipedia.org/wiki/Transport_Layer_Security
SSL
]
Certificates
of
RedHat or customize our own SSL, if you have one. Essential to send our data
of
login or bank transfers, encrypted and secure.

 

 

 

 

Line 99:

Line 100:

 

2. Configure the application.

 

2. Configure the application.

 

 



It is important to define the domain name, for this tutorial
well,
we used sdme. The domain, you cannot change it unless, we delete all our applications and start again from scratch and that is something that nobody wants.

+

It is important to define the domain name, for this tutorial we used sdme. The domain, you cannot change it unless, we delete all our applications and start again from scratch and that is something that nobody wants.

 

 

 

Also, we will have to report, if we have an external git repository with our code.

 

Also, we will have to report, if we have an external git repository with our code.

Line 148:

Line 149:

 

Hands to work.

 

Hands to work.

 

 



We need a SSH / FTP client like WinSCP and PuTTY.

+

We need a SSH / FTP client like
[http://sourceforge.net/projects/winscp
WinSCP
]
and PuTTY.

 

 

 

We download and install.

 

We download and install.

Line 418:

Line 419:

 

As a final step, we will see the connection from a local client database, to our remote MySQL.

 

As a final step, we will see the connection from a local client database, to our remote MySQL.

 

 



For this example I will use HeidiSQL, which serves both MySQL or PostgreSQL database and is Free.

+

For this example I will use
[http://sourceforge.net/projects/heidisql
HeidiSQL
]
, which serves both MySQL or PostgreSQL database and is Free.

 

 

 

Open HeidiSQL.

 

Open HeidiSQL.

Show more