cloud native enterprise
TRANSCRIPT
![Page 1: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/1.jpg)
1 © Copyright 2015 Pivotal. All rights reserved.
Cloud Native Enterprise
PanGea
[email protected] @JavaNinja
github.com/vfonsecapv Cloud Hero @Pivotal
![Page 2: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/2.jpg)
2 © Copyright 2015 Pivotal. All rights reserved.
Agenda
● Por quê?
● O quê?
● Como?
![Page 3: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/3.jpg)
3 © Copyright 2015 Pivotal. All rights reserved.
Por quê?
![Page 4: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/4.jpg)
4 © Copyright 2015 Pivotal. All rights reserved.
Software está mudando a indústria
![Page 5: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/5.jpg)
5 © Copyright 2015 Pivotal. All rights reserved. 5
CLOUD NATIVE
Cloud DevOps Agile Lean Continuous Delivery
Microservices
![Page 6: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/6.jpg)
6 © Copyright 2015 Pivotal. All rights reserved.
A promessa do Cloud Native
• Novas idéias imediatamente • Total automatização • Infraestrutura escalavel barata • Aplicação e plataforma são uma só
![Page 7: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/7.jpg)
7 © Copyright 2015 Pivotal. All rights reserved.
Escalar apps na cloud é melhor e diferente
2X
Vertical Devagar, Caro!
Horizontal Rápido, Barato!
1x 1x 1x
1X 512mb
1024mb
1x
512mb 512mb 512mb 512mb
![Page 8: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/8.jpg)
8 © Copyright 2015 Pivotal. All rights reserved.
Frustração com App Servers pesados e complexos
Complexo, caro para escalar (ou impossível) Difícil para adicionar novas features para app
Ambiente dos sonhos para dev + ops acelera apps delivery
![Page 9: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/9.jpg)
9 © Copyright 2015 Pivotal. All rights reserved.
75%
25%
Apps serão cada vez mais construídas do que compradas
O Gartner prevê que até 2020,
de aplicações que suportam negócio digital serão "construídas” e não “compradas”
Fonte: Gartner Newsroom, Agosto 2015
![Page 10: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/10.jpg)
10 © Copyright 2015 Pivotal. All rights reserved.
Andrew Zitney Senior Vice President Technology & Operations Inf
Services at Allstate
De 100 dias para uma semana...
![Page 11: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/11.jpg)
11 © Copyright 2015 Pivotal. All rights reserved.
Andrew Zitney Senior Vice President Technology & Operations Inf
Services at Allstate
Do passado para plataforma digital
![Page 12: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/12.jpg)
12 © Copyright 2015 Pivotal. All rights reserved.
O QUÊ?
![Page 13: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/13.jpg)
13 © Copyright 2015 Pivotal. All rights reserved.
![Page 14: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/14.jpg)
14 © Copyright 2015 Pivotal. All rights reserved.
![Page 15: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/15.jpg)
15 © Copyright 2015 Pivotal. All rights reserved.
![Page 16: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/16.jpg)
16 © Copyright 2015 Pivotal. All rights reserved.
![Page 17: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/17.jpg)
17 © Copyright 2015 Pivotal. All rights reserved.
![Page 18: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/18.jpg)
18 © Copyright 2015 Pivotal. All rights reserved.
![Page 19: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/19.jpg)
19 © Copyright 2015 Pivotal. All rights reserved.
![Page 20: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/20.jpg)
20 © Copyright 2015 Pivotal. All rights reserved.
![Page 21: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/21.jpg)
21 © Copyright 2015 Pivotal. All rights reserved.
![Page 22: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/22.jpg)
22 © Copyright 2015 Pivotal. All rights reserved.
![Page 23: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/23.jpg)
23 © Copyright 2015 Pivotal. All rights reserved.
![Page 24: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/24.jpg)
24 © Copyright 2015 Pivotal. All rights reserved.
![Page 25: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/25.jpg)
25 © Copyright 2015 Pivotal. All rights reserved.
![Page 26: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/26.jpg)
26 © Copyright 2015 Pivotal. All rights reserved.
● Continuously Delivered ● Twelve Factor Apps (http://12factor.net/) ● Microserviços ● Self-Service agile infrastructure ● Colaboração por APIs ● Antifragilidade sem downtime
Características das Cloud Native Architectures
![Page 27: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/27.jpg)
27 © Copyright 2015 Pivotal. All rights reserved.
Bus
ines
s
Continuous Delivery
Idéia
Dev
elop
men
t
$
QA
Ope
ratio
ns
Cus
tom
er
Valor
Companhias disruptivas, entregam mais valor
![Page 28: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/28.jpg)
28 © Copyright 2015 Pivotal. All rights reserved.
Agile Delivery
Customer Feedback
Customer Delivery
Behavior Analytics
Design
Development
Test
![Page 29: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/29.jpg)
29 © Copyright 2015 Pivotal. All rights reserved.
WaterScrumFall
Organização Waterfall
Production Release #1
Production Release #2
![Page 30: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/30.jpg)
30 © Copyright 2015 Pivotal. All rights reserved.
Continuous Delivery + Agile Delivery
CO
MP
RA
E
NV
IO
Production Release
Production Release
Production Release
Production Release
![Page 31: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/31.jpg)
31 © Copyright 2015 Pivotal. All rights reserved.
Lei de Conway
http://www.melconway.com/Home/Committees_Paper.html
“Organizações que desenvolvem sistemas de software tendem a produzir sistemas que são cópias das estruturas de comunicação dessas organizações.”
- Melvin Conway, 1967
![Page 32: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/32.jpg)
32 © Copyright 2015 Pivotal. All rights reserved.
Twelve-Factor Apps
1. Codebase 2. Dependencies 3. Configuration 4. Backing Services 5. Build, release, run 6. Processes 7. Port binding 8. Concurrency 9. Disposability 10. Dev/prod parity 11. Logs 12. Admin processes
Pivotal Cloud Foundry PaaS
APPS
Padrões para cloud– http://12factor.net
contrato
![Page 33: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/33.jpg)
33 © Copyright 2015 Pivotal. All rights reserved.
Microserviços: Definição
Apps monolíticas, onde o valor e o negócio se perdem.
SOA tradicional, cada pedaço da torta deve ser igual. Microserviços, cada peça é
individual e responsável por si.
![Page 34: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/34.jpg)
34 © Copyright 2015 Pivotal. All rights reserved.
Microserviços não SÃO!
Data Access
Service
HTML JavaScript MVC
Service
Monolithic Application
Enterprise Service Bus
Service
Service
Service
Service
Centralizadas Acopladas
OU
![Page 35: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/35.jpg)
35 © Copyright 2015 Pivotal. All rights reserved.
Arquitetura de Microserviços
35
…
HTTP
HTTP
HTTP
HTTP
HTTP
HTTP
AMQP AMQP
Relational DB
Key/Value Store
Graph DB
![Page 36: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/36.jpg)
36 © Copyright 2015 Pivotal. All rights reserved.
Exemplo de Microserviços
![Page 37: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/37.jpg)
37 © Copyright 2015 Pivotal. All rights reserved.
Microserviços é difícil…
![Page 38: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/38.jpg)
38 © Copyright 2015 Pivotal. All rights reserved.
• Configuration Management • Service Registration & Discovery • Routing & Load Balancing • Fault Tolerance (Circuit Breakers) • Monitoring • Concurrent API Aggregation & Transformation
Desafios de sistemas distribuídos
![Page 39: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/39.jpg)
39 © Copyright 2015 Pivotal. All rights reserved.
COMO?
![Page 40: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/40.jpg)
40 © Copyright 2015 Pivotal. All rights reserved.
É necessário uma plataforma (PCF)
Uma plataforma completa que garante a melhores práticas para implementar aplicações
distribuídas, novas apps voltadas ao negócio digital.
![Page 41: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/41.jpg)
41 © Copyright 2015 Pivotal. All rights reserved.
2. Container Runtime Dev+Ops
*Contratos entre aplicações, clouds e infraestrutura aceleram o processo de desenvolvimento e a entrega de valor.
Anatomia de uma Cloud Native Platform
Contract – 12 Factor App
Contract – BOSH Release
Contract – Cloud Provider Interface
1. Application Framework Developer
IT Ops 3. Infrastructure Automation
4. Infrastructure IT Ops
![Page 42: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/42.jpg)
42 © Copyright 2015 Pivotal. All rights reserved.
Spring
#1 Enterprise Java App Framework Netflix Open Source
Spring Boot
Apps entregues na velocidade da luz Sem configuração Simples e poderoso
Spring Cloud
Distributed Config Service Registration and Discovery Routing/Load Balancing Service Integration Fault Tolerance Pivotal é a principal guardião da SpringSource e temos os principais commiters disponíveis para ajudar nossos clientes a
acelerar essa jornada.
![Page 43: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/43.jpg)
43 © Copyright 2015 Pivotal. All rights reserved.
Spring Cloud
![Page 44: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/44.jpg)
44 © Copyright 2015 Pivotal. All rights reserved. 44
Seja disruptivo como o Netflix • Netflix precisava ser mais rápido do que os concorrentes • Pioneiro em microservices, a chave para seu sucesso • Netflix OSS fornece peças, mas não é uma solução • Difícil para as empresas para construir por si próprios • Pivotal oferece a coisa mais próxima de "Netflix em uma
caixa" hoje
![Page 45: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/45.jpg)
45 © Copyright 2015 Pivotal. All rights reserved.
Spring Cloud Services Suite
Install Config
Manage
Secure Spring Cloud
Services
Config Server
Service Registry
Circuit Breaker Dashboard
![Page 46: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/46.jpg)
46 © Copyright 2015 Pivotal. All rights reserved.
Spring Boot Adoption
0
200.000
400.000
600.000
800.000
1.000.000
1.200.000
1.400.000
1.600.000
1.800.000
jul/14 ago/14 set/14 out/14 nov/14 dez/14 jan/15 fev/15 mar/15
abr/15 mai/15 jun/15 jul/15
Spring Boot Maven Downloads
1.65M
1.47M
1.18M 1.31M
1.07M
Source: oss.sonatype.org
![Page 47: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/47.jpg)
47 © Copyright 2015 Pivotal. All rights reserved.
Você precisa de uma plataforma
Infrastructure
![Page 48: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/48.jpg)
48 © Copyright 2015 Pivotal. All rights reserved. 48 © Copyright 2013 Pivotal. All rights reserved.
D E M O
![Page 49: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/49.jpg)
49 © Copyright 2015 Pivotal. All rights reserved.
COMO? Vamos começar…
![Page 50: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/50.jpg)
50 © Copyright 2015 Pivotal. All rights reserved.
By Matt Stine (@mstine) By Josh Long (@starbuxman) and Kenny Bastani
Literatura
![Page 51: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/51.jpg)
51 © Copyright 2015 Pivotal. All rights reserved.
Build - http://start.spring.io
![Page 52: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/52.jpg)
52 © Copyright 2015 Pivotal. All rights reserved. 52
Fundamentos
![Page 53: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/53.jpg)
53 © Copyright 2015 Pivotal. All rights reserved.
Fundamentos
53
![Page 54: Cloud Native Enterprise](https://reader030.vdocuments.site/reader030/viewer/2022021507/58f1c1b81a28aba64f8b4585/html5/thumbnails/54.jpg)
Pivotal Confidential–Internal Use Only
A NEW PLATFORM FOR A NEW ERA