16
Launching a Public PaaS on Open Source Getup & OpenShift Origin Mateus Caruccio - CEO [email protected] @mateuscaruccio

English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Embed Size (px)

DESCRIPTION

Get a glimpse of our OpenShift Origin implementation on Amazon Web Services. This slides was presented with Diane Mueller - Red Hat Cloud Ecosystem Evangelist

Citation preview

Page 1: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Launching a Public PaaS on Open Source Getup & OpenShift Origin

Mateus Caruccio - [email protected]

@mateuscaruccio

Page 2: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

The GetupScalable cloud application platform

Why did we get in?We like codingCoding and Infrastructure doesn't mixWe want developers stay away from infrastructure

Bring to Brasil a truly self-service and "pay as you go" false cloud no more!

Page 3: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Why we chose Openshift Origin

Open Source - mandatory

No lock-in - portability

Maturity

Strong community sense - 8th most active github company*

Language and framework agnostic

Reliability - backed by company with OSS tradition

*twitter.com/gnurag/status/348777656004800512

Page 4: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

OpenShift Origin Repositories

Branch master - high commit frequency*, features developing

Branch openshift-origin-release-X - stable versions and lifecycle (3 months)

github.com/openshift/origin-server

*github.com/openshift/origin-server/graphs/commit-activity

Page 5: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

OpenShift Getup Respository

Our own branch getup-openshift-origin-release-XLocal developing

Components (broker/console/node/auth) running on developer machineAdded our bits (visual identity, authentication and billing)Deploy on dev environment / homologationDeploy on production

github.com/getupcloud/origin-server

Page 6: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Contribution

Bug report via upstream PRDoc help (cartridges migration v1 -> v2)Brazilian Portuguese documentationFeedback

Page 7: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Our AWS setupglobal infrastructure / availability zones / wide range of products

EC2 - compute power

EBS - persistence

RDS - multi zone / scalable

Route53 - SLA 100% / OpenShift plugin

VPC - isolated network

CloudFormation - automatic deploy

CloudWatch - monitoring

Page 8: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

CloudFormation + Puppet

We also need scalability and cannot trust humans.

Pursuit "zero manual intervention"CloudFormation for infrastructure deployPuppet for instance setup

github.com/getupcloud/getup-cloudformationgithub.com/getupcloud/getup-utils

Page 9: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

CloudWatch - Monitoring

Default metricsCPU, memory, volume

OpenShift Metricsglobal apps, global gears, gears per node

Alarms Email + SMS

Page 10: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

However, everybody knows that...

Page 11: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Starting from this plan, we built our own...

Page 12: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Disaster Recovery Plan

EBS everywhere!

Snapshot each 3 hours / 7 days rotation

MongoDB redundancy - replicaset

Zone Failure - move nodes for another zone

RDS redundancy - master/slave on 2 zones

Fast restoring with CloudFormation

Page 13: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

OpenShift Origin - Pros and Cons

GoodActive CommunityMany support channels (irc, blogs, forums, mail-list, g+ e hangout)Quick support responseFlexibility - custom cartridges and auto-scaling

Not so goodNo admin console

Page 14: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Future

Open our puppet scriptsBigger Gears (1GB)New cartridgesIntegration with other solutions (S3, CloudFront, Mailgun...)Multi region application deployDeveloper Web Console translationMore scaling triggers (only web traffic today)Better support for development teams

Page 15: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Getup Community

How to join us

GitHub - github.com/getupcloudZendesk - getup.zendesk.com

Page 16: English - Lauching a Public PaaS on Open Source Getup & OpenShift Origin - FISL14

Get in touch

Getup Cloudhttp://getupcloud.com@getupcloud

http://www.slideshare.net/getupcloud

Mateus Caruccio - [email protected]@mateuscaruccio