SlideShare a Scribd company logo
1 of 72
Core Services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Virtual Private Cloud
(VPC)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introduction
Private, virtual network in the AWS Cloud
Similar constructs as on-premises network
Customizable network configurations to meet your needs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Features
Characteristics
 Allows you to provision virtual networks
Logically isolated
Configurable key features
 IP ranges
 Routing
 Network gateways
 Security settings
Route Tables
 Control traffic going out of the subnets
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example
us-west-2 (Oregon)
Test- VPC 10.0.0.0/16
Subnet A1
10.0.0.0/24
Availability Zone A
Subnet B1
10.0.2.0/23
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example
us-west-2 (Oregon)
Test- VPC 10.0.0.0/16
Public Subnet A1
10.0.0.0/24
Availability Zone A
Private Subnet B1
10.0.1.0/24
Test- IGW
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
You created:
 VPC in the Oregon region
 An internet gateway
 One public subnet
 One private subnet
Learn More
 Route tables and isolation methods
 Other Amazon VPC features (e.g., VPC endpoints and peering connections)
 Security groups
 Amazon Elastic Cloud Compute (EC2)
 Amazon Relational Database Service (RDS)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Security Groups
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Security
Web Tier
security group
Application Tier
security group
Database Tier
security group
internet
Corporate
Admin Network
app serverwww server
api
ssh/rdp
db server
api
www server
www server app server
app server
db server
db server
(all other ports are blocked)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute Services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute Services
AWS
 Flexible
 Cost effective
Amazon EC2
 Flexible configuration and control
AWS Lambda
 Pay only for what you use
 No administration
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute Services
Amazon Lightsail
 Launch virtual private server
 Manage simple web and application servers
Amazon ECS
 Managed containers
 Highly scalable, high performance
AWS Fargate
Amazon EKS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Compute Cloud
(EC2)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Amazon EC2?
Elastic Compute Cloud
 Application Server
 Web Server
 Database Server
 Game Server
 Mail Server
 Media Server
 Catalog Server
 File Server
 Computing Server
 Proxy Server
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Amazon EC2?
Pay as you go
Broad selection of HW/SW
Global hosting
Much more (aws.amazon.com/ec2)
Amazon EC2 Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance Types
Families Description Example Use Cases
t2, m4, m3
General Purpose
Balanced Performance
Websites, web applications, Dev, code repos, micro
services, business apps
c3, c4, cc2
Compute Optimized
High CPU
Performance
Front-end fleets, web-servers, batch processing,
distributed analytics, science and engineering apps, ad
serving, MMO gaming, video-encoding
g2, p2
GPU Optimized
High-end GPU
Amazon AppStream 2.0, video encoding, machine
learning, high perf databases, science
r3, r4, x1, cr1
Memory Optimized
Large RAM footprint
In-memory databases, data mining
d2, i2, i3, hi1, hs1
Storage Optimized
High I/O, High density
NAS, data warehousing, NoSQL
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Choosing the Right Amazon EC2 Instances
EC2 Instance types are optimized for different use cases,
workloads & come in multiple sizes. This allows you to optimally
scale resources to your workload requirements.
AWS utilizes Intel® Xeon® processors for EC2 Instances providing
customers with high performance and value.
Consider the following when choosing your instances: core
count, memory size, storage size & type, network performance,
I/O requirements & CPU technologies.
Hurry Up & Go Idle - A larger compute instance can save you
time and money, therefore paying more per hour for a shorter
amount of time can be less expensive.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Instances Powered by Intel Technologies
EC2 Instance
Type
Compute Optimized General Purpose Memory Optimized Storage Optimized
C5 C4 M5 M4 T2 X1 X1e R4 H1 I3 D2
Intel Processor
Xeon
Platinum
8175M
Xeon E5
2666 v3
Xeon
Platinum
8175M
Xeon E5
2686 v4
2676 v3
Xeon
Family
Xeon E7
8880 v3
Xeon E7
8880 v3
Xeon E5
2686 v4
Xeon E5
2686 v4
Xeon E5
2686 v4
Xeon E5
2676 v3
Intel Processor
Technology
Skylake Haswell Skylake
Broadwell
Haswell
Yes Haswell Haswell Broadwell Broadwell Broadwell Haswell
Intel AVX Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Intel AVX2 Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes
Intel AVX-512 Yes - Yes - - - - - - - -
Intel Turbo
Boost
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Storage EBS-only EBS-only EBS-only EBS-only EBS-only
SSD
EBS-Opt
SSD
EBS-Opt
- HDD SSD HDD
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
C5: Compute Optimized Instances
Based on 3.0 GHz Intel Xeon Scalable
Processors (Skylake)
Up to 72 vCPUs and 144 GiB of memory
(2:1 Memory:vCPU ratio)
25 Gbps NW bandwidth
Support for Intel AVX-512
25% price/performance
improvement over C4
C4 C5
“We saw significant performance improvement on
Amazon EC2 C5, with up to a 140% performance
improvement in industry standard CPU benchmarks
over C4.”
“We are eager to migrate onto the AVX-512 enabled
c5.18xlarge instance size… . We expect to decrease the
processing time of some of our key workloads by more
than 30%.”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
M5: Next-Gen General Purpose instance
Powered by 2.5 GHz Intel Xeon
Scalable Processors (Skylake)
New larger instance size—m5.24xlarge
with
96 vCPUs and 384 GiB of memory
(4:1 Memory:vCPU ratio)
Improved network and EBS
performance on smaller instance sizes
Support for Intel AVX-512 offering up
to twice the performance for vector
and floating point workloads
14% price/performance
improvement With M5
M4 M5
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Load Balancing (ELB)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introduction to Elastic Load Balancing
Managed load balancing service
Distributes loads between instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Load Balancing Products
Application Load Balancer (ALB) Network Load Balancer (NLB) Classic Load Balancer (CLB)
PREVIOUS GENERATION
for HTTP, HTTPS, and TCP
• Flexible application management
• Advanced load balancing of
HTTP and HTTPS traffic
• Operates at the request level
(Layer 7)
• Extreme performance and static
IP for your application
• Load balancing of TCP traffic
• Operates at the connection level
(Layer 4)
• Existing application that was built
within the EC2-Classic network
• Operates at both the request
level and connection level
HTTP
HTTPS
TCPT
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application Load Balancer Use Cases
Application
Load Balancer
Application 1
Application 2
Application 3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application Load Balancer Use Cases
Target Target Target Target Target Target Target
Target Group Target Group Target GroupHealth
Check
Health
Check
Health
Check
Listener ListenerRule Rule Rule
Application
Load Balancer
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Classic Load Balancer Use Cases
Access servers through single point
Decouple the application environment
Provide high availability and fault tolerance
Increase elasticity and scalability
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Network Load Balancer Use Cases
Sudden and volatile traffic patterns
Single static IP address per Availability Zone
Ideal for applications that require extreme performance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Is Auto Scaling?
Helps you verify that you have the desired number of Amazon
EC2 instances available to handle the load for your application
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Monitoring Resource Performance
Amazon CloudWatch to monitor performance
Auto Scaling to add or remove EC2 instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Capacity Management
Capacity
Day of the Week
Su M T W Th F Sa
}Unused
Capacity
Available Capacity
Capacity
Su M T W Th F Sa
Day of the Week
Available Capacity
Auto Scaling adjusting
← capacity as needed
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Critical Questions
How can I make sure that my workload has enough EC2
resources to meet fluctuating performance requirements?
How can EC2 resource provisioning occur on-demand?
Scalability
Automation
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scaling Out and Scaling In
Elastic Load
Balancing
Auto Scaling group Auto Scaling groupAuto Scaling group
Base Configuration Scaling Out Scaling In
Launch Instances Terminate Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling Components
Launch Configuration
Auto Scaling groups
Auto Scaling Policy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling Components
Launch Configuration: What will be scaled?
Launch settings
 AMI
 Instance type
 Security groups
 Roles
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling Components
Auto Scaling Group: Where will it take place?
Deployment settings
 VPC and subnets
 Load balancer
 Minimum instances
 Maximum instances
 Desired capacity
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling Components
Auto Scaling Policy: When will it take place?
Policy settings
 Scheduled
 On-demand
 Scale-out policy
 Scale-in policy
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dynamic Auto Scaling
v
Elastic Load
Balancing
Auto Scaling CloudWatch
Auto Scaling group
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CloudWatch Alarm for Auto Scaling
Whenever: CPUUtilization
is: >= 80
for: 1 consecutive period(s)
to
AutoScaling Action Delete
Whenever this alarm: State is ALARM
From resource type: AutoScaling
From the: IREASG
Take this action: Increase Group Size – Add 2 instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Created
 A launch configuration
 Auto Scaling group
 Auto Scaling policy
Triggered Auto Scaling
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Block Store
(EBS)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EBS Volumes
Characteristics
Persistent and customizable block storage for EC2 instances
HDD and SSD types
Use Snapshots for backups
Easy and transparent encryption
Elastic
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EBS Volumes
Availability
Durable and automatically replicated
Drive Types
Storage that best fits your needs
Magnetic or SSD
Performance and price requirements
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS
Snapshots
Point-in-time snapshots
Recreate a new volume at any time
Encryption
Encrypted EBS volumes
No additional cost
Elasticity
Increase capacity
Change to different types
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Features
 Persistent and customizable block storage for EC2 instances
 HDD and SSD types
 Replicated in the same Availability Zones
 Easy and transparent encryption
 Elastic volumes
 Back up using snapshots
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Storage Service
(S3)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3
Features
 Fully managed cloud storage service
 Rich security controls
Functionality
 Store virtually unlimited number of objects
 Access any time, from anywhere
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Getting Started with S3
media/welcome.mp4 my-bucket-name
media/welcome.mp4
Key Object my-bucket-name
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Access the Data Anywhere
AWS Management Console
AWS command line interface
AWS software development kits
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Common Use Cases
Storing application assets
Static web hosting
Backup and disaster recovery (DR)
Staging area for big data
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Fully managed cloud storage service
Store virtually unlimited number of objects
Access any time, from anywhere
Rich security controls
Common use cases
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Relational Database
Service (RDS)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Challenges of Relational Databases
Server maintenance and energy footprint
Software installation and patches
Database backups and high availability
Limits on scalability
Data security
OS install and patches
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS
Managed service that sets up and operates a relational database
in the Cloud
Users Application
servers Amazon RDS
AWS Cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS
Customer manages:
 Application Optimization
 Database schema
 Data
AWS manages:
 OS installation and patches
 Database software installation and patches
 Database backups
 High availability
 Scaling
 Power, rack and stack
 Server maintenance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS DB Instances
DB Instance Class
• CPU
• Memory
• Network Performance
DB Instance Storage
• Magnetic
• General Purpose (SSD)
• Provisioned IOPS
Amazon
RDS
RDS DB
master
instance
DB Engines
M
Amazon
RDS
RDS DB
master
instance
DB Engines
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS In a Virtual Private Cloud
VPC
M
App
Public subnet
Private subnet
internet
gateway
Amazon
EC2
instance
RDS
DB
instance
Availability Zone 1
Users
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
High Availability with Multi-AZ
SYNCHRONOUS
Public subnet
Amazon
EC2
instance
RDS DB
instance
App
RDS DB
standby
instance
Private subnet Private subnet
M S
Availability Zone 1 Availability Zone 2
VPC
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
High Availability with Multi-AZ
Public subnet
Amazon
EC2
instance
RDS DB
instance
VPC
App
RDS DB
standby
instance
Private subnet Private subnet
M S
Availability Zone 1 Availability Zone 2
FAILOVER
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS Read Replicas
Features
Asynchronous replication
Promote to master if necessary
Functionality
Read-heavy database workloads
Offload read queries
Public subnet
Amazon
EC2
instance
RDS DB
instance
VPC
App
Private subnet
M
Availability Zone 1
RDS DB
read
replica
instanceR
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Highly scalable
High performance
Easy to administer
Available and durable
Secure and compliant
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Is Amazon DynamoDB?
NoSQL database tables
Virtually unlimited storage
Items may have differing attributes
Low-latency queries
Scalable read/write throughput
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Common Use Cases
Web
Mobile apps
Internet of Things
Ad tech
Gaming
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Partitioning
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Items in a Table Must Have a Key
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
Managed NoSQL database service
Data store for applications
 Store large amounts of data
 Support high request volume
 Require low-latency query performance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Knowledge Check
Which of the following is true about security groups? (Choose 2)
Acts as a virtual firewall to control outbound traffic only
Acts as a virtual firewall to control inbound and outbound traffic
Acts as a virtual firewall to control inbound traffic only
All inbound traffic is denied and outbound traffic is allowed by default
All inbound traffic is allowed and outbound traffic is denied by default
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Knowledge Check
How does an edge location help end users?
Reduces power consumption
Increases storage
Reduces scaling
Increases latency
Reduces latency
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Knowledge Check
What AWS tool uses edge locations to cache content and reduce
latency?
EBS storage
EC2 instances
RDS
Amazon CloudFront
VPCs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Knowledge Check
Which of the following statements are true about Availability
Zones? (Choose 2)
Multiple zones are physically connected on the same grid
Multiple zones will fail if one zone fails
A single zone can span multiple data centers
A single zone equals a single data center
Multiple zones are connected by low latency network links
© 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.

More Related Content

What's hot

AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Simplilearn
 

What's hot (20)

Aws IAM
Aws IAMAws IAM
Aws IAM
 
Deep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech TalksDeep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech Talks
 
Intro to AWS: Security
Intro to AWS: SecurityIntro to AWS: Security
Intro to AWS: Security
 
AWS EC2
AWS EC2AWS EC2
AWS EC2
 
Introduction of AWS KMS
Introduction of AWS KMSIntroduction of AWS KMS
Introduction of AWS KMS
 
VPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPCVPC Design and New Capabilities for Amazon VPC
VPC Design and New Capabilities for Amazon VPC
 
AWS Route53
AWS Route53AWS Route53
AWS Route53
 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control Tower
 
Identity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS SecurityIdentity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS Security
 
Deep dive into AWS IAM
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAM
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
Intro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute ServicesIntro to AWS: EC2 & Compute Services
Intro to AWS: EC2 & Compute Services
 
AWS IAM Introduction
AWS IAM IntroductionAWS IAM Introduction
AWS IAM Introduction
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
 
Aws VPC
Aws VPCAws VPC
Aws VPC
 
Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)
 
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
 
AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2) AWS Elastic Compute Cloud (EC2)
AWS Elastic Compute Cloud (EC2)
 

Similar to Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018

Similar to Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018 (20)

AWSome Day Online Conference 2018 - Module 2
AWSome Day Online Conference 2018 -  Module 2AWSome Day Online Conference 2018 -  Module 2
AWSome Day Online Conference 2018 - Module 2
 
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdfAWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
AWSome Day Online Conference 2019 - Module 2 AWS Core Services.pdf
 
Module 2 - AWSome Day Online Conference 2018
Module 2 - AWSome Day Online Conference 2018Module 2 - AWSome Day Online Conference 2018
Module 2 - AWSome Day Online Conference 2018
 
AWSome Day - Israel
AWSome Day - IsraelAWSome Day - Israel
AWSome Day - Israel
 
AWSome Day Geneva Main Track: Infrastructure Part 1.pdf
AWSome Day Geneva Main Track: Infrastructure Part 1.pdfAWSome Day Geneva Main Track: Infrastructure Part 1.pdf
AWSome Day Geneva Main Track: Infrastructure Part 1.pdf
 
AWSome Day Online 2020_Module 2: Getting started with the cloud
AWSome Day Online 2020_Module 2: Getting started with the cloudAWSome Day Online 2020_Module 2: Getting started with the cloud
AWSome Day Online 2020_Module 2: Getting started with the cloud
 
Core services
Core servicesCore services
Core services
 
Compute@Scale
Compute@ScaleCompute@Scale
Compute@Scale
 
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019 Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
Module 2: Getting started with the cloud - AWSome Day Online Conference 2019
 
SRV319 Amazon EC2 Foundations
SRV319 Amazon EC2 FoundationsSRV319 Amazon EC2 Foundations
SRV319 Amazon EC2 Foundations
 
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS SummitDesign, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
 
Amazon EC2 instances: Customizable cloud computing across workloads - DEM20-S...
Amazon EC2 instances: Customizable cloud computing across workloads - DEM20-S...Amazon EC2 instances: Customizable cloud computing across workloads - DEM20-S...
Amazon EC2 instances: Customizable cloud computing across workloads - DEM20-S...
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
 
Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
 
Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%
 
Amazon EC2 Foundations (CMP208-R1) - AWS re:Invent 2018
Amazon EC2 Foundations (CMP208-R1) - AWS re:Invent 2018Amazon EC2 Foundations (CMP208-R1) - AWS re:Invent 2018
Amazon EC2 Foundations (CMP208-R1) - AWS re:Invent 2018
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
 
Una introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSUna introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWS
 
EC2 Foundations - Laura Thomson
EC2 Foundations - Laura ThomsonEC2 Foundations - Laura Thomson
EC2 Foundations - Laura Thomson
 

More from Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

More from 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
 

Module 2: Core AWS Compute and Storage Services - Virtual AWSome Day June 2018

  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Virtual Private Cloud (VPC)
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introduction Private, virtual network in the AWS Cloud Similar constructs as on-premises network Customizable network configurations to meet your needs
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Features Characteristics  Allows you to provision virtual networks Logically isolated Configurable key features  IP ranges  Routing  Network gateways  Security settings Route Tables  Control traffic going out of the subnets
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Example us-west-2 (Oregon) Test- VPC 10.0.0.0/16 Subnet A1 10.0.0.0/24 Availability Zone A Subnet B1 10.0.2.0/23
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Example us-west-2 (Oregon) Test- VPC 10.0.0.0/16 Public Subnet A1 10.0.0.0/24 Availability Zone A Private Subnet B1 10.0.1.0/24 Test- IGW
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary You created:  VPC in the Oregon region  An internet gateway  One public subnet  One private subnet Learn More  Route tables and isolation methods  Other Amazon VPC features (e.g., VPC endpoints and peering connections)  Security groups  Amazon Elastic Cloud Compute (EC2)  Amazon Relational Database Service (RDS)
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Security Groups
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Security Web Tier security group Application Tier security group Database Tier security group internet Corporate Admin Network app serverwww server api ssh/rdp db server api www server www server app server app server db server db server (all other ports are blocked)
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute Services
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute Services AWS  Flexible  Cost effective Amazon EC2  Flexible configuration and control AWS Lambda  Pay only for what you use  No administration
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute Services Amazon Lightsail  Launch virtual private server  Manage simple web and application servers Amazon ECS  Managed containers  Highly scalable, high performance AWS Fargate Amazon EKS
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Compute Cloud (EC2)
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is Amazon EC2? Elastic Compute Cloud  Application Server  Web Server  Database Server  Game Server  Mail Server  Media Server  Catalog Server  File Server  Computing Server  Proxy Server
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is Amazon EC2? Pay as you go Broad selection of HW/SW Global hosting Much more (aws.amazon.com/ec2) Amazon EC2 Instances
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance Types Families Description Example Use Cases t2, m4, m3 General Purpose Balanced Performance Websites, web applications, Dev, code repos, micro services, business apps c3, c4, cc2 Compute Optimized High CPU Performance Front-end fleets, web-servers, batch processing, distributed analytics, science and engineering apps, ad serving, MMO gaming, video-encoding g2, p2 GPU Optimized High-end GPU Amazon AppStream 2.0, video encoding, machine learning, high perf databases, science r3, r4, x1, cr1 Memory Optimized Large RAM footprint In-memory databases, data mining d2, i2, i3, hi1, hs1 Storage Optimized High I/O, High density NAS, data warehousing, NoSQL
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Choosing the Right Amazon EC2 Instances EC2 Instance types are optimized for different use cases, workloads & come in multiple sizes. This allows you to optimally scale resources to your workload requirements. AWS utilizes Intel® Xeon® processors for EC2 Instances providing customers with high performance and value. Consider the following when choosing your instances: core count, memory size, storage size & type, network performance, I/O requirements & CPU technologies. Hurry Up & Go Idle - A larger compute instance can save you time and money, therefore paying more per hour for a shorter amount of time can be less expensive.
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Instances Powered by Intel Technologies EC2 Instance Type Compute Optimized General Purpose Memory Optimized Storage Optimized C5 C4 M5 M4 T2 X1 X1e R4 H1 I3 D2 Intel Processor Xeon Platinum 8175M Xeon E5 2666 v3 Xeon Platinum 8175M Xeon E5 2686 v4 2676 v3 Xeon Family Xeon E7 8880 v3 Xeon E7 8880 v3 Xeon E5 2686 v4 Xeon E5 2686 v4 Xeon E5 2686 v4 Xeon E5 2676 v3 Intel Processor Technology Skylake Haswell Skylake Broadwell Haswell Yes Haswell Haswell Broadwell Broadwell Broadwell Haswell Intel AVX Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Intel AVX2 Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes Intel AVX-512 Yes - Yes - - - - - - - - Intel Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Storage EBS-only EBS-only EBS-only EBS-only EBS-only SSD EBS-Opt SSD EBS-Opt - HDD SSD HDD
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. C5: Compute Optimized Instances Based on 3.0 GHz Intel Xeon Scalable Processors (Skylake) Up to 72 vCPUs and 144 GiB of memory (2:1 Memory:vCPU ratio) 25 Gbps NW bandwidth Support for Intel AVX-512 25% price/performance improvement over C4 C4 C5 “We saw significant performance improvement on Amazon EC2 C5, with up to a 140% performance improvement in industry standard CPU benchmarks over C4.” “We are eager to migrate onto the AVX-512 enabled c5.18xlarge instance size… . We expect to decrease the processing time of some of our key workloads by more than 30%.”
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. M5: Next-Gen General Purpose instance Powered by 2.5 GHz Intel Xeon Scalable Processors (Skylake) New larger instance size—m5.24xlarge with 96 vCPUs and 384 GiB of memory (4:1 Memory:vCPU ratio) Improved network and EBS performance on smaller instance sizes Support for Intel AVX-512 offering up to twice the performance for vector and floating point workloads 14% price/performance improvement With M5 M4 M5
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing (ELB)
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introduction to Elastic Load Balancing Managed load balancing service Distributes loads between instances
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing Products Application Load Balancer (ALB) Network Load Balancer (NLB) Classic Load Balancer (CLB) PREVIOUS GENERATION for HTTP, HTTPS, and TCP • Flexible application management • Advanced load balancing of HTTP and HTTPS traffic • Operates at the request level (Layer 7) • Extreme performance and static IP for your application • Load balancing of TCP traffic • Operates at the connection level (Layer 4) • Existing application that was built within the EC2-Classic network • Operates at both the request level and connection level HTTP HTTPS TCPT
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application Load Balancer Use Cases Application Load Balancer Application 1 Application 2 Application 3
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application Load Balancer Use Cases Target Target Target Target Target Target Target Target Group Target Group Target GroupHealth Check Health Check Health Check Listener ListenerRule Rule Rule Application Load Balancer
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Classic Load Balancer Use Cases Access servers through single point Decouple the application environment Provide high availability and fault tolerance Increase elasticity and scalability
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Network Load Balancer Use Cases Sudden and volatile traffic patterns Single static IP address per Availability Zone Ideal for applications that require extreme performance
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Is Auto Scaling? Helps you verify that you have the desired number of Amazon EC2 instances available to handle the load for your application
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Monitoring Resource Performance Amazon CloudWatch to monitor performance Auto Scaling to add or remove EC2 instances
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Capacity Management Capacity Day of the Week Su M T W Th F Sa }Unused Capacity Available Capacity Capacity Su M T W Th F Sa Day of the Week Available Capacity Auto Scaling adjusting ← capacity as needed
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Critical Questions How can I make sure that my workload has enough EC2 resources to meet fluctuating performance requirements? How can EC2 resource provisioning occur on-demand? Scalability Automation
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scaling Out and Scaling In Elastic Load Balancing Auto Scaling group Auto Scaling groupAuto Scaling group Base Configuration Scaling Out Scaling In Launch Instances Terminate Instances
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Components Launch Configuration Auto Scaling groups Auto Scaling Policy
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Components Launch Configuration: What will be scaled? Launch settings  AMI  Instance type  Security groups  Roles
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Components Auto Scaling Group: Where will it take place? Deployment settings  VPC and subnets  Load balancer  Minimum instances  Maximum instances  Desired capacity
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Components Auto Scaling Policy: When will it take place? Policy settings  Scheduled  On-demand  Scale-out policy  Scale-in policy
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dynamic Auto Scaling v Elastic Load Balancing Auto Scaling CloudWatch Auto Scaling group
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CloudWatch Alarm for Auto Scaling Whenever: CPUUtilization is: >= 80 for: 1 consecutive period(s) to AutoScaling Action Delete Whenever this alarm: State is ALARM From resource type: AutoScaling From the: IREASG Take this action: Increase Group Size – Add 2 instances
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Created  A launch configuration  Auto Scaling group  Auto Scaling policy Triggered Auto Scaling
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Block Store (EBS)
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EBS Volumes Characteristics Persistent and customizable block storage for EC2 instances HDD and SSD types Use Snapshots for backups Easy and transparent encryption Elastic
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EBS Volumes Availability Durable and automatically replicated Drive Types Storage that best fits your needs Magnetic or SSD Performance and price requirements
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EBS Snapshots Point-in-time snapshots Recreate a new volume at any time Encryption Encrypted EBS volumes No additional cost Elasticity Increase capacity Change to different types
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Features  Persistent and customizable block storage for EC2 instances  HDD and SSD types  Replicated in the same Availability Zones  Easy and transparent encryption  Elastic volumes  Back up using snapshots
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Storage Service (S3)
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon S3 Features  Fully managed cloud storage service  Rich security controls Functionality  Store virtually unlimited number of objects  Access any time, from anywhere
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Getting Started with S3 media/welcome.mp4 my-bucket-name media/welcome.mp4 Key Object my-bucket-name
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Access the Data Anywhere AWS Management Console AWS command line interface AWS software development kits
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common Use Cases Storing application assets Static web hosting Backup and disaster recovery (DR) Staging area for big data
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Fully managed cloud storage service Store virtually unlimited number of objects Access any time, from anywhere Rich security controls Common use cases
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Relational Database Service (RDS)
  • 53. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenges of Relational Databases Server maintenance and energy footprint Software installation and patches Database backups and high availability Limits on scalability Data security OS install and patches
  • 54. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS Managed service that sets up and operates a relational database in the Cloud Users Application servers Amazon RDS AWS Cloud
  • 55. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS Customer manages:  Application Optimization  Database schema  Data AWS manages:  OS installation and patches  Database software installation and patches  Database backups  High availability  Scaling  Power, rack and stack  Server maintenance
  • 56. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS DB Instances DB Instance Class • CPU • Memory • Network Performance DB Instance Storage • Magnetic • General Purpose (SSD) • Provisioned IOPS Amazon RDS RDS DB master instance DB Engines M Amazon RDS RDS DB master instance DB Engines
  • 57. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS In a Virtual Private Cloud VPC M App Public subnet Private subnet internet gateway Amazon EC2 instance RDS DB instance Availability Zone 1 Users
  • 58. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High Availability with Multi-AZ SYNCHRONOUS Public subnet Amazon EC2 instance RDS DB instance App RDS DB standby instance Private subnet Private subnet M S Availability Zone 1 Availability Zone 2 VPC
  • 59. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High Availability with Multi-AZ Public subnet Amazon EC2 instance RDS DB instance VPC App RDS DB standby instance Private subnet Private subnet M S Availability Zone 1 Availability Zone 2 FAILOVER
  • 60. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS Read Replicas Features Asynchronous replication Promote to master if necessary Functionality Read-heavy database workloads Offload read queries Public subnet Amazon EC2 instance RDS DB instance VPC App Private subnet M Availability Zone 1 RDS DB read replica instanceR
  • 61. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Highly scalable High performance Easy to administer Available and durable Secure and compliant
  • 62. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB
  • 63. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What Is Amazon DynamoDB? NoSQL database tables Virtually unlimited storage Items may have differing attributes Low-latency queries Scalable read/write throughput
  • 64. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Common Use Cases Web Mobile apps Internet of Things Ad tech Gaming
  • 65. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Partitioning
  • 66. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Items in a Table Must Have a Key
  • 67. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary Managed NoSQL database service Data store for applications  Store large amounts of data  Support high request volume  Require low-latency query performance
  • 68. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Knowledge Check Which of the following is true about security groups? (Choose 2) Acts as a virtual firewall to control outbound traffic only Acts as a virtual firewall to control inbound and outbound traffic Acts as a virtual firewall to control inbound traffic only All inbound traffic is denied and outbound traffic is allowed by default All inbound traffic is allowed and outbound traffic is denied by default
  • 69. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Knowledge Check How does an edge location help end users? Reduces power consumption Increases storage Reduces scaling Increases latency Reduces latency
  • 70. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Knowledge Check What AWS tool uses edge locations to cache content and reduce latency? EBS storage EC2 instances RDS Amazon CloudFront VPCs
  • 71. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Knowledge Check Which of the following statements are true about Availability Zones? (Choose 2) Multiple zones are physically connected on the same grid Multiple zones will fail if one zone fails A single zone can span multiple data centers A single zone equals a single data center Multiple zones are connected by low latency network links
  • 72. © 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.