Slide 1

Slide 1 text

Cloud  night   •  Uli  Hitzel  –  Intro  to  the  Cloud     and  OpenStack   •  Lawrence  Crowther  –  Cloud  Foundry  

Slide 2

Slide 2 text

Cloud Computing for Developers Uli Hitzel | Singapore Spring User Group Meeting, March 2014

Slide 3

Slide 3 text

Agenda OpenStack What is it? | Why is it important? | Who is using it? | For what? Cloud Computing Cloud in 2014 | Service Levels | Developers as the consumer

Slide 4

Slide 4 text

About Uli ● Senior Architect at ● previously working as software developer, engineer, project manager and consultant for companies including

Slide 5

Slide 5 text

Part 1: OpenStack

Slide 6

Slide 6 text

What’s OpenStack ● Cloud Infrastructure Software ● Global open source community, founded by Rackspace & NASA ● Collaboration between technology vendors including Red Hat, IBM, Cisco and many others

Slide 7

Slide 7 text

General Success Factors

Slide 8

Slide 8 text

Apple

Slide 9

Slide 9 text

Android

Slide 10

Slide 10 text

OpenStack

Slide 11

Slide 11 text

OpenStack Software

Slide 12

Slide 12 text

OpenStack Ecosystem

Slide 13

Slide 13 text

OpenStack Implementations

Slide 14

Slide 14 text

Part 2: Cloud Computing

Slide 15

Slide 15 text

Cloud Computing in 2014

Slide 16

Slide 16 text

Traditional Workloads vs Cloud Workloads Virtualized & Shared & Standardized Resources Scalability & Elasticity Automated Service Management Traditional Cloud Dedicated Resources for each workload

Slide 17

Slide 17 text

A new consumption & delivery model

Slide 18

Slide 18 text

Smart Phones - Turn devices into apps

Slide 19

Slide 19 text

Architect Applications for the Cloud 1. Virtualize the Application Stack 2. Componentize, decouple & design all components as a 'black box' 3. Design for Scalability

Slide 20

Slide 20 text

The Developer as the Cloud Consumer “I want to develop my application” “I manage servers, storage and networks” Developer IT Administrator

Slide 21

Slide 21 text

Virtualize the Application Stack

Slide 22

Slide 22 text

Platforms are your Friend

Slide 23

Slide 23 text

Deployment Models

Slide 24

Slide 24 text

Platform as a Service Offerings

Slide 25

Slide 25 text

Multitenancy Considerations

Slide 26

Slide 26 text

Design for Scalability Traditional way ● add more RAM ● use faster servers ● expensive ‘micro-optimization’ ● complex caching ● faster hard disks Cloud Applications ● minimize mutable state ● create asynchronous services ● alternative data stores ● automate deployment

Slide 27

Slide 27 text

Design for Failure "Everything fails, all the time“ Werner Vogels, CTO Amazon.com ● find single point of failures ● evaluate scenarios. What levels of risk is acceptable? ● failure tolerance

Slide 28

Slide 28 text

Minimize Mutable State Variables shared across application ● Multiple servers and processes trying to update the same variables at the same time result in deadlocks, time-outs, and failed transactions ● minimize or eliminate those in webservers, application and the database ● specific considerations for filesystems, applications and datastores ● look at cluster filesystems, object stores, NoSQL / CouchDB, MongoDB – asynchronous ‘fire & forget’ updates

Slide 29

Slide 29 text

Components & Asynchronous Services ● Offload work from main application servers – Web 2.0 ● Break tasks into separate services, run by different components ● Scale independently ● Use message queues for guaranteed delivery

Slide 30

Slide 30 text

Automate Deployment - DevOps

Slide 31

Slide 31 text

Key Takeaways 1. OpenStack deals with Cloud Infrastructure 2. As a developer, your friends are platform services 3. Design Applications for the cloud - scalability & anticipate failure

Slide 32

Slide 32 text

Thank you.

Slide 33

Slide 33 text

1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved. Cloud Foundry The platform for building great software Lawrence Crowther – Field Engineering Manager

Slide 34

Slide 34 text

2 © Copyright 2013 Pivotal. All rights reserved. Agenda •  PaaS Definition •  The old way to develop software •  The new way to develop software •  Why do developers love Pivotal CF? •  Why do operators love Pivotal CF? •  Demo •  Q&A

Slide 35

Slide 35 text

3 © Copyright 2013 Pivotal. All rights reserved. Know your aaS from your elbow! PaaS defnition: Platform as a service (PaaS) is the delivery of a computing platform and solution stack as a service. PaaS offerings facilitate deployment of applications without the cost and complexity of buying and managing the underlying hardware and software and provisioning hosting capabilities

Slide 36

Slide 36 text

4 © Copyright 2013 Pivotal. All rights reserved. The old way

Slide 37

Slide 37 text

5 © Copyright 2013 Pivotal. All rights reserved. Is Your Enterprise Ready?

Slide 38

Slide 38 text

6 © Copyright 2013 Pivotal. All rights reserved. Issues with the old way •  How do you size this environment correctly? •  How do you scale and add capacity when required? Start the whole process again? •  How do you synchronize updates to the code, database, middleware and network simultaneously? •  How do you do continuous delivery? •  Slow GTM 6-12 months •  Brittle software with hard coded dependencies. •  Hard to move code/config from DEV->UAT->PROD

Slide 39

Slide 39 text

7 © Copyright 2013 Pivotal. All rights reserved. The new way target push bind scale Marketplace Business and Customers DevOps

Slide 40

Slide 40 text

8 © Copyright 2013 Pivotal. All rights reserved. Build for Agile Teams     provision        target        push        bind        scale    +100   upgrade/scale        

Slide 41

Slide 41 text

9 © Copyright 2013 Pivotal. All rights reserved. Benefits of the new way •  Developers don’t have to worry about the “plumbing” •  Less dependencies in the code so applications can be moved between DEV, UAT and PROD much easier OR to other clouds •  Frequent updates means business and customers happier •  PaaS is easier to manage from an operations perspective (single distributed system rather than a collection of separate components) •  Feedback loop is quicker, code, deploy, test, fix, deploy etc.. •  Easy to scale horizontally both from an application and data point of view •  Continuous Delivery is a reality •  Allows tighter governance and policy

Slide 42

Slide 42 text

10 © Copyright 2013 Pivotal. All rights reserved. Deploy and scale applications in seconds on your choice of clouds The industry’s open platform as a service Productivity, Scalability, Extensibility, Openness

Slide 43

Slide 43 text

11 © Copyright 2013 Pivotal. All rights reserved. The Industry Leading Open Source PaaS

Slide 44

Slide 44 text

12 © Copyright 2013 Pivotal. All rights reserved. Broad Technology Ecosystem Instances & Multi-Cloud Providers Polyglot Frameworks and Services Add-On Marketplace And Partnerships

Slide 45

Slide 45 text

13 © Copyright 2013 Pivotal. All rights reserved. Why do developers love Cloud Foundry?

Slide 46

Slide 46 text

14 © Copyright 2013 Pivotal. All rights reserved. Open

Slide 47

Slide 47 text

15 © Copyright 2013 Pivotal. All rights reserved. Open Source Micro   Clouds   Private   Clouds   Public   Clouds   CUSTOM SERVICES What does “Open” PaaS mean? Choice! CUSTOM RUNTIMES

Slide 48

Slide 48 text

16 © Copyright 2013 Pivotal. All rights reserved. Why DevOps love Cloud Foundry?

Slide 49

Slide 49 text

17 © Copyright 2013 Pivotal. All rights reserved.

Slide 50

Slide 50 text

18 © Copyright 2013 Pivotal. All rights reserved.

Slide 51

Slide 51 text

19 © Copyright 2013 Pivotal. All rights reserved.

Slide 52

Slide 52 text

20 © Copyright 2013 Pivotal. All rights reserved.

Slide 53

Slide 53 text

21 © Copyright 2013 Pivotal. All rights reserved.

Slide 54

Slide 54 text

22 © Copyright 2013 Pivotal. All rights reserved.

Slide 55

Slide 55 text

23 © Copyright 2013 Pivotal. All rights reserved.

Slide 56

Slide 56 text

24 © Copyright 2013 Pivotal. All rights reserved. Cloud Foundry Architecture Cloud  Controller   Dynamic  Router   UAA/Login  Servers   Health  Manager   DEA  Pool(s)   Service  Broker  Node(s)   User  Provided   Service  Instances   Messaging  (NATS)   Apps   Cloud  Foundry  BOSH   Build  Packs   Logging   Apps Infrastructure PaaS

Slide 57

Slide 57 text

25 © Copyright 2013 Pivotal. All rights reserved. Demo 1.  Spring Cloud in action •  Deploy Spring app to CF and bind to MySQL •  Deploy Spring app to CF and bind to PostgreSQL 2.  Zero downtime and continuous delivery 3.  Scale app from both an application and infrastructure POV

Slide 58

Slide 58 text

26 © Copyright 2013 Pivotal. All rights reserved. How to get started 1.  Open Source - https://github.com/cloudfoundry 2.  Community - http://cloudfoundry.org/ 3.  Pivotal Web Services – http://run.pivotal.io 4.  Pivotal CF - www.gopivotal.com/paas 5.  Spring Cloud - https://github.com/spring-projects/spring-cloud 6.  Spring Music Demo - https://github.com/cloudfoundry-samples/spring-music

Slide 59

Slide 59 text

A NEW PLATFORM FOR A NEW ERA