java in the cloud with jelastic

14
Java in the cloud Jeroen Kops

Upload: jkops78

Post on 05-Dec-2014

1.990 views

Category:

Technology


0 download

DESCRIPTION

Java in the cloud with Jelastic.Presentation given on 21 december 2011 at Sogeti NL by Jeroen Kops

TRANSCRIPT

Page 1: Java in the cloud with Jelastic

Java in the cloud

Jeroen Kops

Page 2: Java in the cloud with Jelastic

2

Agenda

• Introduction• Environment choices• Scalability•Maven support• Demo• Information

Page 3: Java in the cloud with Jelastic

3

Introduction

• Jelastic is NOT Open Source• The company behind Jelastic is (US)• Current version: Beta 1.6• Production release: end of Q1 / 2012 ?

• Active community− Response times on forum and by mail within one day

• Vote for features

Page 4: Java in the cloud with Jelastic

4

Environment Choices: Application Servers

Version 6

Version 3.1.1

Version 6 & 7

Page 5: Java in the cloud with Jelastic

5

Environment Choices: Application Servers

Version 6

Version 3.1.1

Version 6 & 7

In the near future ….. after the commercial launch

Page 6: Java in the cloud with Jelastic

6

Environment choices: Databases

Version 5.0

Version 5.2

Version 8.4

SQL Databases

Page 7: Java in the cloud with Jelastic

7

NoSQL Databases

Environment choices: Databases

Version 5.0 Version 1.8

Version 5.2

Version 8.4Version 1.1

SQL Databases

Page 8: Java in the cloud with Jelastic

8

Environment choices: other…

• Loadbalancer NGINX (engine X)

• Java 6 of 7

• High availability by session replication on/off

• Https on/off

Page 9: Java in the cloud with Jelastic

9

Scalability

• Horizontal scalability− In the beta test environment you can

scale up to 4 servers− Manually configured through the web

interface

• Vertical scalability− Measured in cloudlets− One cloudlet is

◦ 128 MB RAM

◦ 100 MHz CPU

− Cloudlet limit can be configured− Cloudlets are dynamically scaled

Page 10: Java in the cloud with Jelastic

10

Maven support

•Maven Plugin− Configure settings.xml

◦ Set your Jelastic username and password

◦ Add the Jelastic plugin repository

− Configure pom.xml

◦ Email

◦ Password

◦ Context (context root of the application)

◦ Environment name

◦ Api-hoster (US or Europe)

− Run: mvn jelastic:deploy (from Jenkins!)

• Build node Maven− Configure the connection to Git or Subversion.

− Get the code from the repository

− Let it build and deploy on the Jelastic server

Page 11: Java in the cloud with Jelastic

11

Actions

• Share environment between Jelastic users

• Clone environment

• Swap URL’s

• Upload files

•Watch statistics

• And this al is available by the web GUI

• No command line actions!

Page 12: Java in the cloud with Jelastic

12

The fun part … Demo time!

Page 13: Java in the cloud with Jelastic

13

Information

http://www.jelastic.com

http://jkops.jelastic.com (tutorial)

@Jelastic

@jkops78

Page 14: Java in the cloud with Jelastic

14

staat voor resultaat