Professional Documents
Culture Documents
AWSome Day Online 2019 - Module 2 CoreServices
AWSome Day Online 2019 - Module 2 CoreServices
Core Services
Ric Harvey
Technical Developer Evangelist
Amazon Web Services
rjh@amazon.com
@ric__Harvey
https://gitlab.com/ric_harvey/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sweden
Paris
AWS GovCloud East
Milan
AWS
REGIONS
20 Regions 60 AZs
Over 160 Global CloudFront Cape Town
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon VPC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common VPC Deployment
AWS Cloud
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC Summary
VPC concepts:
• Regions + Availability Zones
• An internet gateway
• Public subnet
• Private subnet
• Route Tables
• NAT Gateways
Resources:
• Overview: https://aws.amazon.com/vpc/
• Documentation: https://docs.aws.amazon.com/vpc/index.html#lang/en_us
Further concepts:
• Transit gateway: https://aws.amazon.com/transit-gateway/
• AWS VPN: https://aws.amazon.com/vpn/
• AWS Direct Connect: https://aws.amazon.com/directconnect/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security is job zero!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Groups
• Security groups
• Act as built-in firewalls
• Instances or groups of instances
• Control accessibility to instances
• Ingress
• Egress Security Groups
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Groups
AWS Cloud
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Groups
Users
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2
Application Server
Web Server
Database Server
Game Server
Mail Server
Media Server
Catalog Server
File Server
Computing Server
Proxy Server
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2
Powered by • Choose between processors on AWS general purpose and memory optimized instances
M5a R5a • 10% lower prices on AMD-based instances
• Most applications can run on AMD-based variants with little to no modification
X1
Amazon
Lightsail
T3 M5 D2 H1 R5
X1e Z1 I3 I3m C5 G3 P3 F1
Virtual General Memory Memory High- Bare Metal Compute Graphics General FPGA
Burstable Dense Big Data High
Private Purpose Memory High I/O Intensive Intensive Purpose
Storage Optimized Optimized Intensive I/O
Servers Intensive GPU
• NVMe-based SSD block level instance storage physically connected to the host server
• High-speed, low latency local block storage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 A1 Instances
© 2019, 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.
Consider the following when choosing your instances: core count, memory size,
storage size & type, network performance, I/O requirements & CPU technologies.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Choosing the Right Amazon EC2 Instances
$0.107 per
$0.0456 perHour
Hour
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 Instances Powered by Intel Technologies
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 Turbo
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Boost
SSD SSD
Storage EBS-only EBS-only EBS-only EBS-only EBS-only - HDD SSD HDD
EBS-Opt EBS-Opt
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
C5: Compute Optimized Instances
25% price/performance improvement Based on 3.0 GHz Intel Xeon Scalable Processors (Skylake)
over C4
Up to 72 vCPUs and 144 GiB of memory (2:1 Memory:vCPU ratio)
25 Gbps NW bandwidth
Support for Intel AVX-512
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
M5: Next-Gen General Purpose instance
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lightsail
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is a container?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Running containers at scale
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless
$
High Availability No Idle Costs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless
PARTNER SUPPORTED
+Lambda
+ offered by offered by
support for
Ruby offered b y
offered b y
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless Bennifits
Uptime
Scale
Performance
Management
Safe deploys
Concurrency controls
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Load Balancing Products
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Load Balancer Use Cases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Load Balancer Use Cases
Application
Load Balancer
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What Is Auto Scaling?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Capacity Management
}
Auto Scaling adjusting
Unused
← capacity as needed
Capacity
Capacity Capacity
Su M T W Th F Sa Su M T W Th F Sa
Day of the Week Day of the Week
Available Capacity Available Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaling Out and Scaling In
Elastic Load
Balancing
• Launch Configuration
• Auto Scaling groups
• Auto Scaling Policy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto Scaling Components
Launch settings
• AMI
• Instance type
• Security groups
• Roles
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto Scaling Components
Deployment settings
• VPC and subnets
• Load balancer
• Minimum instances
• Maximum instances
• Desired capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto Scaling Components
Policy settings
• Scheduled
• On-demand
• Scale-out policy
• Scale-in policy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dynamic Auto Scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Alarm for Auto Scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Summary
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, 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
• Provisioned IOPS (optional)
• Use Snapshots for backups
• Easy and transparent encryption
• Elastic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EFS Volumes
Characteristics
• Network attached storage
• NFS (v4.0)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
FSx
© 2019, 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
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S3 Common Use Cases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudFront
CloudFront Advantages:
• Offload assets from servers, reducing load
• Move content closer to end users
• Download distribution support
• Streaming distribution support
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route 53
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS
Easy to administer Available & durable Highly scalable Fast & secure
No need for infrastructure Automatic Multi-AZ data Scale database compute SSD storage and guaranteed
provisioning, installing and replication; automated backup, and storage with a few provisioned I/O; data
maintaining DB software snapshots, failover clicks with no encryption at rest and
application downtime in transit
Managed relational database service with a choice of six popular database engines
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS on VMware (Preview)
Easy to provision, monitor, and Scale storage, compute, and Enable hybrid features Automate management of
operate relational databases in memory of on-premises and tap into AWS for databases for workloads that
your private data center databases from a single, high availability, backup, must remain on-premises to
simple interface and restore adhere to strict data policies
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
MySQL and PostgreSQL compatible relational database built for the cloud
Performance and availability of commercial-grade databases at 1/10th the cost
Performance Availability
and scalability and durability Highly secure Fully managed
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora Delivering on customer needs
50+
Replicas in GovCloud replicas Aurora regions
CloudWatch Logs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application
Single Global Database with cross region replication
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB
Fast and flexible key value database service for any scale
Consistent, single-digit millisecond No hardware provisioning, Encrypts all data by default Build global applications with fast
response times at any scale; build software patching, or upgrades; and fully integrates with AWS access to local data by easily
applications with virtually unlimited scales up or down automatically; Identity and Access replicating tables across multiple
throughput continuously backs up your data Management for robust AWS Regions
security
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB Delivering on customer needs
VPC
Endpoints Global tables
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Ric Harvey
Technical Developer Evangelist
Amazon Web Services
rjh@amazon.com
@ric__Harvey
https://gitlab.com/ric_harvey/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.