keynote aws roadshow porto alegre 2013

162
José Papo - @josepapo

Upload: amazon-web-services-latin-america

Post on 06-May-2015

1.746 views

Category:

Technology


1 download

DESCRIPTION

Keynote AWS RoadShow Porto Alegre 2013

TRANSCRIPT

Page 1: Keynote AWS RoadShow Porto Alegre 2013

José Papo - @josepapo

Page 2: Keynote AWS RoadShow Porto Alegre 2013

Thank you Sponsors!

Page 3: Keynote AWS RoadShow Porto Alegre 2013

The Roadshow

Key note - AWS e Parceiros AWS 14:00 - 15:30

Break

Key note - AWS e Parceiros AWS 16:00 -18:00

Page 4: Keynote AWS RoadShow Porto Alegre 2013

Apresentacoes e Videos

http://awshub.com.br

Pessoal

e totalmente transferivel

Page 5: Keynote AWS RoadShow Porto Alegre 2013

Vamos escrever juntos a historia do Cloud

Computing no Brasil

Page 6: Keynote AWS RoadShow Porto Alegre 2013

#awssummit

Page 7: Keynote AWS RoadShow Porto Alegre 2013

Resumo do Dia:

Benefícios da Nuvem da AWS

Casos de Uso da Nuvem AWS

(e demos!)

Arquiteturas de Software para o

Século XXI (e demos!)

Page 8: Keynote AWS RoadShow Porto Alegre 2013

Resumo do Dia:

Benefícios da Nuvem da AWS

Casos de Uso da Nuvem AWS

Arquiteturas de Software para o

Século XXI

Page 9: Keynote AWS RoadShow Porto Alegre 2013
Page 14: Keynote AWS RoadShow Porto Alegre 2013

A Nuvem é o alavancador das novas tendências tecnológicas

Page 15: Keynote AWS RoadShow Porto Alegre 2013

“Para sobreviver no mercado, empresas precisam continuamente realocar recursos de processos de manutenção para processos de inovação.”

Page 16: Keynote AWS RoadShow Porto Alegre 2013
Page 17: Keynote AWS RoadShow Porto Alegre 2013

“Cloud is like a fertilizer that creates Startups”

Eric Ries

Page 18: Keynote AWS RoadShow Porto Alegre 2013

“Amazon Web Services is probably the most

important thing that has happened to mobile

and web app developers that the press just

misses. Jeff Bezos has accidentally or maybe

on purpose powered a whole generation of

applications.” Steve Blank

Page 19: Keynote AWS RoadShow Porto Alegre 2013

Acelerando o boom das startups e novos devices

Page 20: Keynote AWS RoadShow Porto Alegre 2013

Otimizando as Grandes Corporações

Page 21: Keynote AWS RoadShow Porto Alegre 2013

Dezenas de Milhares de Clientes na América Latina

Page 22: Keynote AWS RoadShow Porto Alegre 2013

Amazon S3: Mais de 2 Trilhões de Objetos

1.1M requisições/seg

no pico

Page 23: Keynote AWS RoadShow Porto Alegre 2013

Amazon Elastic MapReduce: Clusters criados pelos clientes

5.5 M clusters desde Maio de 2010

Page 24: Keynote AWS RoadShow Porto Alegre 2013

2012

159 2011

82

2010

61 2009

48

2008

24

2007

9 Amazon FPS

Red Hat EC2

SimpleDB

CloudFront

EBS

Availability Zones

Elastic IPs

Relational Database Service

Virtual Private Cloud

Elastic Map Reduce

Auto Scaling

Reserved Instances

Elastic Load Balancer Simple Notification Service

Route 53

RDS Multi-AZ

Singapore Region

Identity Access Management

Elastic Beanstalk

Simple Email Service

CloudFormation

RDS for Oracle

ElastiCache

DynamoDB

Simple Workflow

CloudSearch

Storage Gateway

Route 53 Latency Based Routing

Mais de 125 anúncios já feitos em 2013

Page 25: Keynote AWS RoadShow Porto Alegre 2013

Inovação Técnica rápida

e orientada aos clientes

Jul 28, 2013

Anunciando Amazon SNS for Mobile Push

– 1 milhão de notificações gratuitas por

mês e $1,00 para cada milhão adicional

Mar 11, 2013

Anunciando AWS Elastic Beanstalk para

Node.js

Feb 18, 2013

Anunciando AWS OpsWorks

Jan 28, 2013

Anunciando Amazon Elastic Transcoder

“Queria muito enviar notificações

push para apps móveis de forma

simples e barata”

“Seria tão bom se no Beanstalk eu

pudesse usar Node.js!”

“É difícil gerenciar minhas Chef recipes”

“Seria bom se a AWS deixasse o

processo de Transcoding mais fácil”

Page 26: Keynote AWS RoadShow Porto Alegre 2013

Samsung reduziu drasticamente seus custos com a AWS

Economizou $34 Milhões 85% de economia versus modelo tradicional

Page 27: Keynote AWS RoadShow Porto Alegre 2013

Desperdício

Clientes

Insatisfeitos

Demanda Atual

Demanda Prevista

Tradicional Cloud

Demanda atual

AWS

Redução de Custos via Elasticidade

Page 28: Keynote AWS RoadShow Porto Alegre 2013

Redução de Custos via preços baixos

Escala nos permite reduzir

preços continuamente

Estamos acostumados a trabalhar

em um negócio de altos volumes e

baixas margens

Nós sempre passamos

nossas economias de escala

a nossos clientes

37

Reduções de

preços

Page 29: Keynote AWS RoadShow Porto Alegre 2013

Somos obcecados em ajudar nossos clientes a economizar

Page 30: Keynote AWS RoadShow Porto Alegre 2013

Shell usa a AWS para aumentar significativamente sua agilidade

Time Remoto

Time Interno

Recursos Extras

Time de Outsourcing

Page 31: Keynote AWS RoadShow Porto Alegre 2013

Aumentando a agilidade, a TI deixa de ser vista como…

Page 32: Keynote AWS RoadShow Porto Alegre 2013

E passa a ser vista como tendo…

Page 33: Keynote AWS RoadShow Porto Alegre 2013

Nasdaq usa AWS para criar um novo serviço para hedge funds

Page 34: Keynote AWS RoadShow Porto Alegre 2013

Inovação: Experimentação Rápida com Custo e Risco Baixo

On-Premises

Menos Experimentos

Falhar é caro

Menos Inovação

Experimenta mais

Falha rápido com custo baixo

Mais Inovação

$ Milhões Centenas

ou Milhares

Page 35: Keynote AWS RoadShow Porto Alegre 2013

Gartner Magic Quadrant for Cloud Infrastructure as a Service (August 19, 2013)

Gartner “Magic Quadrant for Cloud Infrastructure as a Service,” Lydia Leong, Douglas Toombs, Bob Gill, Gregor Petri, Tiny Haynes, August 19, 2013. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report.. The Gartner report is available upon request from Steven Armstrong ([email protected]). Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.

Page 36: Keynote AWS RoadShow Porto Alegre 2013

Resumo do Dia:

Benefícios da Nuvem da AWS

Casos de Uso da Nuvem AWS

Arquiteturas de Software para o

Século XXI

Page 37: Keynote AWS RoadShow Porto Alegre 2013

Big Data

Page 38: Keynote AWS RoadShow Porto Alegre 2013

Analysis of Data Can Transform Society

Create new business

models and improve

organizational

processes.

Enhance scientific

understanding, drive

innovation, and

accelerate medical cures.

Increase public safety

and improve

energy efficiency with

smart grids.

Page 39: Keynote AWS RoadShow Porto Alegre 2013

Democratizing Analytics gets Value out of Big Data

Unlock Value in

Silicon

Support Open

Platforms

Deliver Software Value

Page 40: Keynote AWS RoadShow Porto Alegre 2013

Intel at the Intersection of Big Data

Enabling exascale computing on massive data

sets

Helping enterprises build open

interoperable clouds

Contributing code and fostering ecosystem

HPC Cloud Open Source

Page 41: Keynote AWS RoadShow Porto Alegre 2013

Intel at the Heart of the Cloud

Server

Storage

Network

Page 42: Keynote AWS RoadShow Porto Alegre 2013

Reinventing Supercomputing

On Demand

Page 43: Keynote AWS RoadShow Porto Alegre 2013

Scale-Out Platform Optimizations for Big Data

Cost-effective performance

•Intel® Advanced Vector Extension Technology

•Intel® Turbo Boost Technology 2.0

•Intel® Advanced Encryption Standard New

Instructions Technology

Page 44: Keynote AWS RoadShow Porto Alegre 2013

Power of the Platform built by Intel

Richer

user

experiences

4HRS

50% Reduction

10MIN

80% Reduction 50%

Reduction 40% Reduction

TeraSort for

1TB sort

Intel®

Xeon®

Processor

E5 2600

Solid-State

Drive 10G

Ethernet Intel® Apache

Hadoop

Previous

Intel®

Xeon®

Processor

Page 45: Keynote AWS RoadShow Porto Alegre 2013

Cloud

Intelligent Systems

Clients

Virtuous Cycle of Data-Driven Experience

Page 46: Keynote AWS RoadShow Porto Alegre 2013

BIG DATA

ANALYTICS

ON AWS

franco vieira

Page 47: Keynote AWS RoadShow Porto Alegre 2013

LET’S TALK

ABOUT DATA

Page 48: Keynote AWS RoadShow Porto Alegre 2013

Data-Obese,

Digital-Fast

Page 49: Keynote AWS RoadShow Porto Alegre 2013

DATA SUPPLY CHAIN

Page 50: Keynote AWS RoadShow Porto Alegre 2013

BIG

Page 51: Keynote AWS RoadShow Porto Alegre 2013

The data is too big, moves

too fast, or doesn’t fit the

strictures of your database

architectures

Page 52: Keynote AWS RoadShow Porto Alegre 2013

27 TB per day Large Hadron Collider – CERN

Page 53: Keynote AWS RoadShow Porto Alegre 2013
Page 54: Keynote AWS RoadShow Porto Alegre 2013
Page 55: Keynote AWS RoadShow Porto Alegre 2013

LET’S TALK

ABOUT TOOLS

Page 56: Keynote AWS RoadShow Porto Alegre 2013

Generation

Collection & storage

Analytics & computation

Collaboration & sharing

Page 57: Keynote AWS RoadShow Porto Alegre 2013

Generation

Collection & storage

Analytics & computation

Collaboration & sharing

EC2 & S3,

CloudFormation,

Elastic MapReduce,

RDS, DynamoDB, Redshift

EC2,

Elastic MapReduce &

Redshift

S3, Glacier,

Storage Gateway,

DynamoDB,

Redshift, RDS,

HBase AWS Data Pipeline

Page 58: Keynote AWS RoadShow Porto Alegre 2013

AMAZON EMR HADOOP + AWS

Page 59: Keynote AWS RoadShow Porto Alegre 2013

What is EMR?

Map-Reduce engine Integrated with tools

Hadoop-as-a-service

Massively parallel

Cost effective AWS wrapper

Integrated to AWS services

Page 60: Keynote AWS RoadShow Porto Alegre 2013

2 million+ Hadoop clusters last year

Page 61: Keynote AWS RoadShow Porto Alegre 2013

Amazon EMR is the #1 Enterprise Hadoop Solution

AWS is “the most prominent Hadoop cloud service provider” and “leads the pack (of Leaders) due to its proven, feature-rich Elastic MapReduce service…”

-The Forrester Wave™: Enterprise Hadoop Solutions Q1 2012

Page 62: Keynote AWS RoadShow Porto Alegre 2013

LET’S TAKE A DIP

Page 63: Keynote AWS RoadShow Porto Alegre 2013

HADOOP

HDFS

Page 64: Keynote AWS RoadShow Porto Alegre 2013
Page 65: Keynote AWS RoadShow Porto Alegre 2013

HIVE

Page 66: Keynote AWS RoadShow Porto Alegre 2013

AWS Elastic MapReduce

Page 67: Keynote AWS RoadShow Porto Alegre 2013

EMR cluster Start an EMR cluster using console or cli tools

Page 68: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Master instance group created that controls the cluster

Page 69: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Core instance group

Core instance group created for life of cluster

Page 70: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Core instance group

HDFS HDFS

Core instances run DataNode and TaskTracker daemons

Page 71: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Task instance group Core instance group

HDFS HDFS

Optional task instances can be added or subtracted to perform work

Page 72: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Task instance group Core instance group

HDFS HDFS

Amazon S3

S3 can be used as underlying ‘file system’ for input/output data

Page 73: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Task instance group Core instance group

HDFS HDFS

Amazon S3

Master node coordinates distribution of work and manages cluster state

Page 74: Keynote AWS RoadShow Porto Alegre 2013

Master instance group EMR cluster

Task instance group Core instance group

HDFS HDFS

Amazon S3

Core and Task instances read-write to S3

Page 75: Keynote AWS RoadShow Porto Alegre 2013

Working with EMR

Page 76: Keynote AWS RoadShow Porto Alegre 2013

THE BIGGER

THE BETTER

Page 77: Keynote AWS RoadShow Porto Alegre 2013

PETABYTES AND EVEN EXABYTES

GIGABYTES AND TERABYTES

MEGABYTES

KILOBYTES

Page 78: Keynote AWS RoadShow Porto Alegre 2013

Amazon Redshift

Page 79: Keynote AWS RoadShow Porto Alegre 2013

Design Objectives

A petabyte-scale data warehouse service that was…

Amazon Redshift

A Whole Lot Simpler

A Lot Cheaper

A Lot Faster

Page 80: Keynote AWS RoadShow Porto Alegre 2013

Redshift Dramatically Reduces I/O

• Direct-attached storage

• Large data block sizes

• Columnar storage

• Data compression

• Zone maps

Id Age State 123 20 CA 345 25 WA 678 40 FL

Row storage Column storage

Page 81: Keynote AWS RoadShow Porto Alegre 2013

Redshift Runs on Optimized Hardware

• Optimized for I/O intensive workloads

• HS1.8XL available on Amazon EC2

• Runs in HPC - fast network

• High disk density

HS1.8XL: 128GB RAM, 16 Cores, 24 Spindles, 16TB Storage, 2GB/sec scan rate

HS1.XL: 16GB RAM, 2 Cores, 3 Spindles, 2TB Storage Click to grow

…to 1.6PB

Page 82: Keynote AWS RoadShow Porto Alegre 2013

Redshift Parallelizes and Distributes Everything

Load

Query

Resize

Backup

Restore

10 GigE (HPC)

Ingestion Backup Restore

JDBC/ODBC

Page 83: Keynote AWS RoadShow Porto Alegre 2013

Resize your cluster while remaining online

New target provisioned in the background

Only charged for source cluster

Page 84: Keynote AWS RoadShow Porto Alegre 2013

Resize your cluster while remaining online

• Fully automated Data automatically redistributed

• Read only mode during resize

• Parallel node-to-node data copy

• Automatic DNS-based endpoint cut-over

• Only charged for one cluster

Page 85: Keynote AWS RoadShow Porto Alegre 2013

Amazon Redshift has security built-in

• SSL to secure data in transit

• Encryption to secure data at rest AES-256; hardware accelerated

All blocks on disks and in Amazon S3 encrypted

• No direct access to compute nodes

• Amazon VPC support

10 GigE (HPC)

Ingestion Backup Restore

Customer VPC

Internal VPC

JDBC/ODBC

Page 86: Keynote AWS RoadShow Porto Alegre 2013

Continuous Backup, Automated Recovery

• Replication within the cluster and backup to Amazon S3 to maintain multiple copies of data at all times

• Backups to Amazon S3 are continuous, automatic, and incremental

Designed for 99.999999999% durability

• Continuous monitoring and automated recovery from failures of drives and nodes

• Able to restore snapshots to any Availability Zone within a region

Page 87: Keynote AWS RoadShow Porto Alegre 2013

Redshift is Priced to Analyze All Your Data

$0.85 per hour for on-demand (2TB)

$999 per TB per year (3-yr reservation)

Page 88: Keynote AWS RoadShow Porto Alegre 2013

CASE STUDY

HAPYRUS

Page 89: Keynote AWS RoadShow Porto Alegre 2013
Page 90: Keynote AWS RoadShow Porto Alegre 2013

Data

TSV files, gzip compressed

Imp_log

1) 300GB / 300M record 2) 1.2TB / 1.2B record

date datetime

publisher_id integer

ad_campaign_id integer

bid_price real

country varchar(30)

attr1-4 varchar(255)

click_log

1) 1.4GB / 1.5M record 2) 5.6GB / 6M record

date datetime

publisher_id integer

ad_campaign_id integer

country varchar(30)

attr1-4 varchar(255)

1) for 1 month 2) for 4 months

ad_campaign

100MB / 100k record

publisher

10MB / 10k record

advertiser

10MB / 10k record

We use 5 tables to run a query which join tables and creates a report.

Page 91: Keynote AWS RoadShow Porto Alegre 2013

Sample Query

select

ac.ad_campaign_id as ad_campaign_id,

adv.advertiser_id as advertiser_id,

cs.spending as spending,

ims.imp_total as imp_total,

cs.click_total as click_total,

click_total/imp_total as CTR,

spending/click_total as CPC,

spending/(imp_total/1000) as CPM

from

ad_campaigns ac

join

advertisers adv

on (ac.advertiser_id = adv.advertiser_id)

join

(select

il.ad_campaign_id,

count(*) as imp_total

from

imp_logs il

group by

il.ad_campaign_id

) ims on (ims.ad_campaign_id = ac.ad_campaign_id)

join

(select

cl.ad_campaign_id,

sum(cl.bid_price) as spending,

count(*) as click_total

from

click_logs cl

group by

cl.ad_campaign_id

) cs on (cs.ad_campaign_id = ac.ad_campaign_id);

The query generates a basic report for ad campaigns performance, imp, click numbers, advertiser spending, CTR, CPC and CPM.

Page 92: Keynote AWS RoadShow Porto Alegre 2013

1. Query Speed

• Redshift takes 155 seconds to complete our query for 1.2TB

• Hadoop takes 1491 seconds to complete our query for 1.2TB

• Redshift is about 10 times faster than Hadoop for this query

Here, we are comparing Hadoop and Redshift servers of the same cost. (Hadoop: c1.xlarge vs Redshift: dw.hs1.xlarge).

0

500

1000

1500

2000

300GB 1.2TBPro

cess

ing

Tim

e (

seco

nd

s)

Data Size

Query Speed

Redshift

672sec

38sec 155sec

1491sec

* The query used can be referenced in our Appendix

Page 93: Keynote AWS RoadShow Porto Alegre 2013

2. Total Cost

• Redshift costs $20 per month to run queries every 30 minutes

• Hadoop costs $210 per month to run queries every 30 minutes

• Redshift is about 10 times cheaper than Hadoop to run this job

Here, we are comparing Hadoop and Redshift servers running the same query for the same duration of time.

$0

$50

$100

$150

$200

$250

$300

$350

$400

0 50 100 150 200 250

Co

st P

er

Day

(U

S$)

Query Per Day

Cost Per Day (query for 300GB data size)

RedshiftHadoop

Page 94: Keynote AWS RoadShow Porto Alegre 2013

Redshift Query Result

Data Size Instance Type Number of

Instances Trial

Processing

Time Average

Server Cost Per

Day

300GB dw.hs1.xlarge 1

1 58s

38s $20.40

2 43s

3 31s

4 30s

5 30s

1.2TB dw.hs1.xlarge 1

1 164s

155s $20.40

2 149s

3 158s

4 156s

5 150s

Page 95: Keynote AWS RoadShow Porto Alegre 2013

Hadoop Query Result

Data Size Instance Type Instance

Number

Processing

Time

Server Cost Per

Day

300GB

c1.xlarge 1 1h 23m 2s $0.80

c1.medium 10 37m 48s $0.89

c1.xlarge 10 11m 12s $1.06

1.2TB

m1.xlarge 1 6h 43m 24s $3.22

c1.medium 4 5h 14m 0s $3.04

c1.xlarge 10 37m 7s $3.58

c1.xlarge 20 24m 51s $4.64

Page 96: Keynote AWS RoadShow Porto Alegre 2013

Elastic MapReduce

and/or

Redshift

Page 97: Keynote AWS RoadShow Porto Alegre 2013

• Used by analysts and data scientists to explore raw data before some, all, or none of it is added to the data warehouse

• Structured OR Unstructured Data

EMR for Exploratory Analytics

analytic sandbox

All data fed into EMR data store

EMR

Exploratory Analytic Environment

Page 98: Keynote AWS RoadShow Porto Alegre 2013

Structured Data and Redshift

reporting warehouse

RDS (Relational)

Data Pipeline

Redshift

OLTP ERP

Reporting and BI

S3

Page 99: Keynote AWS RoadShow Porto Alegre 2013

Structured Data and Redshift

live archive

DynamoDB (NoSQL)

Redshift

OLTP Web Apps

Reporting and BI

Data Pipeline

Page 100: Keynote AWS RoadShow Porto Alegre 2013

Unstructured Data and Redshift

transform and enrich

S3 S3 EMR

Redshift

logs / files

Data Pipeline

Reporting and BI

exploratory analytics

Page 101: Keynote AWS RoadShow Porto Alegre 2013

AWS Big Data Overview

Redshift

CRM

ERP

Billing

OLTP

Web Apps

Business Apps

Reporting and BI

Dashboarding

Ad Hoc Analysis

RDS

DynamoDB

S3

EBS

EMR

Data Pipeline

Page 102: Keynote AWS RoadShow Porto Alegre 2013

Obtenha 600 Horas Gratuitas

de Tempo de Supercomputação!

Passe no Stand da

Intel para obter as 600

horas de computação

www.powerof60.com

Page 103: Keynote AWS RoadShow Porto Alegre 2013

Segurança

Page 104: Keynote AWS RoadShow Porto Alegre 2013

Construída com altos padrões de segurança

Infraestrutura de Segurança AWS

SOC 1/SSAE 16/ISAE 3402, ISO 27001, PCI DSS, HIPAA, ITAR,

FISMA Moderate, FIPS 140-2, FedRAMP

Suas Apps

Page 105: Keynote AWS RoadShow Porto Alegre 2013

Infraestrutura Global US West

(Northern

California)

US East (Northern

Virginia)

EU (Ireland)

Asia

Pacific (Singapore)

Asia

Pacific (Tokyo)

Regiões AWS

Pontos Edge AWS

GovCloud (US ITAR

Region)

US West (Oregon)

South

America (Sao Paulo)

Asia

Pacific (Australia)

Page 106: Keynote AWS RoadShow Porto Alegre 2013

Regiões da AWS e Zonas de Disponibilidade

Cliente pode decidir onde suas aplicações e dados residem

Page 107: Keynote AWS RoadShow Porto Alegre 2013
Page 108: Keynote AWS RoadShow Porto Alegre 2013

Amazon VPC

Região AWS

Subrede pública

Subrede privada

Data Center

Matriz

Zona de Disponibilidade 1

Zona de disponibilidade 2

Subsidiárias

VPN Gateway Gateway

Internet Gateway

Amazon S3 Amazon SimpleDB Amazon SES Amazon SQS “Nuvem Privada não precisa ser dentro de casa” - Gartner

10G

Arquitetura Híbrida com a AWS

Link Dedicado

Page 109: Keynote AWS RoadShow Porto Alegre 2013

Aberta, flexível e suportada pelos principais fornecedores Sistemas Operacionais Linguagens e Bibliotecas Aplicações Certificadas

Page 110: Keynote AWS RoadShow Porto Alegre 2013

Android iOS Java nodeJS .NET PHP Python Ruby

Rico conjunto de APIs e kits de dev para as principais linguagens e plataformas

E ferramentas e plugins integrados ao seu ambiente de desenvolvimento

Eclipse Visual Studio CLI Powershell

Suporte a muitas linguagens e ferramentas

Page 111: Keynote AWS RoadShow Porto Alegre 2013

Aplicações Corporativas

Page 112: Keynote AWS RoadShow Porto Alegre 2013
Page 113: Keynote AWS RoadShow Porto Alegre 2013

Economia com SAP na Nuvem da AWS de até 69%

May 2012 “TCO Study for SAP on Amazon Web Services”

Page 114: Keynote AWS RoadShow Porto Alegre 2013

Economia com SAP na Nuvem da AWS de até 69%

May 2012 “TCO Study for SAP on Amazon Web Services”

Page 115: Keynote AWS RoadShow Porto Alegre 2013

Resumo do Dia:

Benefícios da Nuvem da AWS

Casos de Uso da Nuvem AWS

Arquiteturas de Software para o

Século XXI (e demos!)

Page 116: Keynote AWS RoadShow Porto Alegre 2013

Com AWS, cresça de um servidor

Page 117: Keynote AWS RoadShow Porto Alegre 2013

…para milhares

Totalmente automatizado!

Page 118: Keynote AWS RoadShow Porto Alegre 2013

Além de escalabilidade nos servidores você pode

Adicionar bilhões de objetos com o Amazon S3

Selecionar a performance desejada nos bancos de

dados

Processar e analisar petabytes de dados facilmente

Page 119: Keynote AWS RoadShow Porto Alegre 2013

‘Cost Aware Architecture’

…ao utilizar: Reduza Custo de

Compute

1. S3/CloudFront para Otimização de conteúdo estático

2. Load Balancing e Auto-Scaling desde o início

Storage 4. Armazenar objetos derivados no S3 ‘Reduced

Redundancy’ e usar Glacier sempre que possível

Banco de Dados 5. Read Replicas e/ou ElastiCache para performance

e redução de custos dos bancos de dados

Dev & Test 6. Ambientes Dev/Test/CI criados/desligados sob demanda

3. Modelos de Preços On-Demand, Reservado e Spot

7. A/B Testing e Testes de Carga mais baratos

Page 120: Keynote AWS RoadShow Porto Alegre 2013

O que isso significa em termos de custos?

Um Exemplo

Mês

Instancias EC2 Medium 1 $ 121

CloudFront Data Transfer Out 1Tb $ 168

Requisições CloudFront $1.89

TOTAL $ 291

Mês

Instancias EC2 Medium 4 $ 485

AWS Data Transfer Out 1Tb $ 194

TOTAL $ 679

Arquitetura Usual Arquitetura Otimizada

Custo 57% menor - Até 6 x mais rápido

Page 121: Keynote AWS RoadShow Porto Alegre 2013

• A uMov.me S/A é uma empresa focada exclusivamente em mobilidade e fornece a melhor e mais completa solução para o mercado corporativo.

• Com mais de 10 mil usuários, mais de uma centena de empresas clientes, milhões de operações de campo e mais de 50 parceiros no Brasil e em outros 5 países, em 2013 a uMov.me passou a ter a TOTVS VENTURES como parceira, através de investimentos da TOTVS Ventures.

“Alcançamos mais estabilidade e confiança. Agora

temos escalabilidade na ponta dos dedos”.

“Encontramos na AWS o parceiro ideal para

suportar nossas necessidades de infraestrutura” - Daniel Wildt

Page 122: Keynote AWS RoadShow Porto Alegre 2013

O Desafio

• Estabilidade;

• Qualidade no suporte;

• Desempenho de banco de dados;

• Limitações de recursos de infraestrutura;

Page 123: Keynote AWS RoadShow Porto Alegre 2013

PARAGRAFO RESUMO CASO _ KEY WORDS

de BENEFICIO, DESAFIO VENCIDO –

RESUMO DO CASO EM UM PARAGRAFO

Para quedas

Responder a falhas

Esteja Preparado …

Page 124: Keynote AWS RoadShow Porto Alegre 2013

PARAGRAFO RESUMO CASO _ KEY WORDS

de BENEFICIO, DESAFIO VENCIDO –

RESUMO DO CASO EM UM PARAGRAFO

Mudanças …

Adaptações ...

Esteja Preparado …

Page 125: Keynote AWS RoadShow Porto Alegre 2013

PARAGRAFO RESUMO CASO _ KEY WORDS

de BENEFICIO, DESAFIO VENCIDO –

RESUMO DO CASO EM UM PARAGRAFO

Para crescer do dia para noite;

Esteja Preparado …

Page 126: Keynote AWS RoadShow Porto Alegre 2013

PARAGRAFO RESUMO CASO _ KEY WORDS

de BENEFICIO, DESAFIO VENCIDO –

RESUMO DO CASO EM UM PARAGRAFO

# Erros … próprios e dos outros!

… mas garanta que eles não se repitam!!!!!

# PDCL

… Plan - Do - Check - Learn

Aprenda … CONTINUAMENTE

Page 127: Keynote AWS RoadShow Porto Alegre 2013

PARAGRAFO RESUMO CASO _ KEY WORDS

de BENEFICIO, DESAFIO VENCIDO –

RESUMO DO CASO EM UM PARAGRAFO

# DevOps :-)

# Automação

# Monitoramento

Cultura ...

Page 128: Keynote AWS RoadShow Porto Alegre 2013
Page 129: Keynote AWS RoadShow Porto Alegre 2013
Page 130: Keynote AWS RoadShow Porto Alegre 2013
Page 131: Keynote AWS RoadShow Porto Alegre 2013

Volume de Storage no S3

Page 132: Keynote AWS RoadShow Porto Alegre 2013

Números de Horas de Servidores EC2

Page 133: Keynote AWS RoadShow Porto Alegre 2013

Fevereiro de 2013

48,7 milhões de usuários

Levantou $338M de capital

Valuation de $2.5B

Page 134: Keynote AWS RoadShow Porto Alegre 2013

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 135: Keynote AWS RoadShow Porto Alegre 2013

Servidores de Aplicação Python

150 instancias EC2 High-CPU

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 136: Keynote AWS RoadShow Porto Alegre 2013

Web Services em Python

35 instancias EC2 High-CPU

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 137: Keynote AWS RoadShow Porto Alegre 2013

Caches Memcache e Redis

90 instancias EC2 High-Memory

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 138: Keynote AWS RoadShow Porto Alegre 2013

Servidores de Bancos de Dados MySQL

70 Pares Master/Slave

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 139: Keynote AWS RoadShow Porto Alegre 2013

Srorage no Amazon S3

8 Bilhões de Objetos • 410 Terabytes

Web Application

Servers

Sharded Database

Cache Servers Internal

Web Services

File Storage

Page 140: Keynote AWS RoadShow Porto Alegre 2013

Serviços Auxiliares

60 Instancias EC2

Development

Logging

Operational Tools

Asynchronous

Task Workers Search

Data Analysis

Elastic MapReduce Continuous Integration

Page 141: Keynote AWS RoadShow Porto Alegre 2013

• Maior parte do tráfego acontece à tarde e no início da noite, portanto reduzem o número

de servidores durante a madrugada em 40%.

• No pico gastam $52 por hora com EC2 e à noite, for a do pico, o gasto é de $15 por hora.

Economias de até 71%

Page 142: Keynote AWS RoadShow Porto Alegre 2013

Ambientes Dev / Test

Page 143: Keynote AWS RoadShow Porto Alegre 2013

Versão de Homologação

Page 144: Keynote AWS RoadShow Porto Alegre 2013

Versão Beta / MVP

Page 145: Keynote AWS RoadShow Porto Alegre 2013

Arquitetura de

Produção 1.0

1 2

3

Page 146: Keynote AWS RoadShow Porto Alegre 2013

Arquitetura de

Produção 2.0

Page 147: Keynote AWS RoadShow Porto Alegre 2013

Arquitetura de

Produção 3.0

Page 148: Keynote AWS RoadShow Porto Alegre 2013

Arquitetura de

Produção 4.0

Page 149: Keynote AWS RoadShow Porto Alegre 2013

"Startups are all about focus. AWS enables focus" Ray Bradford, Kleiner Perkins, Caulfield & Byers

Page 150: Keynote AWS RoadShow Porto Alegre 2013

Sua aplicação

Seu negócio e seu diferencial competitivo

Inovação, não gestão de hardware / data centers / software

Investir tempo dos profissionais de TI no que importa

Automatizar o máximo que puder

(Insight profundo: Tempo do Profissional de TI = Muito Dinheiro!)

Automação = Foco!

Page 151: Keynote AWS RoadShow Porto Alegre 2013

…cresceu para 14 milhões de usuários em menos de um ano

…chegou a 150 milhões de fotos e terabytes de dados

…1 milhão de usuários em 12 horas após lançar versão Android

…mais de 100 milhões de usuários ativos em Janeiro de 2013

na Nuvem da AWS… com 3 engenheiros

Page 152: Keynote AWS RoadShow Porto Alegre 2013

Automação

Total

Controle

Total

Elastic

Beanstalk

CloudFormation

“Só quero minha

aplicação funcionando,

com acesso a servidores

só se necessário”

“Eu quero colocar no

controle de versões

toda a definição do meu

data center”

Construa Aplicações, Não Infraestrutura

AWS

OpsWorks

“Quero usar o Chef com

simplicidade e

orquestração de recipes”

Page 153: Keynote AWS RoadShow Porto Alegre 2013

EC2 EBS

RDS ELB

Upload de sua aplicação Beanstalk faz deploy Você ainda tem controle

Elastic Beanstalk

Page 154: Keynote AWS RoadShow Porto Alegre 2013

Não construa seu próprio…

1. Disparador de Emails

2. Fila de Mensagens

3. Notificações

4. Transcoding

5. Busca

6. Monitoração

7. Gestão de Workflow

…Use serviços prontos quando possível

…mas use como serviço

Amazon Simple Email Service

Amazon Simple Queuing Service

Amazon Simple Notification Service

Amazon Elastic Transcoder

Amazon CloudSearch

Amazon CloudWatch

Amazon Simple Work Flow

Page 155: Keynote AWS RoadShow Porto Alegre 2013

DEMOS!!!

Page 156: Keynote AWS RoadShow Porto Alegre 2013

White Papers

Page 157: Keynote AWS RoadShow Porto Alegre 2013

Gartner “Magic Quadrant for Cloud Infrastructure a Service,” Lydia Leong, Douglas Toombs, Bob Gill, Gregor Petri, Tiny Hayn, October 18, 2012. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report.. The Gartner report is available upon request from Steven Armstrong ([email protected]). Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.

AWS é considerada a líder em Cloud IaaS segundo o Gartner

Page 158: Keynote AWS RoadShow Porto Alegre 2013

4X Mais Confiável e até 1/4 do Custo de Infra Tradicional

http://media.amazonwebservices.com/idc_aws_business_value_report_2012.pdf

Page 159: Keynote AWS RoadShow Porto Alegre 2013

Storage custa menos na Nuvem que dentro de casa

Page 160: Keynote AWS RoadShow Porto Alegre 2013

Relembrando:

Benefícios da Nuvem da AWS

Casos de Uso da Nuvem AWS

Arquiteturas de Software para o

Século XXI

Page 161: Keynote AWS RoadShow Porto Alegre 2013
Page 162: Keynote AWS RoadShow Porto Alegre 2013

OBRIGADO! awshub.com.br

slideshare.net/AmazonWebServicesLATAM

José Papo

AWS Tech Evangelist

@josepapo