Download as pdf or txt
Download as pdf or txt
You are on page 1of 35

Solution Training for Partners:

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

AWS Network Elastic Load


Direct Balancing
Connect Storage Amazon
WorkMail

Amazon EFS AWS Snowball Business


Productivity
Amazon Amazon
AWS AWS
Route 53 VPC
Amazon
Certificate CloudHSM
Polly
Amazon Amazon ES
Manager AWS Shield Amazon Amazon
AWS Storage EMR
Amazon EBS WorkDocs Redshift
Gateway
Amazon
Amazon
Amazon
AWS
Amazon
ECS
Artificial
Security, Identity,
AWS AWS Managed
AWS IoT
CloudTrail Amazon
Config
Services Amazon
Internet of Amazon Amazon APIApplication
EC2 Amazon
Pinpoint SES Intelligence
Compliance
InspectorLex
Amazon Analytics
RDS
Amazon Database
Amazon DynamoDB
Amazon
Amazon
Compute
MessagingManagement Things
Tools
Developer Tools AWS Gateway
RekognitionCloudSearc Services
Cognito Mobile Amazon Pinpoint
Analytics
Game Development Directory h Mobile Services
Kinesis
Amazon AWS AWS
Service
AWS Lambda
Lightsail
CloudFormatio AWS OpsWorks
n Organizations Amazon
Amazon Machine AWS SMS
AWS AWS Learning
AWS AWS
Amazon
IAM API
AWS
Amazon
Amazon Desktop &
ElastiCache
Amazon Elastic Amazon
AWS X-Ray
Amazon AWS Step
AWS Elastic Gateway AppStream Transcoder QuickSight
Amazon
AWS Batch Amazon
AWSCodeBuild CodeCommit
AWS Trusted AWS Amazon
Greengrass
KMS CodeDeploy
AWS WAF
Athena
CodePipeline App Streaming
AWS AWS Amazon Functions
AWS DMS
SWF
Beanstalk Amazon
SNS SQS
Service Advisor Amazon GameLift
CloudWatch Device Farm Mobile Hub
AppStream 2.0 AWS Glue WorkSpaces
Catalog

© 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

AWS Direct VPN Amazon EC2


Connect connection Systems Manager

© 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

Purchase COTS/ Manual Install


Retain /
l

SaaS & licensing & Setup


i t p li

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

Customer content Customers are


responsible for their
Customer Platform, Applications, Identity & Access Management security and
compliance IN the
Cloud
Operating System, Network & Firewall Configuration

Client-side Data Server-side Data Network Traffic


Encryption Encryption Protection

AWS Foundation Services


AWS is responsible
Compute Storage Database Networking for the security OF
AWS

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

General-purpose: M4, M5, T2, T3


Compute-optimized: C4, C5
Memory-optimized: R4, X1
Dense-storage: D2, H1, I3
I/O-optimized: HI1, I2
GPU: F1, G3, P2
Micro: T1, T2

Customers can change instance types seamlessly.


https://aws.amazon.com/ec2/instance-types/

© 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

Purchase COTS/ Manual Install


Retain /
l

SaaS & licensing & Setup


i t p li

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)

Elastic Container Service and Elastic Container Service for


Kubernetes
AWS runs the EC2 cluster management for you
Eliminates the complexity of operating container infrastructure
Use Cases
Deploy microservices to speed innovation
Batch processing
Migrate legacy applications without requiring code changes
Accelerate machine learning

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

Fastest and simplest way to deploy an


application on AWS

Upload your application and the capacity


provisioning, load balancing, auto-scaling,
and health monitoring is handled for you

© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Easy to Setup

Focus on building your Your code


application
HTTP server
• Elastic Beanstalk configures
each EC2 instance in your
Application server
environment with the
components necessary to
Language interpreter
run applications for the
selected platform
Operating system
• No more worrying about
logging into instances to Host
install and configure your
application stack

© 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

Environments Application versions Saved configurations


• Infrastructure resources (such as • Application code • Configuration that defines how an
EC2 instances, ELB load balancers, • Stored in Amazon S3 environment and its resources
and Auto Scaling groups) behave
• An application can have many
• Runs a single application version at application versions (easy to • Can be used to launch new
a time for better scalability rollback to previous versions) environments quickly or roll-back
• An application can have many configuration
environments (such as staging and • An application can have many
production) saved configurations

© 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.

You might also like