Professional Documents
Culture Documents
AWS Partner Cast - AWS Compute Services
AWS Partner Cast - AWS Compute Services
An Introduction to Compute
Services
Mário Zakorchini Jr
Partner Trainer
Agenda
AWS Services – The Big Picture
Migration decisions – That’s what really defines your choices!
Compute Services:
EC2
EBS (OK, it’s Storage)
ECS/EKS/Fargate
Lambda
Elastic Beanstalk
Training Resources
What’s Next….
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Big Picture
Amazon
CloudFront
Amazon Amazon
S3 Glacier
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Foundational Services
Compute Storage Networking Databases Security Management
Amazon Amazon ECS Amazon Amazon EBS Elastic Load Amazon Amazon Amazon IAM AWS WAF Amazon AWS
EC2 Glacier Balancing* Route 53 RDS Aurora CloudWatch CloudTrail
Auto Scaling AWS Amazon Application Amazon Amazon Amazon AWS KMS AWS Shield AWS AWS
Lambda S3 Load VPC* DynamoDB ElastiCache CloudFormation Config
Balancer
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Compute Services
How will you deliver the application
executables?
Instances
Amazon EC2
Containers
Amazon ECS, Amazon EKS
AWS Fargate
Serverless
AWS Lambda
All of the above
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Strategies Affect Architectural
Decisions (and Define components TBU) Manual Install Manual Config
al
anu
M
Use Migration Tools
Automate
Manual Deploy
o st ift)
e -h d Sh
R t an
tform)
Determine
if l a
Migration (L
Re -p pe
Path R esha Determine Modify underlying
(Lift & new platform Infrastructure
Discover/Assess/Prioritize Re-
p ur Validation Transition Production
Applications (Re cha
Dro place se
(Re
Re iting/ icatio
p& -
-w app
Sho
r
p)
-ar De ns)
ch cou
Revisit
ec
ng
t
Retire /
Decommission Redesign App Code Full ALM / Integration
Application/ Development SDLC
Infrastructure Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6
Shared Security Model
the Cloud
Availability Zones
AWS Global
Edge Locations
Infrastructure Regions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Compute Service - EC2
Amazon Elastic Compute Cloud
(Amazon EC2)
Virtual machine instance running on an AWS hypervisor
Support numerous distributions of Linux or Microsoft
Windows
Complete control of your host operating system with
root and administrator accounts
Responsible for all installed applications
https://aws.amazon.com/ec2/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Instances: Families and Generations
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 instances: Types and Sizes
https://aws.amazon.com/ec2/instance-types/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Purchasing Options
On-Demand Reserved Spot
Pay for compute capacity by the Make a 1 or 3 Year commitment Spare EC2 capacity at savings
second with no long-term and receive a significant of up to 90% off On-Demand
commitments discount off On-Demand prices prices
Spiky workloads, to define needs Committed, steady-state usage Fault-tolerant, dev/test, time-
flexible, stateless workloads
https://aws.amazon.com/ec2/pricing/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Compute Cloud (EC2)
Auto Scaling Groups
Scale Amazon EC2 instances seamlessly and automatically
Launch or terminate instances to meet desired capacity
Keeps capacity balanced across AZs
Replace unhealthy or unreachable instances
Policy-based. Integrates with other AWS services
Use Cases:
Dynamic scaling - Optimize EC2 resources rapidly
Reduce cost. Manage pricing.
Fleet management – Balance. Recover from failures.
https://aws.amazon.com/ec2/autoscaling/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Block Storage (EBS)
Block storage volumes for use with Amazon EC2 instances
Persistent storage attached to EC2 instances as native disk
Formatted using a standard OS file system (e.g. ext4 or NTFS)
Scalable, high-performance storage for applications
Use Cases
Boot/root volumes for EC2 instances
Data volumes for enterprise applications such as SAP, Microsoft
Exchange and Microsoft SharePoint.
Relational or NoSQL databases supporting millions of users.
https://aws.amazon.com/ebs/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Containers @ AWS
Migration Strategies Affect Architectural
Decisions Manual Install Manual Config
al
anu
M
Use Migration Tools
Automate
Manual Deploy
o st ift)
e -h d Sh
R t an
tform)
Determine
if l a
Migration (L
Re -p pe
Path R esha Determine Modify underlying
(Lift & new platform Infrastructure
Discover/Assess/Prioritize Re-
p ur Validation Transition Production
Applications (Re cha
Dro place se
(Re
Re iting/ icatio
p& -
-w app
Sho
r
p)
-ar De ns)
ch cou
Revisit
ec
ng
t
Retire /
Decommission Redesign App Code Full ALM / Integration
Application/ Development SDLC
Infrastructure Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 16
Containers x Virtualization
Different forms of
App isolation
Containers are easier
to scale-out and ideal
for state-less Apps
Docker (ECS) and
Kubernetes (EKS) are
the most popular
containerization
platforms as of today.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Monolithic x Microservices
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Container Services (ECS/EKS)
https://aws.amazon.com/ecs/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Fargate
Allows customers to run containers without managing a cluster.
Leverages Amazon ECS
Launch tens of thousands of containers in seconds
Integrates with auto scaling for optimal utilization
https://aws.amazon.com/fargate/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How ECS Works
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda
AWS Lambda
A stateless compute service that runs code in response to an event
Triggers in milliseconds.
Billed in 100ms increments. Pay only for what you use.
No virtual servers required.
Use Cases:
Building modular, scalable, lightweight applications
Serverless data processing on demand
Use AWS Step-Functions to orchestrate Lambda architectures
Perform data validation, filtering, sorting, or other transformations.
Image thumb-nailing, in-app activity, website clicks, or output from devices
https://aws.amazon.com/lambda/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Ex - REAL-TIME FILE PROCESSING
The Seattle Times uses AWS Lambda to resize images for viewing on different
devices such as desktop computers, tablets, and smartphones. Read the case study »
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
REAL-TIME STREAM PROCESSING
Localytics processes billions of data points in real-time, and uses Lambda to process
historical and live data stored in S3 or streamed from Kinesis. Read the case study »
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EXTRACT, TRANSFORM, LOAD
Zillow uses Lambda and Kinesis to track a subset of mobile metrics in realtime. With
Kinesis and Lambda, we were able to develop and deploy a cost effective solution in
two weeks.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Beanstalk
Fast and Simple to Begin
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Easy to Setup
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Beanstalk object model
Application
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application versions and saved configurations
Application versions
All versions are stored durably in
Amazon S3. Code can also be
pushed from a Git repository!
Saved configurations
Save these for easy duplication for A/B
testing or non-disruptive deployments
Training Resources
Thousand of trainings available for you on-line
https://aws.amazon.com/partners/training/?nav=tc&loc=5
OR
In Person
https://aws.amazon.com/pt/partners/training/latam-br/ (PT-BR)
https://aws.amazon.com/es/partners/training/latam/ (Spanish)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Next
Know your options:
EC2
https://aws.amazon.com/ec2/?nc2=h_m1
ECS
https://aws.amazon.com/ecs/?nc2=h_m1
EKS
https://aws.amazon.com/eks/?nc2=h_m1
Lambda
https://aws.amazon.com/lambda/?nc1=h_ls
Elastic Beanstalk
https://aws.amazon.com/elasticbeanstalk/?nc2=h_m1
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank You!
© 2018 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or
in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.
Corrections or feedback on the course, please email us at: aws-course-feedback@amazon.com. For all other questions, contact us at:
https://aws.amazon.com/contact-us/aws-training/. All trademarks are the property of their owners.