© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS FINANCIAL MANAGEMENT
How cost management can enable your startup
to continue to be agile & innovate
ARTHUR BASBAUM <basbauma@amazon.com>
AWS CLOUD ECONOMICS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Filosofia Preços da AWS:
reduzindo barreiras de entrada e o custo da falha
Não é necessário
investimento
inicial
Pague apenas
pelo uso
Pague menos
quando reservar
capacidade
Pague menos à
medida que
AWS inova
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Startups after getting
Activate Credits
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Eng.
Tenho que
reduzir os
meus custos,
me ajuda!
1. Gerar valor adicional
para o negócio
2. Liberar budget para
fazer mais
3. Cresci muito rápido /
budget-who?
Finance/VC
Não tem uma
opção mais
barata?
Qual valor a
nuvem está
trazendo?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Startup that is AWS
cost optimized
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Porque isso acontece?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Good intentions never work, you need
good mechanisms to make anything
happen
Jeffrey P. Bezos
Founder and Chief Executive Officer
Amazon.com, Inc.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Escolha tamanho
adequado para
instâncias
Maximizar
elasticidade
Escolha o
melhor modelo
preço
Otimizar ambiente
armazenamento
Medir e Controlar
Os 5 Pilares de Otimização de Custos na AWS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Right Sizing
• Selecione a instância com menor custo disponível que
atenda a necessidade da sua aplicação
• Acompanhe o consumo de CPU, RAM, Disco e Rede
para identificar instâncias que podem ser redimensionadas
• Utilize as métricas do CloudWatch e instale os plugins
para acompanhar consumo de RAM
Defina o tamanho adequado instâncias
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
New t3 instances
• New version of general purpose burstable instances
• T3s are more cost efficient than previous gen
t2 vs t3
• Comes with Unlimited enabled by default
• T3 nano, micro and small now comes with 2 VCPUs (previous t2 gen came with only 1)
• Prices, on average 10% lower for Linux and 8% for Windows
• Performance, new processor Intel® Xeon® Scalable + AWS Nitro System
• Faster rate for CPU credits earned per hour
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Exemplo: Right Sizing
Analise o consumo de CPU, RAM, MEM e Disco das suas maiores máquinas
m4.2xlarge Linux Virginia
8 VCPU 32 RAM
$0.40/hr
m4.large Linux Virginia
2 VCPU 8 RAM
$0.10/hr
75% economia
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ferramentas disponíveis para Right Sizing
Cost Optimization:
EC2 Right Sizing
https://aws.amazon.com/answers/account-
management/cost-optimization-ec2-right-sizing/
AWS Trusted Advisor
Disponível com suporte Business e Enterprise
Netflix Janitor Monkey
Open source, otimiza o ambiente removendo
recursos sem utilização
https://medium.com/netflix-techblog/janitor-monkey-
keeping-the-cloud-tidy-and-clean-d517ad74d648
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deixe seu ambiente mais elástico
No modelo tradicional de TI o cliente é obrigado a ajustar a sua capacidade com base na
sua necessidade dos próximos 3-5 anos
AWS permite que você ajuste a sua necessidade com a sua demanda atual
Desligue instâncias não-prod
• Identifique ambientes dev/test, não-prod
e desligue-os quando não há utilização
Utilize o AutoScaling
• Combine automaticamente capacidade
com a demanda real do deu negócio
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
~65% da horas de um mês correspondem a
noites e finais de semana
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ferramentas para Elasticidade
EC2 Instance Scheduler
Opção semi-automática
https://aws.amazon.com/answers/infrastructur
e-management/ec2-scheduler/
Lambda Start-Stop
Opção faça você mesmo
https://aws.amazon.com/premiumsupport/kno
wledge-center/start-stop-lambda-cloudwatch/
SkySaver (Skyone)
Solução 3P totalmente gerenciada
Guide to Autoscaling
Ajuste demanda e capacidade através do Autoscaling
https://aws.amazon.com/documentation/autoscaling/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modelos de Preço AWS
On Demand (OD)
Demanda instável, ainda
desconhecida
Pague apenas pelo o
que você precisa
Pague por segundo sem
compromisso
Instâncias Reservadas
(RI)
Demanda estável, uso
previsível
Até 75% vs OD
Faça um compromisso de 1 ou 3
anos e receba um desconto
significativo
Spot
Demanda flexível,
stateless
Aprox. 90% vs OD
Capacidade ociosa, baixo
custo e sem compromisso
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 On-Demand
Curto prazo,
imprevisível
Baixo custo e
flexível
Desenvolvimento e
testes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Instâncias Reservadas (RI)
Desconto de até 75%
vs On Demand
Recomendado para
aplicações que estão
sempre ligadas
1 ano (payback 7-9 meses)
3 anos (payback 10-18 meses)
Modelos de pagamento: No Upfront, Partial Upfront y All Upfront
Serviços compatíveis: Amazon EC2, RDS, Redshift, ElastiCache, DynamoDB & CloudFront
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Maximizando Instâncias Reservadas (RI)
Reserva de capacidade
opcional
Defina RI por Zona de
Disponibilidade ou
Regional
Apenas sa-east-1c ou
sa-east-1
Convertible RIs
Mude a família, SO, tamanho,
tenancy & o tipo de pagamento
Afinidade contas AWS
RIs são automaticamente
compartilhadas entre contas
consolidadas
Prod A Prod B
Dev Test
Caso Prod A não
esteja utilizando a
reserva, Prod B
receberá o desconto
Família (m4 para m5)
Tamanho (xlarge para large)
SO (WIndows para Linux)
Tenancy (shared para dedicated)
Pagamento (No Upfront para All Upfront)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 RI - Flexibilidade de Tamanho
Instancias reservadas Linux, regionais e com tenancy shared terão
seus descontos aplicados automaticamente entre todos os tamanhos
da família reservada, dentro da mesma região
Ou seja, 1x m4.xlarge pode também representar na fatura:
2x m4.large
½ m4.2xlarge
…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Quais instâncias reservar? Cost Explorer
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use Cost Explorer para acompanhar utilização RI
maior utilização == maior economia ;)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Spot
Capacidade ociosa de EC2 que a AWS pode interromper após uma notificação
de 2 minutos
Baixo Custo Fácil Acesso Flexibilidade de
Tamanho/Tipo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Nos últimos 3 meses, 95% das interrupções de Spot
foram causadas por clientes que manualmente decidiram
terminar suas as instâncias
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Acesso simplificado
Utilize APIs existentes,
como EC2 RunInstances
Set & Forget
Preços baixos e previsíveis
sem leilão
Pause & Resume
Hibernation and stop-start
Spot Fleet: Defina quanto de capacidade você precisa e o Spot Fleet fará o resto
Spot: Últimos lançamentos
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Novo modelo de preços Spot
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AZ1
AZ2
Capacidade Total região São Paulo
P2 C5 M5 I2 R4 D2
Shared
Dedicated
Shared
Dedicated
Cada família de instância, cada tamanho de instância, em cada zona de
disponibilidade e em cada região é um Spot Pool independente
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Em média, os clientes da AWS utilizam uma maior
capacidade de instâncias Spot por semana do que a
capacidade total do Amazon EC2 em 2012
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Spot Instances Use Cases
Big data
Containers &
test/dev
HPC & batch
Stateless web
services
FINRA has saved up to 50%
from its on-premises
solution, increased
elasticity/scalability, and
accelerated reprocessing
requests from months to
days with EC2 Spot
Instances
Yelp runs millions of tests
every day with EC2 Spot
Instances. Yelp improved
test result response time
from 2 days to 30 minutes
and has also delivered a
large reduction in execution
costs with Spot.
TLG Aerospace saw a 75%
reduction in the cost per
CFD simulation with
Amazon EC2 Spot Instances.
They were able to pass
those savings along to their
customers and be more
competitive.
AdRoll have been able to
seamlessly scale their
infrastructure, better serve
customers across the globe,
and reduce our fixed costs
by 75% and operational
costs by 83%.with AWS
solution, including EC2 Spot
Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Padrões de Otimização
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Enterprises
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pesquisa e Desenvolvimento
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Startups
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Finance/VC
Previsibilidade
Transparência
Reportes (aka excel)
Olá, lembra
de mim? ;)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Previsibilidade: Monte sua lógica de forecast
Por que?
• Financeiros não gostam de surpresas
• Essencial para saúde financeira da sua
empresa
Como fazer?
• Utilize o Cost Explorer para estudar o seu padrão
de gasto (serviço, sazonalidades, etc)
• Revise-o semanalmente, use o AWS Budgets
• Estabeleça metas: 5% variação
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Transparência: tenha um ambiente tageado
Por que?
• Transparência de gastos
• Alocação interna para o time correto
Como fazer?
• Definir tags estratégicas: centro de custo, owner,
ambiente, etc
• Configurar tags estratégicas como mandatórias
• Automatizar
Owner =
Admin
Env =
Test
App =
website
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reportes: Defina métricas para a sua organização
Relacionadas a AWS
% Instâncias desligadas
% horas EC2 cobertos por RIs
% horas utilizadas das RIs
$ Economizado
$ Recursos não tageados
# Recursos subutilizados
Relacionadas ao seu negócio
$ por Usuário ou Transação
$ por Impressão ou Click
$ por Aplicação ou Unidade de negócio
$ por Faturamento
$ por Desenvolvedor
# horas por $ investido
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customers need a partnership between Engineering and
Finance for commercial success
Engineering FinanceFinOps
Bitter Better Data Insight
Don’t show me spend,
show me % against budget
Build trust,
I have an expectation of spend
and I’m tracking against it
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
In all successful cases, the journey started with establishing
better Commercial Visibility
Good Commercial Visibility is about getting to insight fast (when required)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
If you want something to happen, you need to
make it easy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://www.youtube.com/watch?v=iOWNZqG0RN4
The power of partnership between finance & IT
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Parceiros que podem te ajudar nessa jornada
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
é um dos sites mais visitados do Brasil
Mais 50 negociações
por minuto
Mais de 2 PT de
dados trafegados
por mês
¼ das vendas são
realizadas em menos
de 24 horas
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Ownership Culture
• Criação de Políticas e Guidelines - tags
everywhere
• Automação da governança (cloud-custodian)
• Dashboard de Custos por Time/Produto
• Utilização de RI’s e Spot (SpotInst)
• Aproximação AWS Enterprise Support
• Políticas de lifecycle nos buckets S3 (S-
IA/Expiration)
• Right Sizing, Dev Env mais elástico
• Remover EBS órfãos
Redução de custos de +30%
(até agora!)
Maior estabilidade
Time TI 20% mais produtivo
na AWS comparado com
OnPrem
Saíram de 1-2 deploy por
semana para vários por dia
Lições aprendidas
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thanks!
Have more questions?
AWS Startup Team <aws-startups-latam@amazon.com>
Have questions about Cost Management at AWS?
Arthur Basbaum <basbauma@amazon.com>

AWS Financial Management

  • 1.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. AWS FINANCIAL MANAGEMENT How cost management can enable your startup to continue to be agile & innovate ARTHUR BASBAUM <basbauma@amazon.com> AWS CLOUD ECONOMICS
  • 2.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Filosofia Preços da AWS: reduzindo barreiras de entrada e o custo da falha Não é necessário investimento inicial Pague apenas pelo uso Pague menos quando reservar capacidade Pague menos à medida que AWS inova
  • 3.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Startups after getting Activate Credits
  • 4.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Cloud Eng. Tenho que reduzir os meus custos, me ajuda! 1. Gerar valor adicional para o negócio 2. Liberar budget para fazer mais 3. Cresci muito rápido / budget-who? Finance/VC Não tem uma opção mais barata? Qual valor a nuvem está trazendo?
  • 5.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Startup that is AWS cost optimized
  • 6.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Porque isso acontece?
  • 7.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Good intentions never work, you need good mechanisms to make anything happen Jeffrey P. Bezos Founder and Chief Executive Officer Amazon.com, Inc.
  • 8.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Escolha tamanho adequado para instâncias Maximizar elasticidade Escolha o melhor modelo preço Otimizar ambiente armazenamento Medir e Controlar Os 5 Pilares de Otimização de Custos na AWS
  • 9.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Right Sizing • Selecione a instância com menor custo disponível que atenda a necessidade da sua aplicação • Acompanhe o consumo de CPU, RAM, Disco e Rede para identificar instâncias que podem ser redimensionadas • Utilize as métricas do CloudWatch e instale os plugins para acompanhar consumo de RAM Defina o tamanho adequado instâncias
  • 10.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. New t3 instances • New version of general purpose burstable instances • T3s are more cost efficient than previous gen t2 vs t3 • Comes with Unlimited enabled by default • T3 nano, micro and small now comes with 2 VCPUs (previous t2 gen came with only 1) • Prices, on average 10% lower for Linux and 8% for Windows • Performance, new processor Intel® Xeon® Scalable + AWS Nitro System • Faster rate for CPU credits earned per hour
  • 11.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Exemplo: Right Sizing Analise o consumo de CPU, RAM, MEM e Disco das suas maiores máquinas m4.2xlarge Linux Virginia 8 VCPU 32 RAM $0.40/hr m4.large Linux Virginia 2 VCPU 8 RAM $0.10/hr 75% economia
  • 12.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ferramentas disponíveis para Right Sizing Cost Optimization: EC2 Right Sizing https://aws.amazon.com/answers/account- management/cost-optimization-ec2-right-sizing/ AWS Trusted Advisor Disponível com suporte Business e Enterprise Netflix Janitor Monkey Open source, otimiza o ambiente removendo recursos sem utilização https://medium.com/netflix-techblog/janitor-monkey- keeping-the-cloud-tidy-and-clean-d517ad74d648
  • 13.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deixe seu ambiente mais elástico No modelo tradicional de TI o cliente é obrigado a ajustar a sua capacidade com base na sua necessidade dos próximos 3-5 anos AWS permite que você ajuste a sua necessidade com a sua demanda atual Desligue instâncias não-prod • Identifique ambientes dev/test, não-prod e desligue-os quando não há utilização Utilize o AutoScaling • Combine automaticamente capacidade com a demanda real do deu negócio
  • 14.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. ~65% da horas de um mês correspondem a noites e finais de semana
  • 15.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ferramentas para Elasticidade EC2 Instance Scheduler Opção semi-automática https://aws.amazon.com/answers/infrastructur e-management/ec2-scheduler/ Lambda Start-Stop Opção faça você mesmo https://aws.amazon.com/premiumsupport/kno wledge-center/start-stop-lambda-cloudwatch/ SkySaver (Skyone) Solução 3P totalmente gerenciada Guide to Autoscaling Ajuste demanda e capacidade através do Autoscaling https://aws.amazon.com/documentation/autoscaling/
  • 16.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Modelos de Preço AWS On Demand (OD) Demanda instável, ainda desconhecida Pague apenas pelo o que você precisa Pague por segundo sem compromisso Instâncias Reservadas (RI) Demanda estável, uso previsível Até 75% vs OD Faça um compromisso de 1 ou 3 anos e receba um desconto significativo Spot Demanda flexível, stateless Aprox. 90% vs OD Capacidade ociosa, baixo custo e sem compromisso
  • 17.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 On-Demand Curto prazo, imprevisível Baixo custo e flexível Desenvolvimento e testes
  • 18.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Instâncias Reservadas (RI) Desconto de até 75% vs On Demand Recomendado para aplicações que estão sempre ligadas 1 ano (payback 7-9 meses) 3 anos (payback 10-18 meses) Modelos de pagamento: No Upfront, Partial Upfront y All Upfront Serviços compatíveis: Amazon EC2, RDS, Redshift, ElastiCache, DynamoDB & CloudFront
  • 19.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Maximizando Instâncias Reservadas (RI) Reserva de capacidade opcional Defina RI por Zona de Disponibilidade ou Regional Apenas sa-east-1c ou sa-east-1 Convertible RIs Mude a família, SO, tamanho, tenancy & o tipo de pagamento Afinidade contas AWS RIs são automaticamente compartilhadas entre contas consolidadas Prod A Prod B Dev Test Caso Prod A não esteja utilizando a reserva, Prod B receberá o desconto Família (m4 para m5) Tamanho (xlarge para large) SO (WIndows para Linux) Tenancy (shared para dedicated) Pagamento (No Upfront para All Upfront)
  • 20.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. EC2 RI - Flexibilidade de Tamanho Instancias reservadas Linux, regionais e com tenancy shared terão seus descontos aplicados automaticamente entre todos os tamanhos da família reservada, dentro da mesma região Ou seja, 1x m4.xlarge pode também representar na fatura: 2x m4.large ½ m4.2xlarge …
  • 21.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Quais instâncias reservar? Cost Explorer
  • 22.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use Cost Explorer para acompanhar utilização RI maior utilização == maior economia ;)
  • 23.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Spot Capacidade ociosa de EC2 que a AWS pode interromper após uma notificação de 2 minutos Baixo Custo Fácil Acesso Flexibilidade de Tamanho/Tipo
  • 24.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Nos últimos 3 meses, 95% das interrupções de Spot foram causadas por clientes que manualmente decidiram terminar suas as instâncias
  • 25.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Acesso simplificado Utilize APIs existentes, como EC2 RunInstances Set & Forget Preços baixos e previsíveis sem leilão Pause & Resume Hibernation and stop-start Spot Fleet: Defina quanto de capacidade você precisa e o Spot Fleet fará o resto Spot: Últimos lançamentos
  • 26.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Novo modelo de preços Spot
  • 27.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AZ1 AZ2 Capacidade Total região São Paulo P2 C5 M5 I2 R4 D2 Shared Dedicated Shared Dedicated Cada família de instância, cada tamanho de instância, em cada zona de disponibilidade e em cada região é um Spot Pool independente
  • 28.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Em média, os clientes da AWS utilizam uma maior capacidade de instâncias Spot por semana do que a capacidade total do Amazon EC2 em 2012
  • 29.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Spot Instances Use Cases Big data Containers & test/dev HPC & batch Stateless web services FINRA has saved up to 50% from its on-premises solution, increased elasticity/scalability, and accelerated reprocessing requests from months to days with EC2 Spot Instances Yelp runs millions of tests every day with EC2 Spot Instances. Yelp improved test result response time from 2 days to 30 minutes and has also delivered a large reduction in execution costs with Spot. TLG Aerospace saw a 75% reduction in the cost per CFD simulation with Amazon EC2 Spot Instances. They were able to pass those savings along to their customers and be more competitive. AdRoll have been able to seamlessly scale their infrastructure, better serve customers across the globe, and reduce our fixed costs by 75% and operational costs by 83%.with AWS solution, including EC2 Spot Instances
  • 30.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Padrões de Otimização
  • 31.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Enterprises
  • 32.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Pesquisa e Desenvolvimento
  • 33.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Startups
  • 34.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Finance/VC Previsibilidade Transparência Reportes (aka excel) Olá, lembra de mim? ;)
  • 35.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Previsibilidade: Monte sua lógica de forecast Por que? • Financeiros não gostam de surpresas • Essencial para saúde financeira da sua empresa Como fazer? • Utilize o Cost Explorer para estudar o seu padrão de gasto (serviço, sazonalidades, etc) • Revise-o semanalmente, use o AWS Budgets • Estabeleça metas: 5% variação
  • 36.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Transparência: tenha um ambiente tageado Por que? • Transparência de gastos • Alocação interna para o time correto Como fazer? • Definir tags estratégicas: centro de custo, owner, ambiente, etc • Configurar tags estratégicas como mandatórias • Automatizar Owner = Admin Env = Test App = website
  • 37.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reportes: Defina métricas para a sua organização Relacionadas a AWS % Instâncias desligadas % horas EC2 cobertos por RIs % horas utilizadas das RIs $ Economizado $ Recursos não tageados # Recursos subutilizados Relacionadas ao seu negócio $ por Usuário ou Transação $ por Impressão ou Click $ por Aplicação ou Unidade de negócio $ por Faturamento $ por Desenvolvedor # horas por $ investido
  • 38.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Customers need a partnership between Engineering and Finance for commercial success Engineering FinanceFinOps Bitter Better Data Insight Don’t show me spend, show me % against budget Build trust, I have an expectation of spend and I’m tracking against it
  • 39.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. In all successful cases, the journey started with establishing better Commercial Visibility Good Commercial Visibility is about getting to insight fast (when required)
  • 40.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. If you want something to happen, you need to make it easy
  • 41.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. https://www.youtube.com/watch?v=iOWNZqG0RN4 The power of partnership between finance & IT
  • 42.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Parceiros que podem te ajudar nessa jornada
  • 43.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. é um dos sites mais visitados do Brasil Mais 50 negociações por minuto Mais de 2 PT de dados trafegados por mês ¼ das vendas são realizadas em menos de 24 horas
  • 44.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. • Ownership Culture • Criação de Políticas e Guidelines - tags everywhere • Automação da governança (cloud-custodian) • Dashboard de Custos por Time/Produto • Utilização de RI’s e Spot (SpotInst) • Aproximação AWS Enterprise Support • Políticas de lifecycle nos buckets S3 (S- IA/Expiration) • Right Sizing, Dev Env mais elástico • Remover EBS órfãos Redução de custos de +30% (até agora!) Maior estabilidade Time TI 20% mais produtivo na AWS comparado com OnPrem Saíram de 1-2 deploy por semana para vários por dia Lições aprendidas
  • 45.
    © 2018, AmazonWeb Services, Inc. or its Affiliates. All rights reserved. Thanks! Have more questions? AWS Startup Team <aws-startups-latam@amazon.com> Have questions about Cost Management at AWS? Arthur Basbaum <basbauma@amazon.com>