SlideShare uma empresa Scribd logo
1 de 58
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Arthur Basbaum | basbauma@amazon.com
AWS Business Development Manager
Cloud Economics & Cost Optimization
MXO207
Optimizing Costs as You Scale on
AWS
logrando más, gastando menos
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Optimización de costos
En lugar de pagar…
por lo que USA
pague…
por lo que NECESITA
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
cómo asegurarse de que solo pague
por lo que necesita?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
En esta sesión presentaremos…
Un Framework de Optimización de Costos en
AWS enfocado en pagar solo por lo que necesitas
Acciones inmediatas para ejecutar e
implementar en su organización en los próximos
días
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Well Architect Framework
Desempeño
Garantizar que la aplicación tendrá el
máximo desempeño y escalabilidad
Optimización Costos
Dimensionar el ambiente con menor
costo posible considerando demandas
variables
Confiabilidad
Proactivamente evitar fallas y recuperar
rápidamente cuando algún error ocurra
Seguridad
Proteger la información, revisando
definiciones de políticas y mejores
practicas
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Innovar con optimización de costos
==
Seguir experimentando la
plataforma sin impacto en los
costos actuales
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Los 5 pilares de Optimización de Costos
Maximizar
elasticidad
Elegir el mejor
modelo precio
Optimizar
almacenamiento
Medir y Monitorear
Elegir el tamaño
adecuado para
instancias
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1º defina el tamaño mas adecuado para las
instancias
Right sizing
• Seleccione la instancia de menor costo disponible
capaz de atender la necesidad de su aplicación
• Acompañe el consumo de CPU, RAM, Disco y Red para
identificar instancias que pueden ser redimensionadas
• Utilice las métricas de CloudWatch e instale plugins para
monitorear el consumo de RAM
• Considere instancias t2/t2 Unlimited (burstable)
c4.large (2 VCPU 3.7 Gb RAM) - $0.1/hr
t2.medium (2 VCPU 4 Gb RAM), 4h 48min burst - $0.046/hr
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ejemplo: Right Sizing
1º: Analice el consumo de CPU, RAM, Disco y Red de sus mayores maquinas
m4.2xlarge Linux Virginia
8 VCPU 32 RAM
$0.40/hr
m4.large Linux Virginia
2 VCPU 8 RAM
$0.10/hr
75% ahorro
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Herramientas para Right Sizing
Cost Optimization:
EC2 Right Sizing
https://aws.amazon.com/answers/account-
management/cost-optimization-ec2-right-sizing/
AWS Trusted Advisor
Comes with Business and Enterprise support
Netflix Janitor Monkey
Open source, cleans environment removing
unused resources
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.
En la TI tradicional tienes que ajustar su necesidad con base en la demanda
máxima de los próximos 3-5 años
AWS le permite ajustar su necesidad con la demanda actual
2º deje su ambiente mas elástico
Enfoquese en sus workloads, no sus servidores
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
~65% de las horas del mes son
noches y fines de semana
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Herramientas para Elasticidad
EC2 Instance Scheduler
Opción semi-administrada
https://aws.amazon.com/answers/infrastructure-
management/ec2-scheduler/
Lambda Start-Stop Guide
Opción DIY
https://aws.amazon.com/premiumsupport/knowle
dge-center/start-stop-lambda-cloudwatch/
GorillaStack
Solución 3P totalmente administrada
Guide to Autoscaling
Ajuste demanda y capacidad a través de Autoscaling
https://aws.amazon.com/documentation/autoscaling/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3º pilar:
Elegir el mejor modelo de
precios para su aplicación
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
No es necesario
inversión inicial
Pay as you go
Pague menos
cuando reserva la
capacidad
Pague menos
cuando AWS
crezca
Filosofía de Precios AWS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modelos de Precio AWS
On Demand (OD) Spot
Spiky workloads, to define
needs
Pay only for what you
use
Fault-tolerant, flexible,
stateless workloads
Approx. 90% vs OD
Instancias Reservadas
(RI)
Committed, steady-state
usage
Up 75% vs OD
Pague por capacidad de computo
por segundo sin compromiso
Haga un compromiso de 1 o 3 años
y reciba un descuento significativo
Utilice capacidad de computo
ociosa sin compromiso
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 On-Demand
Corto plazo, spiky o
impredecible
Bajo costo y flexible
Desarrollo y
pruebas
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Instancias Reservadas (RI)
Descuento hasta de
75% vs On Demand
Recomendado para
aplicaciones que están
siempre encendidas
Plazos:
1 año (payback 7-9 meses)
3 años (payback 10-18 meses)
Modelo pago: No Upfront, Partial Upfront y All Upfront
Servicios compatibles: Amazon EC2, RDS, Redshift, ElastiCache, DynamoDB & CloudFront
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Maximizando el uso de las Instancias
Reservadas (RI)
Reserva de capacidad
opcional
puedes elegir si quieres la
RI por Zona de
Disponibilidad o Regional
Solo sa-east-1c o
sa-east-1
RIs Convertibles
Cambie la familia, SO, tamaño,
tenancy & el modelo de pago
Familia (ex: m4 para m5)
Tamaño (ex: xlarge para large)
Sistema Operativo (ex: WIndows para Linux)
Tenancy (ex: shared para dedicated)
Pagamento (ex: No Upfront para All Upfront)
Afinidad Cuentas AWS
RIs son compartidas
automáticamente entre sus
cuentas consolidadas
Prod A Prod B
Dev Test
Caso la cuenta Prod A
no esté utilizando su
reserva, Prod B
recibirá el descuento
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 RI - Flexibilidad de Tamaño
Las instancias reservadas Linux, regionales y con tenancy shared
tendrán los descuentos aplicados automáticamente entre todos los
tamaños de la familia reservada dentro de la misma región
O sea, 1x m4.xlarge puedes tener su descuento también aplicado:
2x m4.large
½ m4.2xlarge
…
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cuáles instancias reservar? Utilice el Cost
Explorer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Utilice el Cost Explorer para acompañar la utilización de
las RIs
mayor utilización == mayor ahorro ;)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Bajo Costo Resultados más
rápidos
Fácil acceso
Flexibilidad de
Recursos
Capacidad ociosa de EC2 que AWS lo puede retirar con 2 minutos de aviso
Amazon EC2 Spot
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
En promedio, los clientes de AWS están utilizando
una mayor capacidad en las instancias Amazon
EC2 Spot en una semana que la capacidad total
de Amazon EC2 en 2012
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instancias Spot: Capacidad ociosa en escala
globalDisponibilidad global y compatible con la mayoría de los tipos y tamaños de
instancias
1 AZ
=
1 Spot Pool
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Acceso simplificado
Utilice las llamadas EC2
API existentes como
RunInstances
Defina y olvide precio
Precios bajos y previsibles
sin subasta
Pause & Resume
Hibernation y stop-start
Spot Fleet: Defina cuanta capacidad necesita y Spot Fleet hace todo el resto
Últimos lanzamientos: Instancias Spot
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Spot: Casos de Uso
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.
Patrones de optimización
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Patrones por workload
Data science
New app development Test and development
Internal IT
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Mobile ad startup
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Onboarding Enterprise
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scientific Research
Introducing Amazon EC2 Fleet
Benefits
Simplifies provisioning of EC2 capacity across different instance types, AZs, and purchase models with a single
API
Reduce Costs
Combine Spot, On-Demand and RIs
to run workloads at the lowest
possible cost
Increase Operational Efficiency
Provision compute capacity across
purchase options, instance types
and AZs with a single API
Key Features
Flexible Capacity Allocation
Select an instance allocation strategy that
works for your app and scale in App-aware
units (vCPU, GB RAM etc.)
Massive Scale
Launch 1000’s of instances with a single
API call & scale to 1000s of cores, TBs of
memory etc.
Simplified Provisioning
Select instances, assign weights, specify
target capacity for On-Demand and Spot
Instances, and build a fleet within seconds
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
4º pilar:
Eligiendo la clase de
almacenamiento mas eficiente
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Categorías de Almacenamiento en Amazon S3
Uso Frecuente Archivo MuertoAcceso Ocasional
S3 Standard
Caliente
S3 Standard - Infrequent
Access
Tibio
Amazon Glacier
Frío
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Utilice el S3 Analytics para sugerencias de Lifecycle con
base en el patrón de acceso de sus objetos
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
5º pilar:
Medir y monitorear (regularmente)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automatización
1. Identificar recursos encendidos 24/7
2. Identificar instancias para downsize
3. Identificar objetos con poco acceso
4. Recomendar Instancias Reservadas
5. Dashboards de Control
6. Reportar lo que fue ahorrado
Soluciones Nativas AWS
Tags
Identifique recursos para obtener una visión mas clara de su cuenta
Ejemplo de tags: centro de costo, aplicación, usuario y fecha expiración
Alertas de Budget
Defina budgets y controle el consumo, reciba alertas
Trabaje proactivamente con los alertas para evitar sorpresas al final del mes
Trusted Advisor
Su consultor personal para la nube, identifica recursos idle y con baja utilización
Tenga la costumbre de checarlo regularmente con el equipo de infraestructura
Cost Explorer
Visualice su consumo por región, AWSID, servicio y tag - monitoreo consumo de RIs
Arme reportes semanales y compártalos en la organización automáticamente
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Defina métricas y dueños en su organización
AWS Related
% Instances turned off
% EC2 hours covered by RIs
% RI utilized hours
$ Saved due to optimization
$ Untagged resources
# Idle resources
Business Related
$ per User or Transaction
$ per Print or Click
$ per Application or Business Unit
$ per Revenue Generated
$ per Developer
# hours per $ invested
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Opción 1: Hágalo usted mismo ;)
Apr	4 Apr	9 Apr	14 Apr	19 Apr	24 Apr	29
Hour of Usage St art Dat e [April 2017]
0
2,..
4,..
6,..
Instance Type Count per Hour
Type: On Demand, Reserved Instance and Spot
RDS
S3
EC2
Breakdown by Product
Spending by AWS Service
AWSIDs
Cost
Unt ag.. $255K
$1,162K
61
99%
0% 1%
Cost per Region
68%
10%
6%
3%
0%
0% 6%
Cost per OS
24%
RI Coverage
13%
Elasticity
$181K
RI Savings
99%
RI Usage (hrs)
52
# EC2 Idle Period
4/1/2017	00	00	00	to	6/..
MELI acount s
All
Product Name
Amazon	Elastic	Comp..
Amazon	ElastiCache
Amazon	RDS	Service
Amazon	Redshift
Purchase Type
On	Demand
Reserved	Instances
Spot
Region
South	America
US	East
US	W est
OS
Aurora
Cache
Linux
MariaDB	LI
MySQL
Oracle	EE	(BYOL)
Oracle	Std	LI
PostgreSQL
Redshift
RH EL
SQL	Server	Std	LI
SUSE
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Opción 2: Utilice una solución de mercado
Enable teams to architect for costs
Incentivization through positive
reinforcement (raises bar), visual
feedback, gamification, etc.
Chargeback of costs to users
resulting in business teams caring
about operational efficiency
Removal of optimization
process barriers
$
Cloud best practice
on-boarding / training program
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
En resumen…
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Los 5 pilares de Optimización de Costos
Maximizar
elasticidad
Elegir el mejor
modelo precio
Optimizar
almacenamiento
Medir y Monitorear
Elegir el tamaño
adecuado para
instancias
Administración de costos no significa
reducción de la cuenta, pero si la
generación de valor
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gracias
Arthur Basbaum | basbauma@amazon.com
AWS Business Development Manager
Cloud Economics & Cost Optimization
Traditional IT Finance & Procurement is suited
to large infrequent purchases
A wild large
purchase
appears!
Finance &
Procurement
Wizards
Engineering
Engineering is kicking goals!
Procurement is in a new and unfamiliar world
Management notices & starts asking questions
How do we get to here?
How has cost management evolved over time
at Atlassian?
ToolsProcessesPeople
People & Processes
a) Initially each team looked after their
own spend/budget
b) Formed a new team
(Cloud Engineering)
c) CE works with Finance & Procurement
d) CE works with Engineering leads
How has cost management evolved over time
at Atlassian?
a) Initially no tooling
b) Implemented basic tooling
c) Grew to need SaaS tooling
d) Building out in house toolsTools
How has cost management evolved over time
at Atlassian?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges of Cost
• Decision: Engineer
• Approval: Finance/Management
• Cycle Time: Long (3/5yr)
• Familiarity: High / Entrenched
Old Model
• Decision: Engineer
• Approval: None/Engineer
• Cycle Time: Short (days/months)
• Familiarity: Low / Novel
New Model
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recommended Approach
• Short, Fast Cycles of Cost Management
• Bi-weekly/monthly
• Include all Stakeholders
• Make decisions then and there
• Look for High Spend & High Return
• Focus on a Subset
• Top 10’s

Mais conteúdo relacionado

Mais procurados

Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Amazon Web Services
 
Introduction To Cloud Computing
Introduction To Cloud ComputingIntroduction To Cloud Computing
Introduction To Cloud ComputingLiming Liu
 
Introduction au Cloud Computing
Introduction au Cloud ComputingIntroduction au Cloud Computing
Introduction au Cloud ComputingMarc Rousselet
 
Jeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud ComputingJeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud Computingdeimos
 
Ce qu'il faut savoir sur le Cloud Computing
Ce qu'il faut savoir sur le Cloud ComputingCe qu'il faut savoir sur le Cloud Computing
Ce qu'il faut savoir sur le Cloud ComputingMedinsoft
 
Cloud Computing and AWS services.pptx
Cloud Computing and AWS services.pptxCloud Computing and AWS services.pptx
Cloud Computing and AWS services.pptxVaibhav Kumar Singh
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateAmazon Web Services
 
AWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - SlidesAWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - SlidesTobyWilman
 
Cloud computing security
Cloud computing security Cloud computing security
Cloud computing security Akhila Param
 
AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019Amazon Web Services
 

Mais procurados (20)

Introduction to Microsoft Azure 101
Introduction to Microsoft Azure 101Introduction to Microsoft Azure 101
Introduction to Microsoft Azure 101
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
 
Introduction To Cloud Computing
Introduction To Cloud ComputingIntroduction To Cloud Computing
Introduction To Cloud Computing
 
Introduction au Cloud Computing
Introduction au Cloud ComputingIntroduction au Cloud Computing
Introduction au Cloud Computing
 
Introducing AWS Fargate
Introducing AWS FargateIntroducing AWS Fargate
Introducing AWS Fargate
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Jeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud ComputingJeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud Computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Ce qu'il faut savoir sur le Cloud Computing
Ce qu'il faut savoir sur le Cloud ComputingCe qu'il faut savoir sur le Cloud Computing
Ce qu'il faut savoir sur le Cloud Computing
 
Cloud Computing and AWS services.pptx
Cloud Computing and AWS services.pptxCloud Computing and AWS services.pptx
Cloud Computing and AWS services.pptx
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
 
Basics of Cloud Computing
Basics of Cloud ComputingBasics of Cloud Computing
Basics of Cloud Computing
 
Aws
AwsAws
Aws
 
AWS Storage Options
AWS Storage OptionsAWS Storage Options
AWS Storage Options
 
AWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - SlidesAWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - Slides
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud computing security
Cloud computing security Cloud computing security
Cloud computing security
 
AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019
 
Fundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWSFundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWS
 

Semelhante a Optimizar los costos a medida que mejora en AWS - MXO207 - Mexico City Summit

Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Amazon Web Services
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWSAWS User Group Bengaluru
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAmazon Web Services
 
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitAmazon Web Services
 
Cost optimisation as a by-product of awesome practice and agility at Trainline
Cost optimisation as a by-product of awesome practice and agility at TrainlineCost optimisation as a by-product of awesome practice and agility at Trainline
Cost optimisation as a by-product of awesome practice and agility at TrainlineAmazon Web Services
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and ProfitAmazon Web Services
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Amazon Web Services
 
Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Amazon Web Services
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSVladimir Simek
 
Spending Less On AWS_AWSPSSummit_Singapore
Spending Less On AWS_AWSPSSummit_SingaporeSpending Less On AWS_AWSPSSummit_Singapore
Spending Less On AWS_AWSPSSummit_SingaporeAmazon Web Services
 
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWS
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWSAWS reInvent 2017 recap - Optimizing Costs as You Scale on AWS
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWSAmazon Web Services
 
AWS Commercial Management and Cost Optimisation - Dec 2017
AWS Commercial Management and Cost Optimisation - Dec 2017AWS Commercial Management and Cost Optimisation - Dec 2017
AWS Commercial Management and Cost Optimisation - Dec 2017Amazon Web Services
 
AWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAmazon Web Services
 
Aws intro to cloud_economics
Aws intro to cloud_economicsAws intro to cloud_economics
Aws intro to cloud_economicsjtaylor707
 
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Amazon Web Services
 
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAmazon Web Services
 
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Amazon Web Services
 
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS SummitOptimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS SummitAmazon Web Services
 

Semelhante a Optimizar los costos a medida que mejora en AWS - MXO207 - Mexico City Summit (20)

Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
Better, Faster, Cheaper – Cost Optimizing Compute with Amazon EC2 Fleet #savi...
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWS
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
 
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
 
Cost optimisation as a by-product of awesome practice and agility at Trainline
Cost optimisation as a by-product of awesome practice and agility at TrainlineCost optimisation as a by-product of awesome practice and agility at Trainline
Cost optimisation as a by-product of awesome practice and agility at Trainline
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and Profit
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
 
Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit Optimize Amazon EC2 for Fun and Profit
Optimize Amazon EC2 for Fun and Profit
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
 
Spending Less On AWS_AWSPSSummit_Singapore
Spending Less On AWS_AWSPSSummit_SingaporeSpending Less On AWS_AWSPSSummit_Singapore
Spending Less On AWS_AWSPSSummit_Singapore
 
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWS
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWSAWS reInvent 2017 recap - Optimizing Costs as You Scale on AWS
AWS reInvent 2017 recap - Optimizing Costs as You Scale on AWS
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS Commercial Management and Cost Optimisation - Dec 2017
AWS Commercial Management and Cost Optimisation - Dec 2017AWS Commercial Management and Cost Optimisation - Dec 2017
AWS Commercial Management and Cost Optimisation - Dec 2017
 
AWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices Webinar
 
Aws intro to cloud_economics
Aws intro to cloud_economicsAws intro to cloud_economics
Aws intro to cloud_economics
 
AWS Cost Optimisation Solutions
AWS Cost Optimisation SolutionsAWS Cost Optimisation Solutions
AWS Cost Optimisation Solutions
 
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
 
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at ScaleAWS Enterprise Summit Netherlands - Cost Optimisation at Scale
AWS Enterprise Summit Netherlands - Cost Optimisation at Scale
 
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
 
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS SummitOptimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Optimizar los costos a medida que mejora en AWS - MXO207 - Mexico City Summit

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Arthur Basbaum | basbauma@amazon.com AWS Business Development Manager Cloud Economics & Cost Optimization MXO207 Optimizing Costs as You Scale on AWS logrando más, gastando menos
  • 2.
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Optimización de costos En lugar de pagar… por lo que USA pague… por lo que NECESITA
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. cómo asegurarse de que solo pague por lo que necesita?
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. En esta sesión presentaremos… Un Framework de Optimización de Costos en AWS enfocado en pagar solo por lo que necesitas Acciones inmediatas para ejecutar e implementar en su organización en los próximos días
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Well Architect Framework Desempeño Garantizar que la aplicación tendrá el máximo desempeño y escalabilidad Optimización Costos Dimensionar el ambiente con menor costo posible considerando demandas variables Confiabilidad Proactivamente evitar fallas y recuperar rápidamente cuando algún error ocurra Seguridad Proteger la información, revisando definiciones de políticas y mejores practicas
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Innovar con optimización de costos == Seguir experimentando la plataforma sin impacto en los costos actuales
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Los 5 pilares de Optimización de Costos Maximizar elasticidad Elegir el mejor modelo precio Optimizar almacenamiento Medir y Monitorear Elegir el tamaño adecuado para instancias
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1º defina el tamaño mas adecuado para las instancias Right sizing • Seleccione la instancia de menor costo disponible capaz de atender la necesidad de su aplicación • Acompañe el consumo de CPU, RAM, Disco y Red para identificar instancias que pueden ser redimensionadas • Utilice las métricas de CloudWatch e instale plugins para monitorear el consumo de RAM • Considere instancias t2/t2 Unlimited (burstable) c4.large (2 VCPU 3.7 Gb RAM) - $0.1/hr t2.medium (2 VCPU 4 Gb RAM), 4h 48min burst - $0.046/hr
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ejemplo: Right Sizing 1º: Analice el consumo de CPU, RAM, Disco y Red de sus mayores maquinas m4.2xlarge Linux Virginia 8 VCPU 32 RAM $0.40/hr m4.large Linux Virginia 2 VCPU 8 RAM $0.10/hr 75% ahorro
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Herramientas para Right Sizing Cost Optimization: EC2 Right Sizing https://aws.amazon.com/answers/account- management/cost-optimization-ec2-right-sizing/ AWS Trusted Advisor Comes with Business and Enterprise support Netflix Janitor Monkey Open source, cleans environment removing unused resources https://medium.com/netflix-techblog/janitor-monkey- keeping-the-cloud-tidy-and-clean-d517ad74d648
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. En la TI tradicional tienes que ajustar su necesidad con base en la demanda máxima de los próximos 3-5 años AWS le permite ajustar su necesidad con la demanda actual 2º deje su ambiente mas elástico Enfoquese en sus workloads, no sus servidores
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. ~65% de las horas del mes son noches y fines de semana
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Herramientas para Elasticidad EC2 Instance Scheduler Opción semi-administrada https://aws.amazon.com/answers/infrastructure- management/ec2-scheduler/ Lambda Start-Stop Guide Opción DIY https://aws.amazon.com/premiumsupport/knowle dge-center/start-stop-lambda-cloudwatch/ GorillaStack Solución 3P totalmente administrada Guide to Autoscaling Ajuste demanda y capacidad a través de Autoscaling https://aws.amazon.com/documentation/autoscaling/
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 3º pilar: Elegir el mejor modelo de precios para su aplicación
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. No es necesario inversión inicial Pay as you go Pague menos cuando reserva la capacidad Pague menos cuando AWS crezca Filosofía de Precios AWS
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Modelos de Precio AWS On Demand (OD) Spot Spiky workloads, to define needs Pay only for what you use Fault-tolerant, flexible, stateless workloads Approx. 90% vs OD Instancias Reservadas (RI) Committed, steady-state usage Up 75% vs OD Pague por capacidad de computo por segundo sin compromiso Haga un compromiso de 1 o 3 años y reciba un descuento significativo Utilice capacidad de computo ociosa sin compromiso
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 On-Demand Corto plazo, spiky o impredecible Bajo costo y flexible Desarrollo y pruebas
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Instancias Reservadas (RI) Descuento hasta de 75% vs On Demand Recomendado para aplicaciones que están siempre encendidas Plazos: 1 año (payback 7-9 meses) 3 años (payback 10-18 meses) Modelo pago: No Upfront, Partial Upfront y All Upfront Servicios compatibles: Amazon EC2, RDS, Redshift, ElastiCache, DynamoDB & CloudFront
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Maximizando el uso de las Instancias Reservadas (RI) Reserva de capacidad opcional puedes elegir si quieres la RI por Zona de Disponibilidad o Regional Solo sa-east-1c o sa-east-1 RIs Convertibles Cambie la familia, SO, tamaño, tenancy & el modelo de pago Familia (ex: m4 para m5) Tamaño (ex: xlarge para large) Sistema Operativo (ex: WIndows para Linux) Tenancy (ex: shared para dedicated) Pagamento (ex: No Upfront para All Upfront) Afinidad Cuentas AWS RIs son compartidas automáticamente entre sus cuentas consolidadas Prod A Prod B Dev Test Caso la cuenta Prod A no esté utilizando su reserva, Prod B recibirá el descuento
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. EC2 RI - Flexibilidad de Tamaño Las instancias reservadas Linux, regionales y con tenancy shared tendrán los descuentos aplicados automáticamente entre todos los tamaños de la familia reservada dentro de la misma región O sea, 1x m4.xlarge puedes tener su descuento también aplicado: 2x m4.large ½ m4.2xlarge …
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cuáles instancias reservar? Utilice el Cost Explorer
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Utilice el Cost Explorer para acompañar la utilización de las RIs mayor utilización == mayor ahorro ;)
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Bajo Costo Resultados más rápidos Fácil acceso Flexibilidad de Recursos Capacidad ociosa de EC2 que AWS lo puede retirar con 2 minutos de aviso Amazon EC2 Spot
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. En promedio, los clientes de AWS están utilizando una mayor capacidad en las instancias Amazon EC2 Spot en una semana que la capacidad total de Amazon EC2 en 2012
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instancias Spot: Capacidad ociosa en escala globalDisponibilidad global y compatible con la mayoría de los tipos y tamaños de instancias 1 AZ = 1 Spot Pool
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Acceso simplificado Utilice las llamadas EC2 API existentes como RunInstances Defina y olvide precio Precios bajos y previsibles sin subasta Pause & Resume Hibernation y stop-start Spot Fleet: Defina cuanta capacidad necesita y Spot Fleet hace todo el resto Últimos lanzamientos: Instancias Spot
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Spot: Casos de Uso 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
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Patrones de optimización
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Patrones por workload Data science New app development Test and development Internal IT
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Mobile ad startup
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Onboarding Enterprise
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scientific Research
  • 34. Introducing Amazon EC2 Fleet Benefits Simplifies provisioning of EC2 capacity across different instance types, AZs, and purchase models with a single API Reduce Costs Combine Spot, On-Demand and RIs to run workloads at the lowest possible cost Increase Operational Efficiency Provision compute capacity across purchase options, instance types and AZs with a single API Key Features Flexible Capacity Allocation Select an instance allocation strategy that works for your app and scale in App-aware units (vCPU, GB RAM etc.) Massive Scale Launch 1000’s of instances with a single API call & scale to 1000s of cores, TBs of memory etc. Simplified Provisioning Select instances, assign weights, specify target capacity for On-Demand and Spot Instances, and build a fleet within seconds
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 4º pilar: Eligiendo la clase de almacenamiento mas eficiente
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Categorías de Almacenamiento en Amazon S3 Uso Frecuente Archivo MuertoAcceso Ocasional S3 Standard Caliente S3 Standard - Infrequent Access Tibio Amazon Glacier Frío
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Utilice el S3 Analytics para sugerencias de Lifecycle con base en el patrón de acceso de sus objetos
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 5º pilar: Medir y monitorear (regularmente)
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automatización 1. Identificar recursos encendidos 24/7 2. Identificar instancias para downsize 3. Identificar objetos con poco acceso 4. Recomendar Instancias Reservadas 5. Dashboards de Control 6. Reportar lo que fue ahorrado
  • 40. Soluciones Nativas AWS Tags Identifique recursos para obtener una visión mas clara de su cuenta Ejemplo de tags: centro de costo, aplicación, usuario y fecha expiración Alertas de Budget Defina budgets y controle el consumo, reciba alertas Trabaje proactivamente con los alertas para evitar sorpresas al final del mes Trusted Advisor Su consultor personal para la nube, identifica recursos idle y con baja utilización Tenga la costumbre de checarlo regularmente con el equipo de infraestructura Cost Explorer Visualice su consumo por región, AWSID, servicio y tag - monitoreo consumo de RIs Arme reportes semanales y compártalos en la organización automáticamente
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Defina métricas y dueños en su organización AWS Related % Instances turned off % EC2 hours covered by RIs % RI utilized hours $ Saved due to optimization $ Untagged resources # Idle resources Business Related $ per User or Transaction $ per Print or Click $ per Application or Business Unit $ per Revenue Generated $ per Developer # hours per $ invested
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Opción 1: Hágalo usted mismo ;) Apr 4 Apr 9 Apr 14 Apr 19 Apr 24 Apr 29 Hour of Usage St art Dat e [April 2017] 0 2,.. 4,.. 6,.. Instance Type Count per Hour Type: On Demand, Reserved Instance and Spot RDS S3 EC2 Breakdown by Product Spending by AWS Service AWSIDs Cost Unt ag.. $255K $1,162K 61 99% 0% 1% Cost per Region 68% 10% 6% 3% 0% 0% 6% Cost per OS 24% RI Coverage 13% Elasticity $181K RI Savings 99% RI Usage (hrs) 52 # EC2 Idle Period 4/1/2017 00 00 00 to 6/.. MELI acount s All Product Name Amazon Elastic Comp.. Amazon ElastiCache Amazon RDS Service Amazon Redshift Purchase Type On Demand Reserved Instances Spot Region South America US East US W est OS Aurora Cache Linux MariaDB LI MySQL Oracle EE (BYOL) Oracle Std LI PostgreSQL Redshift RH EL SQL Server Std LI SUSE
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Opción 2: Utilice una solución de mercado
  • 44. Enable teams to architect for costs Incentivization through positive reinforcement (raises bar), visual feedback, gamification, etc. Chargeback of costs to users resulting in business teams caring about operational efficiency Removal of optimization process barriers $ Cloud best practice on-boarding / training program
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. En resumen…
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Los 5 pilares de Optimización de Costos Maximizar elasticidad Elegir el mejor modelo precio Optimizar almacenamiento Medir y Monitorear Elegir el tamaño adecuado para instancias
  • 47. Administración de costos no significa reducción de la cuenta, pero si la generación de valor
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Gracias Arthur Basbaum | basbauma@amazon.com AWS Business Development Manager Cloud Economics & Cost Optimization
  • 49. Traditional IT Finance & Procurement is suited to large infrequent purchases A wild large purchase appears! Finance & Procurement Wizards Engineering
  • 51. Procurement is in a new and unfamiliar world
  • 52. Management notices & starts asking questions
  • 53. How do we get to here?
  • 54. How has cost management evolved over time at Atlassian? ToolsProcessesPeople
  • 55. People & Processes a) Initially each team looked after their own spend/budget b) Formed a new team (Cloud Engineering) c) CE works with Finance & Procurement d) CE works with Engineering leads How has cost management evolved over time at Atlassian?
  • 56. a) Initially no tooling b) Implemented basic tooling c) Grew to need SaaS tooling d) Building out in house toolsTools How has cost management evolved over time at Atlassian?
  • 57. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenges of Cost • Decision: Engineer • Approval: Finance/Management • Cycle Time: Long (3/5yr) • Familiarity: High / Entrenched Old Model • Decision: Engineer • Approval: None/Engineer • Cycle Time: Short (days/months) • Familiarity: Low / Novel New Model
  • 58. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recommended Approach • Short, Fast Cycles of Cost Management • Bi-weekly/monthly • Include all Stakeholders • Make decisions then and there • Look for High Spend & High Return • Focus on a Subset • Top 10’s