• No results found

OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013

N/A
N/A
Protected

Academic year: 2021

Share "OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013"

Copied!
50
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

2

OpenShift

on you own cloud

Troy Dawson

OpenShift Engineer, Red Hat [email protected]

(3)

3

Infrastructure-as-a-Service

“How do I use this?” Servers in the Cloud

You must build and manage everything (OS, App Servers, DB, App, etc.)

(4)

4

Software-as-a-Service

“I’m not sure this does what I need.” You are restricted to the features of the 3rd Party application

(5)

5

Red Hat’s platform as a service for applications in the cloud.

(6)

6

Now in 3 Delicious Flavors

OpenShift Online

• Traditional OpenShift

• Red Hat provides everything • You sit back and relax

OpenShift Origin

• You build it from Source

• You put it on your infrastructure

OpenShift Enterprise

• Red Hat provides the software • You provide the infrastructure

(7)

7 origin Public Cloud Service On-premise or Private Cloud Software Open Source Project FLAVORS OF OPENSHIFT

(8)

8

RUNS ON IaaS

OpenShift Origin and OpenShift Enterprise run on top of ... Infrastructure

OpenStack RHEV VMWare Amazon EC2 Rackspace Bare Metal

(9)

9

Operations care about stability and performance

Developers just want environments without waiting

OpenShift Enterprise creates a peaceful

environment for both parties

(10)

10

• Broker – Management host, orchestration of Nodes

• Node – Compute host containing Gears

• App – Your Application. An app contains one or more

gears, that contain one or more cartridges.

• Gear – Allocation of fixed memory, compute, and

storage resources for running applications

• Cartridge – A technology/framework (PHP, Perl,

Node.js, Ruby, Python, MySQL, etc.) to build applications

(11)

11

First Demo (Done on OpenShift Online)

1. Create an app called farmstand

● Note: can now add cartridges when creating app 2. Look at URL of fresh app.

● http://farmstand-tdawson.rhcloud.com/ 3. Make changes to our code locally

● This is a local git repository we are changing

● Demo uses a shortcut, use whatever way you want 4. Push changes up to server

● Notice how it will add the various language modules to

the app and then compile if necessary.

5. See change in page

(12)
(13)
(14)
(15)

15

Installing nodejs modules Into home area

(16)
(17)
(18)
(19)

19

Second Demo (OpenShift Origin, local VM)

1. Steps done before we started the demo ● Setup OpenShift Origin locally

● Created a cartridge designed for an experiment ● Installed the cartridge onto our OpenShift Origin 2. Show we can make apps on our Origin instance. 3. List what cartridges are available.

● Note: We now have an experiment cartridge 4. Build an app using the experiment cartridge 5. Look at experiment default page

(20)
(21)
(22)

22

Experiment Cartridge Home Made Goodness

(23)
(24)
(25)

25

Third Demo (OpenShift Origin, local VM)

1. Ensure the user can expand their quota.

2. Show how the user can use the web client to ● Create a scalable app

● Modify scalable settings after created ● Change quota on a per app basis

(26)
(27)
(28)
(29)
(30)

30

Change this to scale the app.

(31)
(32)
(33)

33

(34)

34

(35)
(36)

36

(37)

37

• Broker – Management host, orchestration of Nodes

• Node – Compute host containing Gears

• App – Your Application. An app contains one or more

gears, that contain one or more cartridges.

• Gear – Allocation of fixed memory, compute, and

storage resources for running applications

• Cartridge – A technology/framework (PHP, Perl,

Node.js, Ruby, Python, MySQL, etc.) to build applications

(38)

38

SERVER TYPES

Each OpenShift Origin server will be one of the following types:

• Broker Host • Node Host

(39)

39

BROKER

An OpenShift Broker can manage multiple node hosts.

Fedora/RHEL Fedora/RHEL

Fedora/RHEL

Brokers Node Node

(40)

40

BROKER

(41)

41

SELINUX

Fedora/RHEL

Fedora/RHEL

Brokers Node Node

SELinux Policies securely subdivide the Node instances.

(42)

42

GEARS

RHEL

RHEL

Brokers Node Node

OpenShift GEARS represent secure containers in RHEL

(43)

43

CARTRIDGES

Fedora/RHEL

Fedora/RHEL

Brokers Node Node

Web Console Eclipse IDE Cmd Line

JBOSS MYSQL

(44)

44 CARTRIDGES CUSTOM Etc. Etc. Ruby Python PHP Java Postgres MySQL OpenShift Default Cartridges

(45)

45 SCALING RHEL HA-Proxy MySQL Java Code Java Code Java Code

(46)

46

COMMUNICATION

Communication from external clients occurs through the REST API

(47)

47

(48)

48

(49)

49

(50)

50

Comments / Help / Get Involved

• OpenShift Online: https://www.openshift.com/

• OpenShift Origin: http://openshift.github.io/

• Source code: https://github.com/openshift

• Email: [email protected]

• IRC: #openshift and #openshift-dev on freenode

References

Related documents

The VX Cycle offers a broad range of scales for the cost-effective production of LNG/CCNG, and the Cycle can be integrated with existing CNG stations, pipeline compressor stations

Retail dealers holding a Class A or Class B liquor permit shall be entitled to, upon request, a deduction of 20% of actual gross sales in determining the amount of license

Jasa Marga (Persero) Tbk Cabang Belmera Medan digunakan Current Ratio, karena Current ratio mengukur kemampuan perusahaan dalam menunjukkan sejauh mana aktiva

The point at which the resultant of lift forces acts is: A) the hub. B) the center of gravity. D) the center of pressure.. A) airflow velocity increasing downward having been

ITS ® √ Training √ Placements* √ DBA Support Oracle DBA, Oracle Developer, Java, Android, SQL Server, Linux, C, C++, MySQL PHP, HTML,CSS, Java Script, MySql DBA,

COVID - 19 SCENARIOS SCENARIO 1 OPEN CAMPUS HYGIENE PROCEDURES RESTRICTED INTERACTIONS AMONG CLASSES SCENARIO 2 SYMPTOMATIC STUDENT OR STAFF ONLINE INSTRUCTION SCENARIO 3 CASE OF

What is the Anambra state secondary school principals’ rating of business studies teachers’ teaching effectiveness in class management.. How do Anambra state

There are many augmented reality (AR) applications avail- able that can be used to create educational contents for these mobile devices. This paper surveys the most popular