SlideShare a Scribd company logo
1 of 225
1
Version 4.1
AWSome Day
Getting Started onAWS
Course Objectives
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2
This course teaches you how to:
• Recognize terminology and concepts as they relate to the AWS platform and
navigate the AWS Management Console.
• Understand the foundational services, including Amazon Elastic Compute
Cloud (EC2), Amazon Virtual Private Cloud (VPC), Amazon Simple Storage
Service (S3), and Amazon Elastic Block Store (EBS).
• Understand the security measures AWS provides and key concepts of AWS
Identity and Access Management (IAM).
• Understand AWS database services, including Amazon DynamoDB and
Amazon Relational Database Service (RDS).
• Understand AWS management tools, including Auto Scaling,Amazon
CloudWatch, Elastic Load Balancing (ELB), and AWS TrustedAdvisor.
Module Layout
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3
• Module 1: Introduction and History of AWS
• Module 2: Foundational Services – Amazon EC2, Amazon VPC, Amazon S3,
Amazon EBS
• Module 3: Security, Identity, and Access Management - IAM
• Module 4: Databases – Amazon DynamoDB and Amazon RDS
• Module 5: AWS Elasticity and Management Tools – Auto Scaling, Elastic Load
Balancing, Amazon CloudWatch, and AWS TrustedAdvisor
• Module 6: Course Wrap-Up
• Module 7: Course Appendix
Module 1
Introduction and History of
AWS
4
Amazon History
1994: Jeff Bezos
incorporatedthe
company.
1995:
Amazon.com
launched its
online
bookstore.
2005:
Amazon
Publishing
was
launched.
2006:
Amazon
Web
Services
(AWS)
was
launched.
2007:
Kindle
was
launched.
2011:
Amazon
Fresh was
launched.
2012: Amazon
Game Studios
was launched.
2013:
Amazon
Art was
launched.
2014:
Amazon
Prime
Now was
launched.
2015:
Amazon
Home
Services and
Amazon
Echo were
launched.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5
Amazon Web Services (AWS)
Messaging
Mobile
Database
Networking
Compute
App Services
Payments
On-Demand Workforce
VPC
Analytics
Development and
Management Tools
Content Delivery
Storage
Enable businesses and developers to
use web services to build scalable,
sophisticated applications.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6
AWS Rapid Pace of Innovation
2009
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 7
New Features/Services
Launched
159
82
48
722
2011 2013 2015
2,420
Connect
Amazon WorkDocs
AWS Direct
AWS Elastic Beanstalk
AWS GovCloud (US)
AWS OpsWorks
AWS CloudTrail
Amazon
ElastiCache
AWS CloudHSM
Amazon WorkSpaces
Amazon Kinesis
Amazon SES
Amazon Elastic Transcoder
Amazon WorkMail
AWS CertificateManager
Amazon EFS
Amazon Redshift
AWS Identity and Access
Management
Amazon
AppStream
Amazon DynamoDB
Amazon SNS
Amazon Route 53
AWS Lambda
AWS
CloudFormation
Amazon SWF
AWS Data
Pipeline
AWSConfig
Amazon RDS
for Aurora
AWS
Directory
Service
AWSCodeCommit
Amazon EC2 Container
Registry
AWS CodePipeline
AWSService
Catalog
Amazon CloudWatch Logs
Amazon Mobile
Analytics
AWS Import/Export
8
Amazon RDS for MariaDB AWS Mobile Hub
AWS KMS
Amazon API
Gateway
Amazon Machine
Learning
Amazon CloudSearch
Amazon Glacier
AWS Device Farm
AWS WAF
Elasticsearch Service
Amazon QuickSight
AWS Import/Export
Amazon Inspector
AWS IoT
AWS StorageGateway
Amazon EC2
Container Service
Amazon Cognito
AWS CodeDeploy
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
As of 1 August 2016
Services and Features
AWS Customers
Enterprise Customers
Startup Customers
Public Sector Customers
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 9
Advantages and Benefits of AWS Cloud Computing
Trade capital expense
for variable expense.
Benefit from massive
economies of scale.
Stop guessing
capacity.
Increase speed and
agility.
Stop spending money on
running and maintaining
data centers.
Go global in minutes.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 10
11
Gartner Magic Quadrant for Cloud Infrastructure as a Service, Worldwide
Gartner “Magic Quadrant for Cloud Infrastructure as a Service, Worldwide,” Lydia Leong, Gregor Petri, Bob Gill, Mike Dorosh, 03 August 2016. This Magic Quadrant graphic was published by Gartner, Inc. as part of a
larger research note and should be evaluated in the context of the entire report. The Gartner report is available at https://aws.amazon.com/resources/analyst-reports/ . Gartner does not endorse any vendor, product or
service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of
Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantabilityor
fitness fora particularpurpose.
12
AWS Core Infrastructure and Services
Networ
k
NACLs Access Mgmt
VPC
EC2 “Classic”
“
Public
”
ELB
On-Demand
Provisio
n
Traditional Infrastructure Amazon Web Services
Security Security
Server
s AMI Amazon EC2 Instances
On-Premises Servers
Securit
y Security Groups
Security Groups
NetworkACLs AWS IAM
Firewalls ACLs Administrators
Storage
and
Databas
RDBMS
DAS SAN NAS Amazon
EBS
Amazon
EFS
Amazon
S3
Amazon
RDS
Networking Network
VPC
ELB
Router Network Pipeline Switch
13
Infrastructure Regions Edge Locations
Availability Zones
Foundation
Services
Compute
(Virtual, Auto-scalingand
Load Balancing)
Networking
Applications
Virtual
Desktops
Collaboration and Sharing
Platform
Services
AWS Cloud Computing
Databases
Relational
NoSQL
Caching
Analytics
Cluster
Computing
Real-time
Data
Warehouse
Data
Workflows
App Services
Queuing
Orchestration
App Streaming
Transcoding
Email
Search
Deployment and
Management
Containers
Dev/ops Tools
Resource Templates
Usage Tracking
Monitoring and Logs
Mobile Services
Identity
Sync
Mobile Analytics
Notifications
Storage
(Object, Block and Archive)
Compute Network Storage
Security &
Identity
Applications
AWS Foundation Services
Amazon
EC2
AWS
Lambda
Amazon EC2
Container
Service
AWS
Elastic
Beanstalk
Elastic
Load
Balancing
AWS
Direct
Connect
Amazon Amazon
VPC Route53
Amazon Amazon
S3 CloudFront
Amazon
Elastic File
System
Amazon
Glacier
AWS
Storage
Gateway
AWS
Import/Export
AWS Identity and
Access Management
AWS
Directory
Service
AWS Cloud
HSM
AWS
KMS
AWS WAF
Amazon Amazon
WorkDocs WorkSpaces
Auto
Scaling
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 14
Amazon
WorkMail
Databases Analytics App Services Management
Tools
Developer
Tools
Mobile
Services
Internet of
Things
AWS Platform Services
Amazon Amazon
RDS DynamoDB
Amazon Amazon
ElastiCache Redshift
Amazon AWS
EMR Data Pipeline
Amazon
Kinesis
Amazon Amazon
Elasticsearch Machine
Service Learning
Amazon
API Gateway
Amazon Amazon
SES AppStream
Amazon Amazon
CloudSearch SQS
Amazon
Amazon Elastic
SWF Transcoder
AWS AWS
CloudFormation Config
AWS Amazon
OpsWorks CloudWatch
AWS
AWS Service
CloudTrail Catalog
AWS AWS
CodeCommit CodeDeploy
AWS
CodePipeline
Amazon AWS
Cognito Device Farm
Amazon
Amazon Mobile
SNS Analytics
Mobile Hub
AWS IoT
Trusted AWS
Advisor Certificate
Manager
AWS Database
Migration Service
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 15
AWS Global Infrastructure
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 16
Regions
• Geographic locations
• Consist of at least two Availability Zones
Availability Zones
• Clusters of data centers
• Isolated from failures in other Availability Zones
AWS Global Infrastructure
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 17
AWS Global Infrastructure
At least 2 Availability Zones
per region.
Examples:
• US East (N. Virginia)
• us-east-1a
• us-east-1b
• us-east-1c
• us-east-1d
• us-east-1e
• Asia Pacific (Tokyo)
• ap-northeast-1a
• ap-northeast-1b
• ap-northeast-1c
Note: Conceptual drawing only. The number of Availability Zones (AZ) may vary.
US East (VA)
AZ - A AZ - B
AZ - C AZ - D
AZ - E
Asia Pacific
(Tokyo)
AZ - A AZ - B
AZ - C
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 18
High Availability Using Multi-AZ Deployments
Availability
Zone - A
Availability
Zone - B
Availability
Zone - C
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 19
Region
AWS Global Infrastructure
50+ AWS Edge locations - local points of presence
commonly supporting AWS services like:
• Amazon Route 53
• Amazon CloudFront
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 20
AWS Management Console
Demonstration
21
22
Knowledge Check
Q: What is the AWS term for physically distinct groups of datacenters
within a region?
Availability Zone
True or False: There are more Regions than Edge locations.
False
True or False: AWS owns and maintains the infrastructure requiredfor
application services. You provision and use them as needed.
True
Q: How do Availability Zones in the same region differ?
Each Availability Zone is isolated, but the Availability Zones in a region
are connected through low-latency links.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
23
Module 2
AWS Foundational Services
24
Module 2 Layout
• Amazon Elastic Compute Cloud (EC2)
• Amazon Virtual Private Cloud (VPC)
• Amazon Storage Services
• Amazon Simple Storage Service (S3)
• Amazon Elastic Block Store (EBS)
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
25
Amazon Elastic Compute
Cloud (EC2)
Amazon Elastic Compute Cloud (EC2)
• Resizable compute capacity
• Complete control of your computing resources
• Reduced time required to obtain and boot new
server instances
Amazon
EC2
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 26
Amazon EC2 Facts
• Scale capacity as your computing requirements change
• Pay only for capacity that you actually use
• Choose Linux or Windows
• Deploy across AWS Regions and Availability Zones for reliability
• Use tags to help manage your Amazon EC2 resources
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 27
Launching an Amazon EC2 Instance via the
Management Console
1. Determine the AWS Region in which you want to launch the
Amazon EC2 instance.
2. Launch an Amazon EC2 instance from a pre-configuredAmazon
Machine Image (AMI).
3. Choose an instance type based on CPU, memory, storage, and
network requirements.
4. Configure network, IP address, security groups, storagevolume,
tags, and key pair.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 28
Amazon Machine Image (AMI) Details
An AMI includes the following:
• A template for the root volume for the instance (for
example, an operating system, an application server,
and applications).
• Launch permissions that control which AWS accounts
can use the AMI to launch instances.
• A block device mapping that specifies the volumes to
attach to the instance when it is launched.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 29
Instances and AMIs
Select an AMI based on:
• Region
• Operating system
• Architecture (32-bit or 64-bit)
• Launch permissions
• Storage for the root device
AMI
Instance
Launch
instances of any
type
Host computer
Instances
Host computer
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 30
Amazon EC2 Instances
OS,Applications,
and
Configuration
AMI
Running or
StoppedVM
Instances
EBS
EBS
Snapshots
S3
Region
S3 Buckets
EBS EBS
AZ
EBS EBS EBS
AZ
Instances
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 31
Instances
Instance Lifecycle
AMI
pending
Launch
running
rebooting
Reboot
Start
terminated
shutting-down
Terminate
Terminate
EBS-backed instances only
Stop
stopping stopped
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 32
33
AWS Marketplace – IT Software Optimized for the
Cloud
• Online store to discover, purchase, and
deploy IT software on top of the AWS
infrastructure.
• Catalog of 2700+ IT software solutions
including Paid, BYOL, Open Source,
SaaS, and free-to-try options.
• Pre-configured to operate on AWS.
• Software checked by AWS for security
and operability.
• Deploys to AWS environment in
minutes.
• Flexible, usage-based billing models.
• Software charges billed to AWS
account.
Includes AWS Test Drive.
https://aws.amazon.com/marketplace
Choosing the Right Amazon EC2 Instance
AWS uses Intel® Xeon® processors to provide customers with high
performance and value. EC2 instance types are optimized for different
use cases, workload requirements and come in multiple sizes.
Consider the following when choosing your instances:
• Core count
• Memory size
• Storage size and type
• Network performance
• CPU technologies
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 34
AWS EC2 Instances with Intel® Technologies
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 35
AWS
Instance
Type
High
Memory
X1
Compute-
Optimized
C4
Storage-
Optimized
D2
General
Purpose
M4
Memory-
Optimized
R3
IO-
Optimized
I2
Graphics-
Optimized
G2
Burstable
Performance
T2
Intel
Processor
Intel Xeon
E7-8880 v3
Custom Intel
Xeon E5-
2666 v3
Custom Intel
Xeon E5-
2676 v3
Custom Intel
Xeon E5-
2676 v3
Intel Xeon
E5-2670 v2
Intel Xeon
E5-2670 v2
Intel Xeon
E5-2670
Intel Xeon
Family
Intel AVX AVX 2.0 AVX 2.0 AVX 2.0 AVX 2.0 Yes Yes Yes Yes
Intel AES-NI Yes Yes Yes Yes Yes Yes No No
Intel Turbo
Boost
Yes Yes Yes Yes Yes Yes Yes Yes
Intel TSX Yes No No No No No No No
Per core P-
and C-state
control
No
Yes
(8xlarge
only)
No No No No No No
SSD
Storage
EBS
Optimized by
default
EBS
Optimized by
default
No
EBS
Optimized by
default
Yes Yes Yes EBS only
Current Generation Instances
Instance Family Some Use Cases
General purpose (t2, m4, m3) • Low-traffic websites and web applications
• Small databases and mid-size databases
Compute-optimized (c4, c3) • High performance front-end fleets
• Video-encoding
Memory-optimized (r3) • High performance databases
• Distributed memory caches
Storage-optimized (i2, d2) • Data warehousing
• Log or data-processing applications
GPU instances (g2) • 3D application streaming
• Machine learning
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 36
Instance Metadata
• Is data about your instance.
• Can be used to configure or manage a running
instance.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 37
Adding User Data
• You can specify user data when launching an instance.
• User data can be:
• Linux script – executed by cloud-init
• Windows batch or PowerShell scripts – executed by EC2Config
service
• User data scripts run once per instance ID by default.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 38
Amazon EC2 Purchasing Options
On-Demand
Instances
Pay by the
hour.
Reserved
Instances
Purchase, at a
significant
discount,
instances that
are always
available
1-year to 3-
year terms.
Scheduled
Instances
Purchase
instances that
are always
available on
the specified
recurring
schedule, for
a one-year
term.
Spot
Instances
Bid on unused
instances,
which can run
as long as
they are
available and
your bid is
above the
Spot price.
Dedicated
Hosts
Pay for a
physical host
that is fully
dedicated to
running your
instances.
Dedicated
Instances
Pay, by the
hour, for
instances that
run on single-
tenant
hardware.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 39
Networking
Amazon VPC
40
Amazon Virtual Private Cloud (VPC)
• Provision a private, isolated virtual network on
the AWS cloud.
• Have complete control over your virtual
networking environment.
Amazon
VPC
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 41
VPCs and Subnets
• A subnet defines a range of IP addresses in your VPC.
• You can launch AWS resources into a subnet that you
select.
• A private subnet should be used for resources that won’t
be accessible over the Internet.
• A public subnet should be used for resources that will be
accessed over the Internet.
• Each subnet must reside entirely within one Availability
Zone and cannot span zones.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 42
Amazon VPC Example
AWSCloud
DB Server
Web Server
Customer
Network
R
Internet
App Server
VPC NAT
Gateway
Internet
Gateway
Web Server
Public Subnet
App Server
Private Subnet
Virtual Private Cloud
DB Server
VPN Only Subnet
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 43
Virtual
Private
Gateway
Security in Your VPC
• Security groups
• Network access
control lists
(ACLs)
• Key Pairs
Subnet
10.0.1.0/24
Internet Gateway
VPN Gateway
VPC Router
10.0.0.0/16
Security
Group
Security
Group
Network ACL Network ACL
Routing Table Routing Table
instance instance instance instance
Subnet
10.0.0.0/24
Security
Group
Security
Group
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 44
VPN Connections
VPN Connectivity option Description
AWS Hardware VPN You can create an IPsec hardware VPN connection
between your VPC and your remote network.
AWS Direct Connect AWS Direct Connect provides a dedicated private
connection from a remote network to your VPC.
AWS VPN CloudHub You can create multiple AWS hardware VPN
connections via your VPC to enable communications
between various remote networks.
Software VPN You can create a VPN connection to your remote
network by using an Amazon EC2 instance in your VPC
that’s running a software VPN appliance.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 45
Storage Services
Amazon S3 and Amazon EBS
46
Amazon Simple Storage Service (S3)
• Storage for the Internet
• Natively online, HTTP access
• Storage that allows you to store and retrieve any
amount of data, any time, from anywhere on the
web
• Highly scalable, reliable, fast and durable
Amazon S3
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 47
Amazon S3 Facts
• Can store an unlimited number of objects in a bucket
• Objects can be up to 5 TB; no bucket size limit
• Designed for 99.999999999% durability and 99.99%
availability of objects over a given year
• Can use HTTP/S endpoints to store and retrieve any
amount of data, at any time, from anywhere on the web
• Is highly scalable, reliable, fast, and inexpensive
• Can use optional server-side encryption using AWS or
customer-managed provided client-side encryption
• Auditing is provided by access logs
• Provides standards-based REST and SOAP interfaces
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 48
Common Use Scenarios
• Storage and backup
• Application file hosting
• Media hosting
• Software delivery
• Store AMIs and snapshots
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 49
Amazon S3 Concepts
• Amazon S3 stores data as objects
within buckets
• An object is composed of a file and
optionally any metadata that
describes that file
• You can have up to 100 buckets in
each account
• You can control access to the bucket
and its objects
Amazon
S3
Bucket
with
Objects
Bucket
Object
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 50
Object Keys
An object key is the unique identifier for an object in a
bucket.
http://doc.s3.amazonaws.com/2006-03-01/AmazonS3.html
Bucket Object/Key
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 51
Amazon S3 Security
• You can control access to buckets and objects with:
• Access Control Lists (ACLs)
• Bucket policies
• Identity and Access Management (IAM)policies
• You can upload or download data to Amazon S3 via SSL
encrypted endpoints.
• You can encrypt data using AWS SDKs.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 52
Amazon S3 Versioning
• Protects from accidental overwrites and deletes
with no performance penalty.
• Generates a new version with every upload.
• Allows easily retrieval of deleted objects or roll back
to previous versions.
• Three states of an Amazon S3 bucket
• Un-versioned (default)
• Versioning-enabled
• Versioning-suspended
Key: photo.gif
ID: 121212
Key: photo.gif
ID: 111111
Versioning Enabled
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 53
Amazon S3 Object Lifecycle
Lifecycle management defines how Amazon S3 manages objects
during their lifetime. Some objects that you store in an Amazon S3
bucket might have a well-defined lifecycle:
• Log files
• Archive documents
• Digital media archives
• Financial and healthcare records
• Raw genomics sequence data
• Long-term database backups
• Data that must be retained for regulatory compliance
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 54
Amazon S3 Pricing
• Pay only for what you use
• No minimum fee
• Prices based on location of your Amazon S3bucket
• Estimate monthly bill using the AWS Simple Monthly Calculator
• Pricing is available as:
• Storage Pricing
• Request Pricing
• Data Transfer Pricing: data transferred out of Amazon S3
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 55
Amazon Glacier
• Long term low-cost archiving service
• Optimal for infrequently accessed data
• Designed for 99.999999999% durability
• Three to five hours’ retrieval time
• Less than $0.01 per GB/month (depending on region)
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 56
Amazon S3 Storage Classes
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 57
Storage Class Durability Availability Other Considerations
Amazon S3
Standard
99.999999999% 99.99%
Amazon S3
Standard -
Infrequent
Access (IA)
99.999999999% 99.9%
• Retrieval fee associated with
objects
• Most suitable for infrequently
accessed data
Glacier 99.999999999%
99.99%
(once restored)
• Not available for real-time
access
• Must restore objects before
you can access them
• Restoring objects can take3-5
hours
Instructor Demo
Amazon S3
58
Amazon Elastic Block Store (EBS)
• Persistent block level storage volumes offer
consistent and low-latency performance.
• Stored data is automatically replicated within its
Availability Zone.
• Snapshots are stored durably in AmazonS3.
Amazon
EBS
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 59
Amazon EBS Lifecycle
Vast amounts of
unused space Create
Call CreateVolume
1 GiB to 16 TiB
Attach
Call AttachVolume to affiliatewith
one Amazon EC2 instance
Attached
and
In Use
• Format from AmazonEC2
instance OS
• Mount formatted drive
CreateSnapshot
Snapshot to
Amazon S3
Detach
Call DetachVolume
Deleted
Call DeleteVolume
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 60
Amazon EBS Volume Types
• SSD-backed volumes are
• Optimized for transactional workloads that involve frequent
read/write operations with small I/O size.
• Dominant in IOPS performance.
• HDD-backed volumes are
• Optimized for large streaming workloads.
• Dominant in throughput (measured in MiB/s).
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 61
Amazon EBS Volume Types
SSD HDD
Volume Type
General Purpose
SSD (gp2)
Provisioned IOPS
SSD (io1)
Throughput Optimized
HDD (st1)
Cold HDD (sc1)
Description
Balances price and
performance for a
wide variety of
transactional loads.
Highest-
performance SSD
volume designed for
mission-critical
applications.
Low-cost HDD
designed for frequently
accessed, throughput-
intensive workloads.
Lowest cost HDD
designed for less
frequently accessed
workloads.
Volume Sizes 1 GiB – 16 TiB 4 GiB – 16 TiB 500 GiB – 16 TiB 500 GiB – 16 TiB
Dominant
Performance
Attribute
IOPS IOPS MiB/s MiB/s
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 62
Amazon EBS Facts
• EBS is recommended when data must be quickly
accessible and requires long-term persistence.
• You can launch your EBS volumes as encrypted
volumes – data stored at rest on the volume, disk I/O,
and snapshots created from the volume are all
encrypted.
• You can create point-in-time snapshots of EBS
volumes, which are persisted to Amazon S3.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 63
Amazon EBS Use Cases
• OS: Use for boot/root volume, secondary volumes
• Databases: Scales with your performance needs
• Enterprise applications: Provides reliable block storage to run
mission-critical applications
• Business continuity: Minimize data loss and recovery time by
regularly backing up using EBS Snapshots
• Applications: Install and persist any application
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 64
Amazon EBS Pricing
Pay for what you provision:
• Pricing based on region
• Review Pricing Calculator online
• Pricing is available as:
• Storage
• IOPS
* Check Amazon EBS Pricing page for current pricing for all regions.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 65
Amazon EBS Scope
Amazon EBS volumes are in a single Availability Zone
EBS Volume 1 EBS Volume 2
Availability Zone A Availability Zone B
Volume data is replicated across multiple servers in an Availability Zone.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 66
Amazon EBS and Amazon S3
Amazon EBS Amazon S3
Paradigm Block storage with file system Object store
Performance Very fast Fast
Redundancy Across multiple servers in an
Availability Zone
Across multiple facilities in a
Region
Security EBS Encryption – Data volumes
and Snapshots
Encryption
Access from the
Internet?
No (1) Yes (2)
Typical use case It is a disk drive Online storage
(1) Accessible from the Internet if mounted to server and set up as FTP, etc.
(2) Only with proper credentials, unless ACLs are world-readable
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 67
Amazon EC2 Instance Storage
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 68
• Is local, complimentary direct attached block storage.
• Includes availability, number of disks, and size based on
EC2 instance type.
• Is optimized for up to 365,000 Read IOPS and 315,000
First Write IOPS.
• Is SSD or magnetic.
• Has no persistence.
• Automatically deletes data when an EC2 instance
stops, fails or is terminated.
Amazon EBS vs. Amazon EC2 Instance Store
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 69
Amazon EBS
• Data stored on an Amazon EBS volume can persist
independently of the life of the instance.
• Storage is persistent.
Amazon EC2 Instance Store
• Data stored on a local instance store persists only as long as the
instance is alive.
• Storage is ephemeral.
Reboot vs. Stop vs. Terminate
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 70
Characteristic Reboot Stop/Start
(EBS-backed instances only)
Terminate
Host computer
The instance stays on the
same host computer.
The instance runs on a new
host computer.
Public IP address No change New address assigned
Elastic IP
addresses (EIP)
EIP remains associated
with the instance.
EIP remains associatedwith
the instance.
EIP is disassociated from the
instance.
Instance store
volumes
Preserved Erased Erased
EBS volume Preserved Preserved
Boot volume is deleted by
default.
Billing
Instance billing hour doesn’t
change.
You stop incurring charges
as soon as state is changed to
stopping.
You stop incurring charges as
soon as state is changed to
shutting-down.
Knowledge Check
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 71
Q: What AWS service would help support your web application to
offload serving static assets and store user uploaded images and
video off-instance?
Amazon S3
Q: How would an EC2 instance find its private and public IP
addresses?
Retrieve the instance metadata. http://169.254.169.254/latest/meta-data/
Q: What acts as an additional layer of security at the subnet level in a
VPC?
NetworkACLs
True or False: S3 limits the amount you can store.
False
80
Module 3
Security, Identity, and Access
Management
AWS Shared Responsibility Model
AWS Foundation Services
Compute Storage
Database
Networkin
g
AWS Global
Infrastructur
e
Regio
ns
Availability
Zones Edge
Locations
Client-side
Data
Encryption
Server-side
Data
Encryption
Network
Traffic
Protection
Platform, Applications, Identity, and Access
Management
Operating System, Network, and Firewall
Configuration
Customer Applications &
Content
Customer
s
Customers are
responsible for
security IN the cloud
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 73
AWS is responsible
for the security OF
the cloud
Physical Security
• 24/7 trained security staff
• AWS data centers in nondescript and
undisclosed facilities
• Two-factor authentication for
authorized staff
• Authorization for data center access
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 74
Hardware, Software, and Network
• Automated change-control
process
• Bastion servers that record all
access attempts
• Firewall and other boundary
devices
• AWS monitoring tools
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 75
Certifications and Accreditations
ISO 9001, ISO 27001, ISO 27017, ISO 27018, IRAP (Australia), MLPS Level 3 (China),
MTCS Tier 3 Certification (Singapore) and more …
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 76
SSL Endpoints
VPC
Secure Transmission
Use secure endpoints
to establish secure
communication
sessions (HTTPS).
Instance Firewalls
Use security groups
to configure firewall
rules for instances.
SSL Endpoints Security Groups
Network Control
Use public and
private subnets,
NAT, and VPN
support in your
virtual private cloud
to create low-level
networking
constraints for
resource access.
SSL Endpoints
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 77
Security Groups
SSL Endpoints Security Groups
Instance Firewalls
Use security groups
to configure firewall
rules for instances.
VPC
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 78
Secure Transmission
Use secure endpoints
to establish secure
communication
sessions (HTTPS).
Network Control
Use public and
private subnets,
NAT, and VPN
support in your
virtual private cloud
to create low-level
networking
constraints for
resource access.
HTTP
Ports 80 and 443 only
open to the Internet
SSH/RDP
Engineering staff have SSH/RDP
access to Bastion Host
AWS Multi-Tier Security Groups
Bastion
All other internet ports blocked bydefault
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 79
Amazon Virtual Private Cloud (VPC)
VPC
SSL Endpoints Security Groups
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 80
Use public and
private subnets,
NAT, and VPN
support in your
virtual private cloud
to create low-level
networking
constraints for
resource access.
Use security groups
to configure firewall
rules for instances.
Secure Transmission Instance Firewalls Network Control
Use secure endpoints
to establish secure
communication
sessions (HTTPS).
AWS Identity and Access Management (IAM)
3
Manage federated users
and their permissions
2
Manage AWS IAM roles
and their permissions
1
M
A
W
a
n
S
a
g
I
A
e
M
A
W
S
IAM users
and their access
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 81
AWS IAM Authentication
• Authentication
• AWS Management Console
• User Name and Password
IAM User
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 82
AWS IAM Authentication
• Authentication
• AWS CLI or SDK API
• Access Key and Secret Key
Access Key ID: AKIAIOSFODNN7EXAMPLE
Secret Access Key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Java Python .NET
AWS SDK & API
AWS CLI
IAM User
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 83
AWS IAM User Management - Groups
User D
DevOpsGroup
User C
AWS Account
TestDev Group
User B
User A
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 84
AWS IAM Authorization
Authorization
• Policies:
• Are JSON documents to describe
permissions.
• Are assigned to users, groups or
roles.
IAM User IAM Group
IAM Roles
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 85
AWS IAM Policy Elements
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1453690971587",
"Action": [
"ec2:Describe*",
"ec2:StartInstances",
"ec2:StopInstances”
],
"Effect": "Allow",
"Resource": "*",
"Condition": {
"IpAddress": {
"aws:SourceIp": "54.64.34.65/32”
}
}
},
{
"Sid": "Stmt1453690998327",
"Action": [
"s3:GetObject*”
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::example_bucket/*”
}
]
}
IAM Policy
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 86
AWS IAM Policy Assignment
IAM User
IAM Group
Assigned Assigned
IAM Policy
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 87
AWS IAM Policy Assignment
IAM User
IAM Group
IAM Roles
Assigned Assigned
Assigned
IAM Policy
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 88
AWS IAM Roles
• An IAM role uses a policy.
• An IAM role has no associated credentials.
• IAM users, applications, and services may assume IAM
roles.
IAM Roles
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 89
AWS IAM Policy Assignment
IAM User
IAM Group
IAM Roles
Assigned Assigned
Assigned
IAM Policy
IAM User
Assumed Assumed
AWS Resources
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 90
Example: Application Access to AWS
Resources
• Python application hosted on an Amazon EC2 Instance
needs to interact with Amazon S3.
• AWS credentials are required:
• Option 1: Store AWS Credentials on the Amazon EC2instance.
• Option 2: Securely distribute AWS credentials to AWSServices
and Applications.
IAM Roles
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 91
AWS IAM Roles - Instance Profiles
Amazon EC2
App &
EC2 MetaData Service
http://169.254.169.254/latest/meta-data/iam/security-credentials/rolename
Amazon S3
2
3
4
1
Create Instance
Select
IAM
Role
Application
interacts
with
S3
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 92
AWS IAM Roles – Assume Role
IAM Restricted Policy
IAM User A-1
AWS Account A
IAM Admin Role
IAM Admin Policy
Assigned
Assume
Assigned
1
2
IAM User B-1
AWS Account B
Amazon S3
Assume
4
Access
5
3
Access
1
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 93
Temporary Security Credentials (AWS STS)
Use Cases
• Cross account access
• Federation
• Mobile Users
• Key rotation for Amazon EC2-based apps
Session
Access Key ID
Secret Access Key
Session Token
Expiration
Temporary Security Credentials
15 minutes to 36 hours
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 94
Application Authentication
AWS IAM Application
No Support No Support
OS
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 95
AWS IAM Authentication and Authorization
Authentication
• AWS Management Console
• User Name and Password
• AWS CLI or SDK API
• Access Key and Secret Key
Authorization
• Policies
IAM User IAM Group
IAM Roles
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 96
AWS IAM Best Practices
• Delete AWS account (root) access keys.
• Create individual IAM users.
• Use groups to assign permissions to IAM users.
• Grant least privilege.
• Configure a strong password policy.
• Enable MFA for privileged users.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 97
AWS IAM Best Practices (cont.)
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 98
• Use roles for applications that run on Amazon EC2
instances.
• Delegate by using roles instead of by sharing
credentials.
• Rotate credentials regularly.
• Remove unnecessary users and credentials.
• Use policy conditions for extra security.
• Monitor activity in your AWS account.
AWS CloudTrail
• Records AWS API calls for accounts.
• Delivers log files with information to an Amazon S3
bucket.
• Makes calls using the AWS Management Console,AWS
SDKs, AWS CLI and higher-level AWS services.
AWS CloudTrail
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 99
Amazon S3 Bucket
Logs
Knowledge Check
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 100
Q: Your web application needs to read/write an Amazon DynamoDB
table and an Amazon S3 bucket. This operation requires AWS
credentials and authorization to use AWS services. What IAM entity
should be used?
User
Group
Role
Policy
Instructor Demo
IAM
101
Module 4
Databases
102
2
SQL and NoSQL Databases
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 103
SQL NoSQL
Data Storage Rows and Columns Key-Value
Schemas Fixed Dynamic
Querying Using SQL Focused on collection of
documents
Scalability Vertical Horizontal
ISBN Title Author Format
9182932465265 Cloud Computing
Concepts
Wilson,
Joe
Paperback
3142536475869 The Database
Guru
Gomez,
Maria
eBook
SQL NoSQL
{
ISBN: 9182932465265,
Title: “Cloud Computing Concepts”, Author:
“Wilson, Joe”,
Format: “Paperback”
}
Data Storage Considerations
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 104
• No one size fits all.
• Analyze your data requirements by considering:
• Data formats
• Data size
• Query frequency
• Data access speed
• Data retention period
AWS Managed Database Services
Compute Storage
AWS Global Infrastructure
Database
App Services
Deployment and Administration
Networking
Amazon DynamoDB
Amazon ElastiCache
Amazon RDS
Amazon Redshift
AWS Database MigrationService
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 105
Amazon Relational Database Service (RDS)
• Cost-efficient and resizable capacity
• Manages time-consuming database
administration tasks
• Access to the full capabilities of Amazon
Aurora, MySQL, MariaDB, Microsoft SQL
Server, Oracle, and PostgreSQL databases
Amazon
RDS
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 106
Amazon RDS
• Simple and fast to deploy
• Manages common database administrative tasks
• Compatible with your applications
• Fast, predictable performance
• Simple and fast to scale
• Secure
• Cost-effective
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 107
DB Instances
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 108
• DB Instances are the basic building blocks of
Amazon RDS.
• They are an isolated database environment in the
cloud.
• They can contain multiple user-created
databases.
How Amazon RDS Backups Work
Automatic Backups: Manual Snapshots:
• Restore your database to a
point in time.
• Are enabled by default.
• Let you choose a retention
period up to 35 days.
• Let you build a new
database instance from a
snapshot.
• Are initiated by the user.
• Persist until the user deletes
them.
• Are stored in Amazon S3.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 109
Cross-Region Snapshots
• Are a copy of a
database snapshot
stored in a differentAWS
Region.
• Provide a backup for
disaster recovery.
• Can be used as a base
for migration to a
different region.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 110
Amazon RDS Security
• Run your DB instance in an Amazon VPC.
• Use IAM policies to grant access to Amazon RDSresources.
• Use security groups.
• Use Secure Socket Layer (SSL) connections with DB instances
(Amazon Aurora, Oracle, MySQL, MariaDB, PostgreSQL,Microsoft
SQL Server).
• Use Amazon RDS encryption to secure your RDS instancesand
snapshots at rest.
• Use network encryption and transparent data encryption (TDE) with
Oracle DB and Microsoft SQL Server instances.
• Use the security features of your DB engine to control access to
your DB instance.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 111
A Simple Application Architecture
Amazon RDS database
instance
Amazon EC2
Application Servers
Elastic Load Balancing
load balancer instance
DB snapshots in
Amazon S3
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 112
Multi-AZ RDS Deployment
• With Multi-AZ operation, your database is
synchronously replicated to another Availability
Zone in the same AWS Region.
• Failover to the standby automatically occurs in case of
master database failure.
• Planned maintenance is applied first to standby
databases.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 113
A Resilient, Durable Application Architecture
Amazon RDS database instances:
Master and Multi-AZ standby
Application, in Amazon
EC2 instances
Elastic Load Balancing
load balancer instance
DB snapshots in
Amazon S3
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 114
Amazon RDS Best Practices
• Monitor your memory, CPU, and storage usage.
• Use Multi-AZ deployments to automatically provision and maintain a
synchronous standby in a different Availability Zone.
• Enable automatic backups.
• Set the backup window to occur during the daily low in WriteIOPS.
• To increase the I/O capacity of a DB instance:
• Migrate to a DB instance class with high I/O capacity.
• Convert from standard storage to provisioned IOPS storage and use a DB
instance class optimized for provisioned IOPS.
• Provision additional throughput capacity (if using provisioned IOPS storage).
• If your client application is caching the DNS data of your DB instances,
set a TTL of less than 30 seconds.
• Test failover for your DB instance.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 115
Amazon DynamoDB
• Allows you to store any amount of data with no
limits.
• Provides fast, predictable performance using
SSDs.
• Allows you to easily provision and change the
request capacity needed for each table.
• Is a fully managed, NoSQL database service.
Amazon
DynamoDB
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 116
DynamoDB Data Model
T
able:
Music
Items
Attributes (name-value pairs)
Artist
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 117
Song
Title
Album Year
Title
Genre
Primary Keys
Partition Key
Sort Key
(DynamoDB maintains a sorted index for both keys)
Table: Music
Partition Key: Artist
Sort Key: Song Title
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 118
T
able:
Music
Artist Song
Title
Album Year
Title
Genre
Provisioned Throughput
You specify how much provisioned throughput capacity
you need for reads and writes.
Amazon DynamoDB allocates the necessary machine
resources to meet your needs.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 119
Supported Operations
• Query:
• Query a table using the partition key and an optional sort key filter.
• If the table has a secondary index, query using its key.
• It is the most efficient way to retrieve items from a table or
secondary index.
• Scan:
• You can scan a table or secondary index.
• Scan reads every item – slower than querying.
• You can use conditional expressions in both Query and Scan
operations.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 120
Simple Application Architecture
Elastic Load
Balancing Amazon EC2
app instances
Clients
Amazon
DynamoDB
Business logic
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 121
Amazon RDS and Amazon DynamoDB
Factors Relational (Amazon RDS) NoSQL (Amazon DynamoDB)
Application
Type
• Existing database apps
• Business process–centric apps
• New web-scale applications
• Large number of small writes and
reads
Application
Characteristics
• Relational data models,
transactions
• Complex queries, joins, and
updates
• Simple data models, transactions
• Range queries, simple updates
Scaling
Application or DBA–architected
(clustering, partitions, sharding)
Seamless, on-demand scaling based
on application requirements
QoS
• Performance–depends on data
model, indexing, query, and
storage optimization
• Reliability and availability
• Durability
• Performance–Automatically
optimized by the system
• Reliability and availability
• Durability
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 122
Database Considerations
If You Need Consider Using
A relational database
service with minimal
administration
Amazon RDS
• Choice of Amazon Aurora, MySQL, MariaDB, Microsoft
SQL Server, Oracle, or PostgreSQL database engines
• Scale compute and storage
• Multi-AZ availability
A fast, highly scalable
NoSQL database
service
Amazon DynamoDB
• Extremely fast performance
• Seamless scalability and reliability
• Low cost
A database you can
manage on your own
Your choice of AMIs on Amazon EC2
and Amazon EBS that provide scale compute and
storage, complete control over instances, and more.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 123
Knowledge Check
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 124
Q: What are the basic building blocks of Amazon Relational Database
Service (RDS)?
DB Instances
True or False: Amazon DynamoDB allows you to store any amount of
data with no limits.
True
True or False: Scan is the most efficient way to retrieve items from a
DynamoDB table.
False
Q: You are creating a resilient, durable application using Amazon RDS. In
addition to Amazon RDS’s automatic backups, what feature should you
use to ensure that your backups are durable retained?
Manual Snapshots
133
Module 5
AWS Elasticity and Management
Tools
3
Triad of Services
Utilization
Auto Scaling
Elastic Load
Balancing
Latency
Auto Scaling group
ExecuteAS
Policy
CloudWatch
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 126
Elastic Load Balancing
• Distributes traffic across multiple EC2 instances,
in multiple Availability Zones
• Supports health checks to detect unhealthy
Amazon EC2 instances
• Supports the routing and load balancing of
HTTP, HTTPS, SSL, and TCP traffic toAmazon
EC2 instances
Elastic Load
Balancing
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 127
Classic Load Balancer - How It Works
Register
instances with
your load
balancer.
Availability ZoneA Availability ZoneB
load balancer
X
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 128
Target Group /mobile
Application Load Balancer – How It Works
Register instances as
targets in a target
group, and route
traffic to a target
group.
load balancer
Listener Listener
Rule Rule Rule
Target Group Target Group /api
Target Target Target Target Target Target Target
Health
Check
Health
Check
Health
Check
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 129
Load Balancer Comparison
Classic Load Balancer
benefits include support for:
• EC2-Classic.
• VPC.
• TCP and SSL listeners.
• Sticky sessions.
ALB benefits include support
for:
• Path-based routing.
• Routing requests to multiple
services on a single EC2
instance.
• Containerized applications.
• Monitoring the health of
each service independently.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 130
Amazon CloudWatch
• A monitoring service for AWS cloud resources and
the applications you run on AWS
• Visibility into resource utilization, operational
performance, and overall demand patterns
• Custom application-specific metrics of your own
• Accessible via AWS Management Console, APIs,
SDK, or CLI
Amazon
CloudWatch
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 131
Amazon CloudWatch Facts
• Monitor other AWS resources
• View graphics and statistics
• Set Alarms
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 132
Amazon CloudWatch Architecture
AWS resources
that support
CloudWatch
Amazon
CloudWatch
Amazon
CloudWatch
Alarm
SNS Email
Notification
Auto Scaling
Available
Statistics
Statistics
Consumer
AWS Management
Console
CloudWatch Metrics
CPUUtilization
StatusCheckFailed
Custom
Application-
Specific Metrics
PageViewCount
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 133
CloudWatch Metrics Examples
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 134
Auto Scaling
• Scale your Amazon EC2 capacity
automatically
• Well-suited for applications that experience
variability in usage
• Available at no additional charge
Auto
Scaling
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 135
Auto Scaling Benefits
Better Cost
Management
Better
Availability
Better Fault
Tolerance
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 136
Launch Configurations
• A launch configuration is a template that anAuto
Scaling group uses to launch EC2 instances.
• When you create a launch configuration, you can
specify:
• AMI ID
• Instance type
• Key pair
• Security groups
• Block device mapping
• User data
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 137
146
Auto Scaling Groups
• Contain a collection of EC2 instances that share similar
characteristics.
• Instances in an Auto Scaling group are treated as a
logical grouping for the purpose of instance scaling
and management. Auto Scaling group
Minimum size
Desired capacity
Maximum size
Scale out as needed
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dynamic Scaling
• You can create a scaling policy that uses CloudWatch
alarms to determine:
• When your Auto Scaling group should scale out.
• When your Auto Scaling group should scale in.
• You can use alarms to monitor:
• Any of the metrics that AWS services send toAmazon
CloudWatch.
• Your own custom metrics.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 139
Auto Scaling Basic Lifecycle
instances
Auto Scaling group
Scale Out
Amazon CloudWatch
Scheduled Event
Scale In
Scheduled Event
Amazon CloudWatch
Launch
Instance
Attach to Group
Detach from
Group
Terminate
Instance X
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 140
AWS Trusted Advisor
• Best practice and recommendation engine.
• Provides AWS customers with performance and
security recommendations in four categories:
• Cost optimization
• Security
• Fault tolerance
• Performance improvement.
AWS Trusted
Advisor
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 141
Cost Optimization
• Amazon EC2 Reserved Instance Optimization
• Low-utilization Amazon EC2 Instances
• Idle load balancers
• Underutilized Amazon EBS volumes
• Unassociated Elastic IP addresses
• Amazon RDS idle DB instances
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 142
Security
• Security groups
• AWS IAM use
• Amazon S3 bucket permissions
• MFA on tootAccount
• AWS IAM password policy
• Amazon RDS security group access risk
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 143
Fault Tolerance
• Amazon EBS Snapshots
• Load balancer optimization
• Auto Scaling Group Resources
• Amazon RDS Multi-AZ
• Amazon Route 53 name server delegations
• ELB connection draining
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 144
Performance Improvement
• High-utilization Amazon EC2 instances
• Service limits
• Large number of rules in EC2 security group
• Over-utilized Amazon EBS magnetic volumes
• Amazon EC2 to EBS throughput optimization
• Amazon CloudFront alternate domain names
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 145
Knowledge Check
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 146
True or False: Auto Scaling helps you ensure that you have the correct
number of EC2 instances available to handle the load for your application.
True
Q: What feature would you use with an auto scaling policy to determine
when your auto scaling group should scale out/in?
Amazon CloudWatch alarms
Q: You have an application composed of individual services and need to
route a request to a service based on the content of the request. What
type of load balancer should you use?
Application Load Balancer
Q: Which AWS service serves as a best practice and recommendation
engine?
AWS Trusted Advisor
155
Module 6
Course Wrap-Up
Learning Path
AWS Introduction
• The AWSCloud
• History
• Global
Infrastructure
• AWS
Management
Console
AWS Foundational
Services
• Compute:
• Amazon EC2
• Networking:
• Amazon VPC
• Storage:
• Amazon EBS
• Amazon S3
• Security
• IAM
• Databases:
• Amazon
DynamoDB
• Amazon RDS
AWS Management
Tools
• Triad of Services:
• Auto Scaling
• ELB
• Amazon
CloudWatch
• AWS Trusted
Advisor
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 148
Expand Your Cloud Skills with AWS
Certification
Validate your proven
technical expertise with the
AWS platform and gain
recognition for your skills
aws.amazon.com/certification
Online videos and
labs
Start working with an AWS
service in minutes with free
online instructional videos
and labs
aws.amazon.com/training/
self-paced-labs
Learn how to design, deploy,
and operate highly available,
cost-effective, and secure
applications onAWS
aws.amazon.com/training
Instructor-led courses
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 149
Self-Paced Labs
• Learn an individual AWS Service topic
• Follow a Learning Quest by AWS
Service Area or Use Case
• Practice working with AWS as
you prepare for an exam
For more information, see aws.amazon.com/training/self-paced-labs/.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 150
AWS ILT Training Courses
AWS Technical Essentials
1 day
Architecting on AWS
3 days
Developing on AWS
3 days
Systems Operations on AWS
3 days
Big Data on AWS
3 days
Advanced Architecting on
AWS
3 days
DevOps Engineering on AWS
3 days
Security Operations onAWS
3 days
Data Warehousing on AWS
3 days
Taking AWS Operations to the
Next Level
1 day
Building a Recommendation
Engine on AWS
1 day
Securing Next-Gen
Applications at Cloud Scale
1 day
Running Container-Enabled
Microservices on AWS
1 day
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 151
AWS Certification
AWS Certified Solutions
Architect - Professional
AWS Certified
Developer -Associate
AWS Certified SysOps
Administrator-Associate
AWS Certified Solutions
Architect -Associate
AWS Certified DevOps Engineer - Professional
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 152
For more information, see aws.amazon.com/certification.
Benefits of AWS Certification
Individual
• Demonstrate expertise
• Stand out
• Industry visibility
• Customer visibility
• Peer recognition
• Credibility with
customers
Employer
• Baseline bar on AWS skills
• Identify expert talent
• Leverage best practices
• Reduce operational risk
• Increase business advantage
• Maximize AWS efficiencies
• Common vocabulary
• Accelerate time to cloud
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 153
Preparing for AWS Certification
Practice Exams
Self-Paced Labs on qwikLABS
AWS Whitepapers &
FAQs
AWS Documentation &
Reference Architectures
For resources to help you prepare for the
certification exam, see
aws.amazon.com/certification.
Exam Guides &
Sample Questions
AWS-Authored Study Guide
AWS Technical Training
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 154
163
AWS Support
Support Options
The Technical Account Manager provides...
 A dedicated voice within AWS to serve as
your advocate.
 Proactive guidance and insight into ways to
optimize AWS through business and
performance reviews.
 Orchestration and access to the full breadth
and depth of technical expertise across the
full range ofAWS.
 Access to resources and best practice
recommendations.
Infrastructure Event Management provides...
 A common understanding of eventobjectives
and use cases through pre-event planning
and preparation.
 Resource recommendations and deployment
guidance based on anticipated capacity
needs.
 Dedicated attention of the your AWS Support
team during your event.
 The ability to immediately scale down
resources to normal operating levels post-
event.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 156
Support Options
AWS Trusted Advisor provides...
 Insight into how and where you can get the
most impact for your AWS spend.
 Opportunities to reduce your monthly spend
and retain or increase productivity.
 Guidance on getting the optimal
performance and availability based on your
requirements.
 Confidence that your environment is secure.
The Concierge Service provides...
 A primary contact to help manageAWS
resources.
 Personalized handling of billing inquiries, tax
questions, service limits, and bulk reserve
instance purchases.
 Direct access to an agent to help optimize
costs, and identify underutilized resources.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 157
Support Comparison
Enterprise Business Developer Basic
Customer Service 24x7x365
Support Forums
Documentation, White Papers, Best Practice Guides
AWS Trusted Advisor Full Checks Full Checks Basic Checks Basic Checks
Access to Technical Support Phone, chat, email, live screen sharing, TAM(24/7) Phone, chat, email, live screen sharing Email (local business hours) Support for Health Checks
Primary Case Handling Sr. Cloud Support Engineer Cloud Support Engineer Cloud Support Associate Technical CustomerService
Associate
Users who can create Technical Support cases Unlimited (IAM supported) Unlimited (IAM supported) 1 (account credentials only)
Case Severity/Response Times Critical: < 15 minutes
Urgent: < 1hour
High: < 4 hours
Normal: < 12hours
Low: < 24hours
Urgent: < 1 hour
High: < 4hours
Normal: < 12 hours
Low: < 24hours
Normal: < 12 hours
Low: < 24 hours
Architecture Support Application Architecture Use case guidance Building blocks
Best Practice Guidance
Client-Side DiagnosticTools
AWS Support API
Third-Party Software Support
Infrastructure Event Management Available at additional cost
AWS Concierge
Direct access to Technical Account Manager (TAM)
Prioritized Case Routing
Management Business Reviews
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 158
Module 7
Course Appendix
159
Module 1 Appendix
AWS Introduction and History
160
Cloud Computing Concepts
161
What is cloud computing?
Cloud computing is on-demand delivery of IT resources
and applications via the Internet with pay-as-you-go
pricing.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 162
Essential Characteristics of Cloud Computing
On-Demand Self
Services
Broad Network Access
Resource Pooling
Rapid Elasticity
Measured Service
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 163
On-Demand Self Services & Broad Network
Access
• User provisions computing resources as needed.
• User interacts with cloud service provider through an online
control panel.
• Clear solutions are available through a variety of network-
connected devices and over varying platforms.
Internet
Client Mobile Client
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 164
Resource Pooling
Securely separate resources to service multiple customers.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 165
Rapid Elasticity
Resources are quickly scalable and flexible based on
business needs.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 166
Measured Service
Pay for services as you go.
Electrical services
analogy
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 167
What Does My AWS Cloud Look Like?
168
Module 2 Appendix
AWS Foundational Services
169
Data Center Design Models
170
Application Design Model
One-Tier Model
Mainframe
Clients
Two-Tier Model
SQL
Client Database
Servers
Client
Three-Tier Model
HTTP, SQL, ODBC,
RPC JDBC
Application Database
Server Servers Client
N-Tier Model
Web
Server Middleware
Application
Servers
Database
Servers
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 171
Web Services Model
Web Server Application Server Database Server
Serves web pages
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 172
• Implements business logic
• Manipulates data
• Data mining
• Accesses data store
• High transaction rate
• High bandwidth
• Low latency
Amazon EC2
173
AMI Types - Storage for the Root Device
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 174
Characteristic Amazon EBS-Backed Amazon Instance Store-Backed
Boot time Usually < 1 minute Usually < 5 minutes
Size limit 16 TiB 10 GiB
Data
persistence
The root volume is deleted when the instance
terminates. Data on any other Amazon EBSvolumes
persists after the instance is terminated.
Data on any instance store volumes persists
only during the life of the instance.
Charges Instance usage, Amazon EBS volume usage,and
storing your AMI as an Amazon EBSsnapshot.
Instance usage and storing your AMI in
Amazon S3.
Stopped state Can be stopped. Cannot be stopped.
Storage Concepts and
Solutions
175
Block and File Level Storage
Block Level Storage File Level Storage
Block File
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 176
Storage Technologies
DAS
Client Client
DAS Storage Server Server
DAS Storage
NAS
Client Client
NAS Storage
Server Server
SAN
Client Client
Server Server
FC Switch
RAID 1
RAID 2 SAN
Storage
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 177
Amazon S3
178
Amazon S3 Buckets
• Organize the Amazon S3 namespace at the highestlevel.
• Identify the account responsible for storage and data transfer
charges.
• Play a role in access control.
• Serve as the unit of aggregation for usage reporting.
• Have globally unique bucket names, regardless of the AWSregion
in which they were created.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 179
Amazon S3 Region Considerations
• Amazon S3 creates a bucket in the region you select.
• You can choose a region to:
• Optimize latency
• Minimize costs
• Address regulatory requirements
• Objects stored in a region never leave the region unless
you explicitly transfer them to another region.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 180
Amazon S3 Objects
• Objects are the fundamental entities stored in Amazon S3.
• When using the console, you can think of them as files.
• Objects consist of data and metadata. The data portion is
opaque to Amazon S3. The metadata is a set of name-value
pairs that describe the object.
• Default metadata such as the date last modified
• Standard HTTP metadata such as Content-Type
• Custom metadata at the time the object is stored
• A key that uniquely identifies as object within its bucket
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 181
Amazon S3 + Amazon Glacier
S3 Lifecycle policies allow you to delete or move
objects based on age and set rules per S3 bucket.
bucket with
objects
30 Days
Glacier
archive
365 Days
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 182
Amazon EBS
183
192
EBS Performance
EBS Magnetic
• 40-200 IOPS
EBS General Purpose SSD
• SSD backed
• 3 IOPS / GB
• Burstable to 3,000 IOPS and up to 10,000 IOPS
EBS Provisioned IOPS SSD
• SSD backed
• Up to 20,000 IOPS consistently
• Up to 320 MB/s throughput
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
193
Amazon CloudFront
Amazon CloudFront
• Easy and cost effective way to distribute
content to end users
• Low latency, high data transfer speeds
• Deliver your entire website, including static,
dynamic, and streaming content using a global
network of edge locations
Amazon
CloudFront
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 186
How You Configure CloudFront to Deliver
Your Content
Developer
S3 bucket or
HTTP server
1
Objects/data
2
Web distribution
CloudFront
3
http://d111111abcdef8.cloudfront.net
Edge
locations
Your distribution’s
configuration
4
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 187
How CloudFront Delivers Content to Your
Users
Amazon S3 server
or HTTP server
User Website
example.com
1
3a
Edge location
Object/data
3b
Object/
data
3/3c
2
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 188
197
Networking Concepts
What is a Network?
A network is two or more computers linked
to share resources, exchange files, or allow
electronic communications.
Network Types:
• Local Area Network (LAN)
• Wide Area Network (WAN)
• Virtual Private Network (VPN)
WAN
LAN LAN
VPN
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 190
Physical vs. Logical Topology
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 191
• A physical topology defines how the systems arephysically
connected.
• A logical topology defines how the systems communicateacross
the physical topologies.
Physical Network Hardware/Devices
Workstations/
Devices
Route
r
Telecommunication
s
Firewal
l
Server
s
Internet
Route
r
Firewal
l
Switc
h
Switc
h
Workstations/Devices
Server
s
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 192
201
Amazon VPC
202
Networking in Your VPC
You can use the following components to configure networking in
your VPC:
• IP addresses
• Elastic network interfaces
• Route tables
• Internet gateways
• Network Address Translation (NAT)
• Dynamic Host Configuration Protocol (DHCP) options sets
• Domain Name System (DNS)
• VPC peering
• VPC endpoints
• VPC flow logs
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Module 3 Appendix
Security, Identity, and Access
Management
195
Data Center Security
196
Physical & Environmental Security
• Lock your data center.
• Only provide access to those who need it.
• Keep track of access.
• Mount servers on racks with locks.
• Have redundant utilities.
• Build your data center with security in mind.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 197
Network Security
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 198
• Identification &Authentication
• Firewalls
• Patching
• Virus Protection
• Encryption
AWS IAM
Advanced Concepts
199
AWS Resource-Based Policies
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 200
• Are an alternative to IAM and supported by some services.
• Grant cross-account access to your resources.
• Use a principal to uniquely identify accounts in the policy.
• Supported AWS services include :
• Amazon S3 Bucket Policy
• Amazon SNS Topic Policy
• Amazon SQS Queue Policy
• Amazon Glacier Vault Policy
• AWS OpsWorks Stack Policy
• AWS Lambda Function Policy
Access to AWS Resources
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 201
Temporary Security Credentials
• Security Token Service
• AssumeRole
• AssumeRoleWithSAML
• AssumeRoleWithWebIdentity
AWS Services support for IAM Roles
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 202
• AWS CLI on Amazon EC2
• AWS CloudTrail logs to Amazon S3
• Amazon Elastic Transcoder access to Amazon S3
• AWS Elastic Beanstalk access to AWS services
• AWS Lambda code access to AWS services
• Many more …
Module 4 Appendix
Databases
203
Security Groups
Allow access to IP address ranges or Amazon EC2
instances you specify.
Use VPC security groups to control access to a DB
instance inside a VPC.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 204
DB Parameter & Option Groups
DB parameter groups:
• Contain engine configuration values that can be applied to one or
more DB instances of the same instance type.
• Are applied by Amazon RDS by default when you create DB
instance, which contains defaults for the specific database engine
and instance class of the DB instance.
DB option groups:
• Tools that simplify database
management.
• Currently available for Oracle,
Microsoft SQL Server, and MySQL 5.6
DB instances.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 205
Supported Operations
Table Operations:
• Create, update, and delete tables.
• After creation, you can increase or decrease provisioned
throughput.
• Retrieve the table’s status, the primary key, and when the table was
created.
• List all tables in your account for a region.
Item Operations:
• Add, update, and delete items from a table.
• Add, update, and delete existing attributes from an item.
• Perform conditional updates.
• Retrieve a single item or multiple items.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 206
Local Secondary Index
Partition Key
Sort Key
LSI
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 207
Table: Music
Partition Key: Artist
Sort Key: Song Title
LSI: Album Title
T
able:
Music
Artist Song
Title
Album Year
Title
Genre
Global Secondary Index
Choose which attributes
to project (if any)
Year Song Title
Table: Music
Partition Key: Artist
Sort Key: Song Title
GSI: MusicGSI
Partition Key: Genre
Sort Key: Year
T
able:
Music
Artist
Song
Title
Album
Title
Year Genre
Genre
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 208
Module 5 Appendix
AWS Elasticity and
Management Tools
209
AutoScaling
Advanced Concepts
210
219
Scaling Plans
Auto Scaling
Minimum
Health Check
monitors running
instances within an
Auto Scaling
group.
If an unhealthy
instance is found, it
can be replaced.
Manual Scaling
Specify a new
minimum for your
Auto Scaling
group.
Manually invoke
Auto Scaling
policies.
Scheduled
Scaling
Scaling functions
are performed as a
function of time
and date.
On Demand
Scaling
You create a policy
to scale your
resources.
Define when to
scale using
CloudWatch
Alarms.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
220
Elastic Load Balancing
Advanced Concepts
Load Balancer Types
Availability ZoneA Availability ZoneB
EC2 instances
EC2 instances
Internet-Facing
Load balancer
EC2 instances
EC2 instances
HTTPS
SSL handler/load
balancer
HTTPS traffic
Availability ZoneB
Availability ZoneA
Internal
EC2 instances
private subnet
Availability ZoneB
public subnet public subnet
Load balancer
EC2 instance EC2 instance
EC2 instances
private subnet
Availability ZoneA
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 213
Request Routing
client
DNS server
Load Balancer
Routing
Algorithm EC2 instance
security group
Auto Scaling group
EC2 instance EC2 instance
security group
Auto Scaling group
IP Addresses
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 214
elb.example.org
Listeners
• A listener is a process that checks for connectionrequests.
• Front-end connections are:
• Client to load balancer connections.
• Configured with a protocol and a port.
• Back-end connections are:
• Load balancer to back-end instance connections.
• Configured with a protocol and a port .
• ELB supported protocols:
• HTTP
• HTTPS
• TCP
• SSL
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 215
Back-end Instances for Your Load Balancer
• Health checks
• Security groups
• Subnets
• Register
• De-register instances
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 216
CloudWatch Advanced
Concepts
217
CloudWatch Alarms
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 218
Supported AWS Services
Auto Scaling
Amazon
CloudFront
Amazon CloudWatch
Amazon
CloudSearch
Amazon
DynamoDB
Amazon EC2
Amazon EBS
Elastic Load
Balancing
Amazon EMR
Amazon Kinesis Amazon EC2
Container Service
AWS OpsWorks
Amazon RDS
Amazon
Route 53
Amazon SNS Amazon Redshift Amazon
ElastiCache
Amazon
SQS
Amazon
SWF
Amazon S3
AWSStorage
Gateway
Amazon
WorkSpaces
Amazon Machine
Learning
AWS Lambda AWSWAF
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 219
Module 6 Appendix
Course Wrap-Up
220
AWS Support
221
Case Severity & Response Times
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 222
Critical Urgent High Normal Low
Enterprise Plan
(24 x 7)
15 minutes or less 1 hour or less 4 hours or less 12 hours or less 24 hours or less
Business Plan
(24 x 7)
1 hour or less 4 hours or less 12 hours or less 24 hours or less
Developer Plan
(Business hours)
12 hours or less 24 hours or less
Pricing
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 223
Basic Developer Business Enterprise
Included $29/month
-or-
3% of monthly
AWS spend
Greater of $100
-or-
10% of monthly AWS usage forthe
first $0-$10K
7% of monthly AWS usagefrom
$10K-$80K
5% of monthly AWS usagefrom
$80K-$250K
3% of monthly AWS usageover
$250K
Greater of $15,000
-or-
10% of monthly AWS usage for thefirst
$0-$150K
7% of monthly AWS usagefrom
$150K-$500K
5% of monthly AWS usagefrom
$500k-$1M
3% of monthly AWS usageover
$1M
Pricing Examples
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 224
Business Pricing Example
For $85K in AWS monthlyusage:
$10,000 x 10% = $1,000
(10% of the first $0 - $10K of usage)
+ $70,000 x 7% = $4,900
(7% of usage from $10K - $80K)
+ $5,000 x 5% = $250
(5% of usage from $80K - $250K)
+ $0 x 3% = $0
(3% of usage over $250K)
Total: $6,500
Enterprise PricingExample
For $1.2M in AWS monthlyusage:
$150,000 x 10% = $15,000
(10% of the first $0 - $150K of usage)
+ $350,000 x 7% = $24,500
(7% of usage from $150K - $500K)
+ $500,000 x 5% = $25,000
(5% of usage from $500K - $1M)
+ $200,000 x 3% = $6,000
(3% of usage over $1M)
Total: $70,500
233
© 2016 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.
Errors or corrections? 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

Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...
Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...
Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...InfluxData
 
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...lanfranf
 
AWSome Day 2016 - Module 2: Infrastructure Services
AWSome Day 2016 - Module 2: Infrastructure ServicesAWSome Day 2016 - Module 2: Infrastructure Services
AWSome Day 2016 - Module 2: Infrastructure ServicesAmazon Web Services
 
AWSome Day - Milan, July 24th 2014
AWSome Day - Milan, July 24th 2014AWSome Day - Milan, July 24th 2014
AWSome Day - Milan, July 24th 2014Amazon Web Services
 
AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10Amazon Web Services
 
VMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesVMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesAmazon Web Services
 
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWSVMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWSAmazon Web Services Korea
 
20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App MeshAmazon Web Services Japan
 
Getting-started-with-containers on AWS
Getting-started-with-containers on AWSGetting-started-with-containers on AWS
Getting-started-with-containers on AWSAmazon Web Services
 
AWSome Day Berlin 18.6.2014
AWSome Day Berlin 18.6.2014AWSome Day Berlin 18.6.2014
AWSome Day Berlin 18.6.2014tecRacer
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWSAmazon Web Services
 
AWS Summit Stockholm 2014 – T2 – Understanding AWS security
AWS Summit Stockholm 2014 – T2 – Understanding AWS securityAWS Summit Stockholm 2014 – T2 – Understanding AWS security
AWS Summit Stockholm 2014 – T2 – Understanding AWS securityAmazon Web Services
 
Pitt Immersion Day Module 5 - security overview
Pitt Immersion Day Module 5 - security overviewPitt Immersion Day Module 5 - security overview
Pitt Immersion Day Module 5 - security overviewEagleDream Technologies
 
What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?Sébastien ☁ Stormacq
 
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化Amazon Web Services Japan
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems ManagerAmazon Web Services Japan
 
Hybrid Cloud Architectures on VMware Cloud on AWS.pdf
Hybrid Cloud Architectures on VMware Cloud on AWS.pdfHybrid Cloud Architectures on VMware Cloud on AWS.pdf
Hybrid Cloud Architectures on VMware Cloud on AWS.pdfAmazon Web Services
 

What's hot (20)

Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...
Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...
Mansi Vaghela [AWS] | Introduction to the APN Technical Baseline Review | Inf...
 
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
 
AWSome Day 2016 - Module 2: Infrastructure Services
AWSome Day 2016 - Module 2: Infrastructure ServicesAWSome Day 2016 - Module 2: Infrastructure Services
AWSome Day 2016 - Module 2: Infrastructure Services
 
AWSome Day - Milan, July 24th 2014
AWSome Day - Milan, July 24th 2014AWSome Day - Milan, July 24th 2014
AWSome Day - Milan, July 24th 2014
 
AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10
 
IAM Best Practices
IAM Best PracticesIAM Best Practices
IAM Best Practices
 
VMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning SeriesVMware Cloud on AWS - AWS Learning Series
VMware Cloud on AWS - AWS Learning Series
 
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWSVMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
VMware on AWS를 통한 하이브리드 클라우드 구축 적용 - 홍정진, AWS Partner SA/ VMC on AWS
 
20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh20200721 AWS Black Belt Online Seminar AWS App Mesh
20200721 AWS Black Belt Online Seminar AWS App Mesh
 
Technical Track
Technical TrackTechnical Track
Technical Track
 
Getting-started-with-containers on AWS
Getting-started-with-containers on AWSGetting-started-with-containers on AWS
Getting-started-with-containers on AWS
 
AWSome Day Berlin 18.6.2014
AWSome Day Berlin 18.6.2014AWSome Day Berlin 18.6.2014
AWSome Day Berlin 18.6.2014
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWS
 
AWS Summit Stockholm 2014 – T2 – Understanding AWS security
AWS Summit Stockholm 2014 – T2 – Understanding AWS securityAWS Summit Stockholm 2014 – T2 – Understanding AWS security
AWS Summit Stockholm 2014 – T2 – Understanding AWS security
 
Pitt Immersion Day Module 5 - security overview
Pitt Immersion Day Module 5 - security overviewPitt Immersion Day Module 5 - security overview
Pitt Immersion Day Module 5 - security overview
 
What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?What is Amazon Web Services & How to Start to deploy your apps ?
What is Amazon Web Services & How to Start to deploy your apps ?
 
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化
20190312 AWS Black Belt Online Seminar AWS Well-Architected Frameworkによるコスト最適化
 
Your First Week with Amazon EC2
Your First Week with Amazon EC2Your First Week with Amazon EC2
Your First Week with Amazon EC2
 
20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager20200212 AWS Black Belt Online Seminar AWS Systems Manager
20200212 AWS Black Belt Online Seminar AWS Systems Manager
 
Hybrid Cloud Architectures on VMware Cloud on AWS.pdf
Hybrid Cloud Architectures on VMware Cloud on AWS.pdfHybrid Cloud Architectures on VMware Cloud on AWS.pdf
Hybrid Cloud Architectures on VMware Cloud on AWS.pdf
 

Similar to awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_11_35_48.pptx

AWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and HistoryAWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and HistoryAmazon Web Services
 
Bootcamp: Getting Started on AWS
Bootcamp: Getting Started on AWSBootcamp: Getting Started on AWS
Bootcamp: Getting Started on AWSAmazon Web Services
 
AWSome Day Glasgow | Technical Track
AWSome Day Glasgow | Technical TrackAWSome Day Glasgow | Technical Track
AWSome Day Glasgow | Technical TrackAmazon Web Services
 
AWSome Day Cork | Technical Track
AWSome Day Cork | Technical TrackAWSome Day Cork | Technical Track
AWSome Day Cork | Technical TrackAmazon Web Services
 
Awsome Day Brussels - Training and Introduction
Awsome Day Brussels - Training and IntroductionAwsome Day Brussels - Training and Introduction
Awsome Day Brussels - Training and IntroductionAmazon Web Services
 
Module 1: AWS Introduction and History - AWSome Day Online Conference - APAC
Module 1: AWS Introduction and History - AWSome Day Online Conference - APACModule 1: AWS Introduction and History - AWSome Day Online Conference - APAC
Module 1: AWS Introduction and History - AWSome Day Online Conference - APACAmazon Web Services
 
Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand Amazon Web Services
 
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...Amazon Web Services Korea
 
AWSome Day Lisboa 2017
AWSome Day Lisboa 2017AWSome Day Lisboa 2017
AWSome Day Lisboa 2017Julio Faerman
 

Similar to awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_11_35_48.pptx (20)

Getting Started on AWS
Getting Started on AWSGetting Started on AWS
Getting Started on AWS
 
Getting Started with AWS
Getting Started with AWSGetting Started with AWS
Getting Started with AWS
 
AWSome Day | Tech Track
AWSome Day | Tech TrackAWSome Day | Tech Track
AWSome Day | Tech Track
 
AWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and HistoryAWSome Day 2016 - Module 1: AWS Introduction and History
AWSome Day 2016 - Module 1: AWS Introduction and History
 
Bootcamp: Getting Started on AWS
Bootcamp: Getting Started on AWSBootcamp: Getting Started on AWS
Bootcamp: Getting Started on AWS
 
AWSome Day Glasgow | Technical Track
AWSome Day Glasgow | Technical TrackAWSome Day Glasgow | Technical Track
AWSome Day Glasgow | Technical Track
 
AWSome Day Cork | Technical Track
AWSome Day Cork | Technical TrackAWSome Day Cork | Technical Track
AWSome Day Cork | Technical Track
 
AWSome Day Digital LATAM
AWSome Day Digital LATAMAWSome Day Digital LATAM
AWSome Day Digital LATAM
 
Awsome Day Brussels - Training and Introduction
Awsome Day Brussels - Training and IntroductionAwsome Day Brussels - Training and Introduction
Awsome Day Brussels - Training and Introduction
 
Module 1: AWS Introduction and History - AWSome Day Online Conference - APAC
Module 1: AWS Introduction and History - AWSome Day Online Conference - APACModule 1: AWS Introduction and History - AWSome Day Online Conference - APAC
Module 1: AWS Introduction and History - AWSome Day Online Conference - APAC
 
Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand Module 1 - AWSome Day Online Conference Thailand
Module 1 - AWSome Day Online Conference Thailand
 
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...
[AWS에서의 미디어 및 엔터테인먼트] AWS 개요, 클라우드 스토리지 및 Amazon CloudFront, Elastic Transcod...
 
AWSome Day Intro
AWSome Day IntroAWSome Day Intro
AWSome Day Intro
 
AWSome Day - 2018
AWSome Day - 2018AWSome Day - 2018
AWSome Day - 2018
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
AWSome Day 2019 - Detroit
AWSome Day 2019 - DetroitAWSome Day 2019 - Detroit
AWSome Day 2019 - Detroit
 
Fundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWSFundamentals of Cloud Computing & AWS
Fundamentals of Cloud Computing & AWS
 
AWSome Day Leeds
AWSome Day Leeds AWSome Day Leeds
AWSome Day Leeds
 
AWSome Day Lisboa 2017
AWSome Day Lisboa 2017AWSome Day Lisboa 2017
AWSome Day Lisboa 2017
 

Recently uploaded

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 

awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_11_35_48.pptx

  • 2. Course Objectives © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 This course teaches you how to: • Recognize terminology and concepts as they relate to the AWS platform and navigate the AWS Management Console. • Understand the foundational services, including Amazon Elastic Compute Cloud (EC2), Amazon Virtual Private Cloud (VPC), Amazon Simple Storage Service (S3), and Amazon Elastic Block Store (EBS). • Understand the security measures AWS provides and key concepts of AWS Identity and Access Management (IAM). • Understand AWS database services, including Amazon DynamoDB and Amazon Relational Database Service (RDS). • Understand AWS management tools, including Auto Scaling,Amazon CloudWatch, Elastic Load Balancing (ELB), and AWS TrustedAdvisor.
  • 3. Module Layout © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 • Module 1: Introduction and History of AWS • Module 2: Foundational Services – Amazon EC2, Amazon VPC, Amazon S3, Amazon EBS • Module 3: Security, Identity, and Access Management - IAM • Module 4: Databases – Amazon DynamoDB and Amazon RDS • Module 5: AWS Elasticity and Management Tools – Auto Scaling, Elastic Load Balancing, Amazon CloudWatch, and AWS TrustedAdvisor • Module 6: Course Wrap-Up • Module 7: Course Appendix
  • 4. Module 1 Introduction and History of AWS 4
  • 5. Amazon History 1994: Jeff Bezos incorporatedthe company. 1995: Amazon.com launched its online bookstore. 2005: Amazon Publishing was launched. 2006: Amazon Web Services (AWS) was launched. 2007: Kindle was launched. 2011: Amazon Fresh was launched. 2012: Amazon Game Studios was launched. 2013: Amazon Art was launched. 2014: Amazon Prime Now was launched. 2015: Amazon Home Services and Amazon Echo were launched. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5
  • 6. Amazon Web Services (AWS) Messaging Mobile Database Networking Compute App Services Payments On-Demand Workforce VPC Analytics Development and Management Tools Content Delivery Storage Enable businesses and developers to use web services to build scalable, sophisticated applications. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6
  • 7. AWS Rapid Pace of Innovation 2009 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 7 New Features/Services Launched 159 82 48 722 2011 2013 2015
  • 8. 2,420 Connect Amazon WorkDocs AWS Direct AWS Elastic Beanstalk AWS GovCloud (US) AWS OpsWorks AWS CloudTrail Amazon ElastiCache AWS CloudHSM Amazon WorkSpaces Amazon Kinesis Amazon SES Amazon Elastic Transcoder Amazon WorkMail AWS CertificateManager Amazon EFS Amazon Redshift AWS Identity and Access Management Amazon AppStream Amazon DynamoDB Amazon SNS Amazon Route 53 AWS Lambda AWS CloudFormation Amazon SWF AWS Data Pipeline AWSConfig Amazon RDS for Aurora AWS Directory Service AWSCodeCommit Amazon EC2 Container Registry AWS CodePipeline AWSService Catalog Amazon CloudWatch Logs Amazon Mobile Analytics AWS Import/Export 8 Amazon RDS for MariaDB AWS Mobile Hub AWS KMS Amazon API Gateway Amazon Machine Learning Amazon CloudSearch Amazon Glacier AWS Device Farm AWS WAF Elasticsearch Service Amazon QuickSight AWS Import/Export Amazon Inspector AWS IoT AWS StorageGateway Amazon EC2 Container Service Amazon Cognito AWS CodeDeploy © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. As of 1 August 2016 Services and Features
  • 9. AWS Customers Enterprise Customers Startup Customers Public Sector Customers © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 9
  • 10. Advantages and Benefits of AWS Cloud Computing Trade capital expense for variable expense. Benefit from massive economies of scale. Stop guessing capacity. Increase speed and agility. Stop spending money on running and maintaining data centers. Go global in minutes. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 10
  • 11. 11 Gartner Magic Quadrant for Cloud Infrastructure as a Service, Worldwide Gartner “Magic Quadrant for Cloud Infrastructure as a Service, Worldwide,” Lydia Leong, Gregor Petri, Bob Gill, Mike Dorosh, 03 August 2016. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report. The Gartner report is available at https://aws.amazon.com/resources/analyst-reports/ . Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantabilityor fitness fora particularpurpose.
  • 12. 12 AWS Core Infrastructure and Services Networ k NACLs Access Mgmt VPC EC2 “Classic” “ Public ” ELB On-Demand Provisio n Traditional Infrastructure Amazon Web Services Security Security Server s AMI Amazon EC2 Instances On-Premises Servers Securit y Security Groups Security Groups NetworkACLs AWS IAM Firewalls ACLs Administrators Storage and Databas RDBMS DAS SAN NAS Amazon EBS Amazon EFS Amazon S3 Amazon RDS Networking Network VPC ELB Router Network Pipeline Switch
  • 13. 13 Infrastructure Regions Edge Locations Availability Zones Foundation Services Compute (Virtual, Auto-scalingand Load Balancing) Networking Applications Virtual Desktops Collaboration and Sharing Platform Services AWS Cloud Computing Databases Relational NoSQL Caching Analytics Cluster Computing Real-time Data Warehouse Data Workflows App Services Queuing Orchestration App Streaming Transcoding Email Search Deployment and Management Containers Dev/ops Tools Resource Templates Usage Tracking Monitoring and Logs Mobile Services Identity Sync Mobile Analytics Notifications Storage (Object, Block and Archive)
  • 14. Compute Network Storage Security & Identity Applications AWS Foundation Services Amazon EC2 AWS Lambda Amazon EC2 Container Service AWS Elastic Beanstalk Elastic Load Balancing AWS Direct Connect Amazon Amazon VPC Route53 Amazon Amazon S3 CloudFront Amazon Elastic File System Amazon Glacier AWS Storage Gateway AWS Import/Export AWS Identity and Access Management AWS Directory Service AWS Cloud HSM AWS KMS AWS WAF Amazon Amazon WorkDocs WorkSpaces Auto Scaling © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 14 Amazon WorkMail
  • 15. Databases Analytics App Services Management Tools Developer Tools Mobile Services Internet of Things AWS Platform Services Amazon Amazon RDS DynamoDB Amazon Amazon ElastiCache Redshift Amazon AWS EMR Data Pipeline Amazon Kinesis Amazon Amazon Elasticsearch Machine Service Learning Amazon API Gateway Amazon Amazon SES AppStream Amazon Amazon CloudSearch SQS Amazon Amazon Elastic SWF Transcoder AWS AWS CloudFormation Config AWS Amazon OpsWorks CloudWatch AWS AWS Service CloudTrail Catalog AWS AWS CodeCommit CodeDeploy AWS CodePipeline Amazon AWS Cognito Device Farm Amazon Amazon Mobile SNS Analytics Mobile Hub AWS IoT Trusted AWS Advisor Certificate Manager AWS Database Migration Service © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 15
  • 16. AWS Global Infrastructure © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 16 Regions • Geographic locations • Consist of at least two Availability Zones Availability Zones • Clusters of data centers • Isolated from failures in other Availability Zones
  • 17. AWS Global Infrastructure © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 17
  • 18. AWS Global Infrastructure At least 2 Availability Zones per region. Examples: • US East (N. Virginia) • us-east-1a • us-east-1b • us-east-1c • us-east-1d • us-east-1e • Asia Pacific (Tokyo) • ap-northeast-1a • ap-northeast-1b • ap-northeast-1c Note: Conceptual drawing only. The number of Availability Zones (AZ) may vary. US East (VA) AZ - A AZ - B AZ - C AZ - D AZ - E Asia Pacific (Tokyo) AZ - A AZ - B AZ - C © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 18
  • 19. High Availability Using Multi-AZ Deployments Availability Zone - A Availability Zone - B Availability Zone - C © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 19 Region
  • 20. AWS Global Infrastructure 50+ AWS Edge locations - local points of presence commonly supporting AWS services like: • Amazon Route 53 • Amazon CloudFront © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 20
  • 22. 22 Knowledge Check Q: What is the AWS term for physically distinct groups of datacenters within a region? Availability Zone True or False: There are more Regions than Edge locations. False True or False: AWS owns and maintains the infrastructure requiredfor application services. You provision and use them as needed. True Q: How do Availability Zones in the same region differ? Each Availability Zone is isolated, but the Availability Zones in a region are connected through low-latency links. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 24. 24 Module 2 Layout • Amazon Elastic Compute Cloud (EC2) • Amazon Virtual Private Cloud (VPC) • Amazon Storage Services • Amazon Simple Storage Service (S3) • Amazon Elastic Block Store (EBS) © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 26. Amazon Elastic Compute Cloud (EC2) • Resizable compute capacity • Complete control of your computing resources • Reduced time required to obtain and boot new server instances Amazon EC2 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 26
  • 27. Amazon EC2 Facts • Scale capacity as your computing requirements change • Pay only for capacity that you actually use • Choose Linux or Windows • Deploy across AWS Regions and Availability Zones for reliability • Use tags to help manage your Amazon EC2 resources © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 27
  • 28. Launching an Amazon EC2 Instance via the Management Console 1. Determine the AWS Region in which you want to launch the Amazon EC2 instance. 2. Launch an Amazon EC2 instance from a pre-configuredAmazon Machine Image (AMI). 3. Choose an instance type based on CPU, memory, storage, and network requirements. 4. Configure network, IP address, security groups, storagevolume, tags, and key pair. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 28
  • 29. Amazon Machine Image (AMI) Details An AMI includes the following: • A template for the root volume for the instance (for example, an operating system, an application server, and applications). • Launch permissions that control which AWS accounts can use the AMI to launch instances. • A block device mapping that specifies the volumes to attach to the instance when it is launched. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 29
  • 30. Instances and AMIs Select an AMI based on: • Region • Operating system • Architecture (32-bit or 64-bit) • Launch permissions • Storage for the root device AMI Instance Launch instances of any type Host computer Instances Host computer © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 30
  • 31. Amazon EC2 Instances OS,Applications, and Configuration AMI Running or StoppedVM Instances EBS EBS Snapshots S3 Region S3 Buckets EBS EBS AZ EBS EBS EBS AZ Instances © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 31 Instances
  • 32. Instance Lifecycle AMI pending Launch running rebooting Reboot Start terminated shutting-down Terminate Terminate EBS-backed instances only Stop stopping stopped © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 32
  • 33. 33 AWS Marketplace – IT Software Optimized for the Cloud • Online store to discover, purchase, and deploy IT software on top of the AWS infrastructure. • Catalog of 2700+ IT software solutions including Paid, BYOL, Open Source, SaaS, and free-to-try options. • Pre-configured to operate on AWS. • Software checked by AWS for security and operability. • Deploys to AWS environment in minutes. • Flexible, usage-based billing models. • Software charges billed to AWS account. Includes AWS Test Drive. https://aws.amazon.com/marketplace
  • 34. Choosing the Right Amazon EC2 Instance AWS uses Intel® Xeon® processors to provide customers with high performance and value. EC2 instance types are optimized for different use cases, workload requirements and come in multiple sizes. Consider the following when choosing your instances: • Core count • Memory size • Storage size and type • Network performance • CPU technologies © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 34
  • 35. AWS EC2 Instances with Intel® Technologies © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 35 AWS Instance Type High Memory X1 Compute- Optimized C4 Storage- Optimized D2 General Purpose M4 Memory- Optimized R3 IO- Optimized I2 Graphics- Optimized G2 Burstable Performance T2 Intel Processor Intel Xeon E7-8880 v3 Custom Intel Xeon E5- 2666 v3 Custom Intel Xeon E5- 2676 v3 Custom Intel Xeon E5- 2676 v3 Intel Xeon E5-2670 v2 Intel Xeon E5-2670 v2 Intel Xeon E5-2670 Intel Xeon Family Intel AVX AVX 2.0 AVX 2.0 AVX 2.0 AVX 2.0 Yes Yes Yes Yes Intel AES-NI Yes Yes Yes Yes Yes Yes No No Intel Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes Intel TSX Yes No No No No No No No Per core P- and C-state control No Yes (8xlarge only) No No No No No No SSD Storage EBS Optimized by default EBS Optimized by default No EBS Optimized by default Yes Yes Yes EBS only
  • 36. Current Generation Instances Instance Family Some Use Cases General purpose (t2, m4, m3) • Low-traffic websites and web applications • Small databases and mid-size databases Compute-optimized (c4, c3) • High performance front-end fleets • Video-encoding Memory-optimized (r3) • High performance databases • Distributed memory caches Storage-optimized (i2, d2) • Data warehousing • Log or data-processing applications GPU instances (g2) • 3D application streaming • Machine learning © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 36
  • 37. Instance Metadata • Is data about your instance. • Can be used to configure or manage a running instance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 37
  • 38. Adding User Data • You can specify user data when launching an instance. • User data can be: • Linux script – executed by cloud-init • Windows batch or PowerShell scripts – executed by EC2Config service • User data scripts run once per instance ID by default. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 38
  • 39. Amazon EC2 Purchasing Options On-Demand Instances Pay by the hour. Reserved Instances Purchase, at a significant discount, instances that are always available 1-year to 3- year terms. Scheduled Instances Purchase instances that are always available on the specified recurring schedule, for a one-year term. Spot Instances Bid on unused instances, which can run as long as they are available and your bid is above the Spot price. Dedicated Hosts Pay for a physical host that is fully dedicated to running your instances. Dedicated Instances Pay, by the hour, for instances that run on single- tenant hardware. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 39
  • 41. Amazon Virtual Private Cloud (VPC) • Provision a private, isolated virtual network on the AWS cloud. • Have complete control over your virtual networking environment. Amazon VPC © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 41
  • 42. VPCs and Subnets • A subnet defines a range of IP addresses in your VPC. • You can launch AWS resources into a subnet that you select. • A private subnet should be used for resources that won’t be accessible over the Internet. • A public subnet should be used for resources that will be accessed over the Internet. • Each subnet must reside entirely within one Availability Zone and cannot span zones. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 42
  • 43. Amazon VPC Example AWSCloud DB Server Web Server Customer Network R Internet App Server VPC NAT Gateway Internet Gateway Web Server Public Subnet App Server Private Subnet Virtual Private Cloud DB Server VPN Only Subnet © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 43 Virtual Private Gateway
  • 44. Security in Your VPC • Security groups • Network access control lists (ACLs) • Key Pairs Subnet 10.0.1.0/24 Internet Gateway VPN Gateway VPC Router 10.0.0.0/16 Security Group Security Group Network ACL Network ACL Routing Table Routing Table instance instance instance instance Subnet 10.0.0.0/24 Security Group Security Group © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 44
  • 45. VPN Connections VPN Connectivity option Description AWS Hardware VPN You can create an IPsec hardware VPN connection between your VPC and your remote network. AWS Direct Connect AWS Direct Connect provides a dedicated private connection from a remote network to your VPC. AWS VPN CloudHub You can create multiple AWS hardware VPN connections via your VPC to enable communications between various remote networks. Software VPN You can create a VPN connection to your remote network by using an Amazon EC2 instance in your VPC that’s running a software VPN appliance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 45
  • 46. Storage Services Amazon S3 and Amazon EBS 46
  • 47. Amazon Simple Storage Service (S3) • Storage for the Internet • Natively online, HTTP access • Storage that allows you to store and retrieve any amount of data, any time, from anywhere on the web • Highly scalable, reliable, fast and durable Amazon S3 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 47
  • 48. Amazon S3 Facts • Can store an unlimited number of objects in a bucket • Objects can be up to 5 TB; no bucket size limit • Designed for 99.999999999% durability and 99.99% availability of objects over a given year • Can use HTTP/S endpoints to store and retrieve any amount of data, at any time, from anywhere on the web • Is highly scalable, reliable, fast, and inexpensive • Can use optional server-side encryption using AWS or customer-managed provided client-side encryption • Auditing is provided by access logs • Provides standards-based REST and SOAP interfaces © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 48
  • 49. Common Use Scenarios • Storage and backup • Application file hosting • Media hosting • Software delivery • Store AMIs and snapshots © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 49
  • 50. Amazon S3 Concepts • Amazon S3 stores data as objects within buckets • An object is composed of a file and optionally any metadata that describes that file • You can have up to 100 buckets in each account • You can control access to the bucket and its objects Amazon S3 Bucket with Objects Bucket Object © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 50
  • 51. Object Keys An object key is the unique identifier for an object in a bucket. http://doc.s3.amazonaws.com/2006-03-01/AmazonS3.html Bucket Object/Key © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 51
  • 52. Amazon S3 Security • You can control access to buckets and objects with: • Access Control Lists (ACLs) • Bucket policies • Identity and Access Management (IAM)policies • You can upload or download data to Amazon S3 via SSL encrypted endpoints. • You can encrypt data using AWS SDKs. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 52
  • 53. Amazon S3 Versioning • Protects from accidental overwrites and deletes with no performance penalty. • Generates a new version with every upload. • Allows easily retrieval of deleted objects or roll back to previous versions. • Three states of an Amazon S3 bucket • Un-versioned (default) • Versioning-enabled • Versioning-suspended Key: photo.gif ID: 121212 Key: photo.gif ID: 111111 Versioning Enabled © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 53
  • 54. Amazon S3 Object Lifecycle Lifecycle management defines how Amazon S3 manages objects during their lifetime. Some objects that you store in an Amazon S3 bucket might have a well-defined lifecycle: • Log files • Archive documents • Digital media archives • Financial and healthcare records • Raw genomics sequence data • Long-term database backups • Data that must be retained for regulatory compliance © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 54
  • 55. Amazon S3 Pricing • Pay only for what you use • No minimum fee • Prices based on location of your Amazon S3bucket • Estimate monthly bill using the AWS Simple Monthly Calculator • Pricing is available as: • Storage Pricing • Request Pricing • Data Transfer Pricing: data transferred out of Amazon S3 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 55
  • 56. Amazon Glacier • Long term low-cost archiving service • Optimal for infrequently accessed data • Designed for 99.999999999% durability • Three to five hours’ retrieval time • Less than $0.01 per GB/month (depending on region) © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 56
  • 57. Amazon S3 Storage Classes © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 57 Storage Class Durability Availability Other Considerations Amazon S3 Standard 99.999999999% 99.99% Amazon S3 Standard - Infrequent Access (IA) 99.999999999% 99.9% • Retrieval fee associated with objects • Most suitable for infrequently accessed data Glacier 99.999999999% 99.99% (once restored) • Not available for real-time access • Must restore objects before you can access them • Restoring objects can take3-5 hours
  • 59. Amazon Elastic Block Store (EBS) • Persistent block level storage volumes offer consistent and low-latency performance. • Stored data is automatically replicated within its Availability Zone. • Snapshots are stored durably in AmazonS3. Amazon EBS © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 59
  • 60. Amazon EBS Lifecycle Vast amounts of unused space Create Call CreateVolume 1 GiB to 16 TiB Attach Call AttachVolume to affiliatewith one Amazon EC2 instance Attached and In Use • Format from AmazonEC2 instance OS • Mount formatted drive CreateSnapshot Snapshot to Amazon S3 Detach Call DetachVolume Deleted Call DeleteVolume © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 60
  • 61. Amazon EBS Volume Types • SSD-backed volumes are • Optimized for transactional workloads that involve frequent read/write operations with small I/O size. • Dominant in IOPS performance. • HDD-backed volumes are • Optimized for large streaming workloads. • Dominant in throughput (measured in MiB/s). © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 61
  • 62. Amazon EBS Volume Types SSD HDD Volume Type General Purpose SSD (gp2) Provisioned IOPS SSD (io1) Throughput Optimized HDD (st1) Cold HDD (sc1) Description Balances price and performance for a wide variety of transactional loads. Highest- performance SSD volume designed for mission-critical applications. Low-cost HDD designed for frequently accessed, throughput- intensive workloads. Lowest cost HDD designed for less frequently accessed workloads. Volume Sizes 1 GiB – 16 TiB 4 GiB – 16 TiB 500 GiB – 16 TiB 500 GiB – 16 TiB Dominant Performance Attribute IOPS IOPS MiB/s MiB/s © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 62
  • 63. Amazon EBS Facts • EBS is recommended when data must be quickly accessible and requires long-term persistence. • You can launch your EBS volumes as encrypted volumes – data stored at rest on the volume, disk I/O, and snapshots created from the volume are all encrypted. • You can create point-in-time snapshots of EBS volumes, which are persisted to Amazon S3. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 63
  • 64. Amazon EBS Use Cases • OS: Use for boot/root volume, secondary volumes • Databases: Scales with your performance needs • Enterprise applications: Provides reliable block storage to run mission-critical applications • Business continuity: Minimize data loss and recovery time by regularly backing up using EBS Snapshots • Applications: Install and persist any application © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 64
  • 65. Amazon EBS Pricing Pay for what you provision: • Pricing based on region • Review Pricing Calculator online • Pricing is available as: • Storage • IOPS * Check Amazon EBS Pricing page for current pricing for all regions. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 65
  • 66. Amazon EBS Scope Amazon EBS volumes are in a single Availability Zone EBS Volume 1 EBS Volume 2 Availability Zone A Availability Zone B Volume data is replicated across multiple servers in an Availability Zone. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 66
  • 67. Amazon EBS and Amazon S3 Amazon EBS Amazon S3 Paradigm Block storage with file system Object store Performance Very fast Fast Redundancy Across multiple servers in an Availability Zone Across multiple facilities in a Region Security EBS Encryption – Data volumes and Snapshots Encryption Access from the Internet? No (1) Yes (2) Typical use case It is a disk drive Online storage (1) Accessible from the Internet if mounted to server and set up as FTP, etc. (2) Only with proper credentials, unless ACLs are world-readable © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 67
  • 68. Amazon EC2 Instance Storage © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 68 • Is local, complimentary direct attached block storage. • Includes availability, number of disks, and size based on EC2 instance type. • Is optimized for up to 365,000 Read IOPS and 315,000 First Write IOPS. • Is SSD or magnetic. • Has no persistence. • Automatically deletes data when an EC2 instance stops, fails or is terminated.
  • 69. Amazon EBS vs. Amazon EC2 Instance Store © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 69 Amazon EBS • Data stored on an Amazon EBS volume can persist independently of the life of the instance. • Storage is persistent. Amazon EC2 Instance Store • Data stored on a local instance store persists only as long as the instance is alive. • Storage is ephemeral.
  • 70. Reboot vs. Stop vs. Terminate © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 70 Characteristic Reboot Stop/Start (EBS-backed instances only) Terminate Host computer The instance stays on the same host computer. The instance runs on a new host computer. Public IP address No change New address assigned Elastic IP addresses (EIP) EIP remains associated with the instance. EIP remains associatedwith the instance. EIP is disassociated from the instance. Instance store volumes Preserved Erased Erased EBS volume Preserved Preserved Boot volume is deleted by default. Billing Instance billing hour doesn’t change. You stop incurring charges as soon as state is changed to stopping. You stop incurring charges as soon as state is changed to shutting-down.
  • 71. Knowledge Check © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 71 Q: What AWS service would help support your web application to offload serving static assets and store user uploaded images and video off-instance? Amazon S3 Q: How would an EC2 instance find its private and public IP addresses? Retrieve the instance metadata. http://169.254.169.254/latest/meta-data/ Q: What acts as an additional layer of security at the subnet level in a VPC? NetworkACLs True or False: S3 limits the amount you can store. False
  • 72. 80 Module 3 Security, Identity, and Access Management
  • 73. AWS Shared Responsibility Model AWS Foundation Services Compute Storage Database Networkin g AWS Global Infrastructur e Regio ns Availability Zones Edge Locations Client-side Data Encryption Server-side Data Encryption Network Traffic Protection Platform, Applications, Identity, and Access Management Operating System, Network, and Firewall Configuration Customer Applications & Content Customer s Customers are responsible for security IN the cloud © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 73 AWS is responsible for the security OF the cloud
  • 74. Physical Security • 24/7 trained security staff • AWS data centers in nondescript and undisclosed facilities • Two-factor authentication for authorized staff • Authorization for data center access © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 74
  • 75. Hardware, Software, and Network • Automated change-control process • Bastion servers that record all access attempts • Firewall and other boundary devices • AWS monitoring tools © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 75
  • 76. Certifications and Accreditations ISO 9001, ISO 27001, ISO 27017, ISO 27018, IRAP (Australia), MLPS Level 3 (China), MTCS Tier 3 Certification (Singapore) and more … © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 76
  • 77. SSL Endpoints VPC Secure Transmission Use secure endpoints to establish secure communication sessions (HTTPS). Instance Firewalls Use security groups to configure firewall rules for instances. SSL Endpoints Security Groups Network Control Use public and private subnets, NAT, and VPN support in your virtual private cloud to create low-level networking constraints for resource access. SSL Endpoints © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 77
  • 78. Security Groups SSL Endpoints Security Groups Instance Firewalls Use security groups to configure firewall rules for instances. VPC © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 78 Secure Transmission Use secure endpoints to establish secure communication sessions (HTTPS). Network Control Use public and private subnets, NAT, and VPN support in your virtual private cloud to create low-level networking constraints for resource access.
  • 79. HTTP Ports 80 and 443 only open to the Internet SSH/RDP Engineering staff have SSH/RDP access to Bastion Host AWS Multi-Tier Security Groups Bastion All other internet ports blocked bydefault © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 79
  • 80. Amazon Virtual Private Cloud (VPC) VPC SSL Endpoints Security Groups © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 80 Use public and private subnets, NAT, and VPN support in your virtual private cloud to create low-level networking constraints for resource access. Use security groups to configure firewall rules for instances. Secure Transmission Instance Firewalls Network Control Use secure endpoints to establish secure communication sessions (HTTPS).
  • 81. AWS Identity and Access Management (IAM) 3 Manage federated users and their permissions 2 Manage AWS IAM roles and their permissions 1 M A W a n S a g I A e M A W S IAM users and their access © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 81
  • 82. AWS IAM Authentication • Authentication • AWS Management Console • User Name and Password IAM User © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 82
  • 83. AWS IAM Authentication • Authentication • AWS CLI or SDK API • Access Key and Secret Key Access Key ID: AKIAIOSFODNN7EXAMPLE Secret Access Key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY Java Python .NET AWS SDK & API AWS CLI IAM User © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 83
  • 84. AWS IAM User Management - Groups User D DevOpsGroup User C AWS Account TestDev Group User B User A © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 84
  • 85. AWS IAM Authorization Authorization • Policies: • Are JSON documents to describe permissions. • Are assigned to users, groups or roles. IAM User IAM Group IAM Roles © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 85
  • 86. AWS IAM Policy Elements { "Version": "2012-10-17", "Statement": [ { "Sid": "Stmt1453690971587", "Action": [ "ec2:Describe*", "ec2:StartInstances", "ec2:StopInstances” ], "Effect": "Allow", "Resource": "*", "Condition": { "IpAddress": { "aws:SourceIp": "54.64.34.65/32” } } }, { "Sid": "Stmt1453690998327", "Action": [ "s3:GetObject*” ], "Effect": "Allow", "Resource": "arn:aws:s3:::example_bucket/*” } ] } IAM Policy © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 86
  • 87. AWS IAM Policy Assignment IAM User IAM Group Assigned Assigned IAM Policy © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 87
  • 88. AWS IAM Policy Assignment IAM User IAM Group IAM Roles Assigned Assigned Assigned IAM Policy © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 88
  • 89. AWS IAM Roles • An IAM role uses a policy. • An IAM role has no associated credentials. • IAM users, applications, and services may assume IAM roles. IAM Roles © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 89
  • 90. AWS IAM Policy Assignment IAM User IAM Group IAM Roles Assigned Assigned Assigned IAM Policy IAM User Assumed Assumed AWS Resources © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 90
  • 91. Example: Application Access to AWS Resources • Python application hosted on an Amazon EC2 Instance needs to interact with Amazon S3. • AWS credentials are required: • Option 1: Store AWS Credentials on the Amazon EC2instance. • Option 2: Securely distribute AWS credentials to AWSServices and Applications. IAM Roles © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 91
  • 92. AWS IAM Roles - Instance Profiles Amazon EC2 App & EC2 MetaData Service http://169.254.169.254/latest/meta-data/iam/security-credentials/rolename Amazon S3 2 3 4 1 Create Instance Select IAM Role Application interacts with S3 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 92
  • 93. AWS IAM Roles – Assume Role IAM Restricted Policy IAM User A-1 AWS Account A IAM Admin Role IAM Admin Policy Assigned Assume Assigned 1 2 IAM User B-1 AWS Account B Amazon S3 Assume 4 Access 5 3 Access 1 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 93
  • 94. Temporary Security Credentials (AWS STS) Use Cases • Cross account access • Federation • Mobile Users • Key rotation for Amazon EC2-based apps Session Access Key ID Secret Access Key Session Token Expiration Temporary Security Credentials 15 minutes to 36 hours © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 94
  • 95. Application Authentication AWS IAM Application No Support No Support OS © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 95
  • 96. AWS IAM Authentication and Authorization Authentication • AWS Management Console • User Name and Password • AWS CLI or SDK API • Access Key and Secret Key Authorization • Policies IAM User IAM Group IAM Roles © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 96
  • 97. AWS IAM Best Practices • Delete AWS account (root) access keys. • Create individual IAM users. • Use groups to assign permissions to IAM users. • Grant least privilege. • Configure a strong password policy. • Enable MFA for privileged users. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 97
  • 98. AWS IAM Best Practices (cont.) © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 98 • Use roles for applications that run on Amazon EC2 instances. • Delegate by using roles instead of by sharing credentials. • Rotate credentials regularly. • Remove unnecessary users and credentials. • Use policy conditions for extra security. • Monitor activity in your AWS account.
  • 99. AWS CloudTrail • Records AWS API calls for accounts. • Delivers log files with information to an Amazon S3 bucket. • Makes calls using the AWS Management Console,AWS SDKs, AWS CLI and higher-level AWS services. AWS CloudTrail © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 99 Amazon S3 Bucket Logs
  • 100. Knowledge Check © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 100 Q: Your web application needs to read/write an Amazon DynamoDB table and an Amazon S3 bucket. This operation requires AWS credentials and authorization to use AWS services. What IAM entity should be used? User Group Role Policy
  • 103. SQL and NoSQL Databases © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 103 SQL NoSQL Data Storage Rows and Columns Key-Value Schemas Fixed Dynamic Querying Using SQL Focused on collection of documents Scalability Vertical Horizontal ISBN Title Author Format 9182932465265 Cloud Computing Concepts Wilson, Joe Paperback 3142536475869 The Database Guru Gomez, Maria eBook SQL NoSQL { ISBN: 9182932465265, Title: “Cloud Computing Concepts”, Author: “Wilson, Joe”, Format: “Paperback” }
  • 104. Data Storage Considerations © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 104 • No one size fits all. • Analyze your data requirements by considering: • Data formats • Data size • Query frequency • Data access speed • Data retention period
  • 105. AWS Managed Database Services Compute Storage AWS Global Infrastructure Database App Services Deployment and Administration Networking Amazon DynamoDB Amazon ElastiCache Amazon RDS Amazon Redshift AWS Database MigrationService © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 105
  • 106. Amazon Relational Database Service (RDS) • Cost-efficient and resizable capacity • Manages time-consuming database administration tasks • Access to the full capabilities of Amazon Aurora, MySQL, MariaDB, Microsoft SQL Server, Oracle, and PostgreSQL databases Amazon RDS © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 106
  • 107. Amazon RDS • Simple and fast to deploy • Manages common database administrative tasks • Compatible with your applications • Fast, predictable performance • Simple and fast to scale • Secure • Cost-effective © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 107
  • 108. DB Instances © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 108 • DB Instances are the basic building blocks of Amazon RDS. • They are an isolated database environment in the cloud. • They can contain multiple user-created databases.
  • 109. How Amazon RDS Backups Work Automatic Backups: Manual Snapshots: • Restore your database to a point in time. • Are enabled by default. • Let you choose a retention period up to 35 days. • Let you build a new database instance from a snapshot. • Are initiated by the user. • Persist until the user deletes them. • Are stored in Amazon S3. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 109
  • 110. Cross-Region Snapshots • Are a copy of a database snapshot stored in a differentAWS Region. • Provide a backup for disaster recovery. • Can be used as a base for migration to a different region. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 110
  • 111. Amazon RDS Security • Run your DB instance in an Amazon VPC. • Use IAM policies to grant access to Amazon RDSresources. • Use security groups. • Use Secure Socket Layer (SSL) connections with DB instances (Amazon Aurora, Oracle, MySQL, MariaDB, PostgreSQL,Microsoft SQL Server). • Use Amazon RDS encryption to secure your RDS instancesand snapshots at rest. • Use network encryption and transparent data encryption (TDE) with Oracle DB and Microsoft SQL Server instances. • Use the security features of your DB engine to control access to your DB instance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 111
  • 112. A Simple Application Architecture Amazon RDS database instance Amazon EC2 Application Servers Elastic Load Balancing load balancer instance DB snapshots in Amazon S3 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 112
  • 113. Multi-AZ RDS Deployment • With Multi-AZ operation, your database is synchronously replicated to another Availability Zone in the same AWS Region. • Failover to the standby automatically occurs in case of master database failure. • Planned maintenance is applied first to standby databases. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 113
  • 114. A Resilient, Durable Application Architecture Amazon RDS database instances: Master and Multi-AZ standby Application, in Amazon EC2 instances Elastic Load Balancing load balancer instance DB snapshots in Amazon S3 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 114
  • 115. Amazon RDS Best Practices • Monitor your memory, CPU, and storage usage. • Use Multi-AZ deployments to automatically provision and maintain a synchronous standby in a different Availability Zone. • Enable automatic backups. • Set the backup window to occur during the daily low in WriteIOPS. • To increase the I/O capacity of a DB instance: • Migrate to a DB instance class with high I/O capacity. • Convert from standard storage to provisioned IOPS storage and use a DB instance class optimized for provisioned IOPS. • Provision additional throughput capacity (if using provisioned IOPS storage). • If your client application is caching the DNS data of your DB instances, set a TTL of less than 30 seconds. • Test failover for your DB instance. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 115
  • 116. Amazon DynamoDB • Allows you to store any amount of data with no limits. • Provides fast, predictable performance using SSDs. • Allows you to easily provision and change the request capacity needed for each table. • Is a fully managed, NoSQL database service. Amazon DynamoDB © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 116
  • 117. DynamoDB Data Model T able: Music Items Attributes (name-value pairs) Artist © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 117 Song Title Album Year Title Genre
  • 118. Primary Keys Partition Key Sort Key (DynamoDB maintains a sorted index for both keys) Table: Music Partition Key: Artist Sort Key: Song Title © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 118 T able: Music Artist Song Title Album Year Title Genre
  • 119. Provisioned Throughput You specify how much provisioned throughput capacity you need for reads and writes. Amazon DynamoDB allocates the necessary machine resources to meet your needs. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 119
  • 120. Supported Operations • Query: • Query a table using the partition key and an optional sort key filter. • If the table has a secondary index, query using its key. • It is the most efficient way to retrieve items from a table or secondary index. • Scan: • You can scan a table or secondary index. • Scan reads every item – slower than querying. • You can use conditional expressions in both Query and Scan operations. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 120
  • 121. Simple Application Architecture Elastic Load Balancing Amazon EC2 app instances Clients Amazon DynamoDB Business logic © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 121
  • 122. Amazon RDS and Amazon DynamoDB Factors Relational (Amazon RDS) NoSQL (Amazon DynamoDB) Application Type • Existing database apps • Business process–centric apps • New web-scale applications • Large number of small writes and reads Application Characteristics • Relational data models, transactions • Complex queries, joins, and updates • Simple data models, transactions • Range queries, simple updates Scaling Application or DBA–architected (clustering, partitions, sharding) Seamless, on-demand scaling based on application requirements QoS • Performance–depends on data model, indexing, query, and storage optimization • Reliability and availability • Durability • Performance–Automatically optimized by the system • Reliability and availability • Durability © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 122
  • 123. Database Considerations If You Need Consider Using A relational database service with minimal administration Amazon RDS • Choice of Amazon Aurora, MySQL, MariaDB, Microsoft SQL Server, Oracle, or PostgreSQL database engines • Scale compute and storage • Multi-AZ availability A fast, highly scalable NoSQL database service Amazon DynamoDB • Extremely fast performance • Seamless scalability and reliability • Low cost A database you can manage on your own Your choice of AMIs on Amazon EC2 and Amazon EBS that provide scale compute and storage, complete control over instances, and more. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 123
  • 124. Knowledge Check © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 124 Q: What are the basic building blocks of Amazon Relational Database Service (RDS)? DB Instances True or False: Amazon DynamoDB allows you to store any amount of data with no limits. True True or False: Scan is the most efficient way to retrieve items from a DynamoDB table. False Q: You are creating a resilient, durable application using Amazon RDS. In addition to Amazon RDS’s automatic backups, what feature should you use to ensure that your backups are durable retained? Manual Snapshots
  • 125. 133 Module 5 AWS Elasticity and Management Tools 3
  • 126. Triad of Services Utilization Auto Scaling Elastic Load Balancing Latency Auto Scaling group ExecuteAS Policy CloudWatch © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 126
  • 127. Elastic Load Balancing • Distributes traffic across multiple EC2 instances, in multiple Availability Zones • Supports health checks to detect unhealthy Amazon EC2 instances • Supports the routing and load balancing of HTTP, HTTPS, SSL, and TCP traffic toAmazon EC2 instances Elastic Load Balancing © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 127
  • 128. Classic Load Balancer - How It Works Register instances with your load balancer. Availability ZoneA Availability ZoneB load balancer X © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 128
  • 129. Target Group /mobile Application Load Balancer – How It Works Register instances as targets in a target group, and route traffic to a target group. load balancer Listener Listener Rule Rule Rule Target Group Target Group /api Target Target Target Target Target Target Target Health Check Health Check Health Check © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 129
  • 130. Load Balancer Comparison Classic Load Balancer benefits include support for: • EC2-Classic. • VPC. • TCP and SSL listeners. • Sticky sessions. ALB benefits include support for: • Path-based routing. • Routing requests to multiple services on a single EC2 instance. • Containerized applications. • Monitoring the health of each service independently. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 130
  • 131. Amazon CloudWatch • A monitoring service for AWS cloud resources and the applications you run on AWS • Visibility into resource utilization, operational performance, and overall demand patterns • Custom application-specific metrics of your own • Accessible via AWS Management Console, APIs, SDK, or CLI Amazon CloudWatch © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 131
  • 132. Amazon CloudWatch Facts • Monitor other AWS resources • View graphics and statistics • Set Alarms © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 132
  • 133. Amazon CloudWatch Architecture AWS resources that support CloudWatch Amazon CloudWatch Amazon CloudWatch Alarm SNS Email Notification Auto Scaling Available Statistics Statistics Consumer AWS Management Console CloudWatch Metrics CPUUtilization StatusCheckFailed Custom Application- Specific Metrics PageViewCount © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 133
  • 134. CloudWatch Metrics Examples © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 134
  • 135. Auto Scaling • Scale your Amazon EC2 capacity automatically • Well-suited for applications that experience variability in usage • Available at no additional charge Auto Scaling © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 135
  • 136. Auto Scaling Benefits Better Cost Management Better Availability Better Fault Tolerance © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 136
  • 137. Launch Configurations • A launch configuration is a template that anAuto Scaling group uses to launch EC2 instances. • When you create a launch configuration, you can specify: • AMI ID • Instance type • Key pair • Security groups • Block device mapping • User data © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 137
  • 138. 146 Auto Scaling Groups • Contain a collection of EC2 instances that share similar characteristics. • Instances in an Auto Scaling group are treated as a logical grouping for the purpose of instance scaling and management. Auto Scaling group Minimum size Desired capacity Maximum size Scale out as needed © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 139. Dynamic Scaling • You can create a scaling policy that uses CloudWatch alarms to determine: • When your Auto Scaling group should scale out. • When your Auto Scaling group should scale in. • You can use alarms to monitor: • Any of the metrics that AWS services send toAmazon CloudWatch. • Your own custom metrics. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 139
  • 140. Auto Scaling Basic Lifecycle instances Auto Scaling group Scale Out Amazon CloudWatch Scheduled Event Scale In Scheduled Event Amazon CloudWatch Launch Instance Attach to Group Detach from Group Terminate Instance X © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 140
  • 141. AWS Trusted Advisor • Best practice and recommendation engine. • Provides AWS customers with performance and security recommendations in four categories: • Cost optimization • Security • Fault tolerance • Performance improvement. AWS Trusted Advisor © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 141
  • 142. Cost Optimization • Amazon EC2 Reserved Instance Optimization • Low-utilization Amazon EC2 Instances • Idle load balancers • Underutilized Amazon EBS volumes • Unassociated Elastic IP addresses • Amazon RDS idle DB instances © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 142
  • 143. Security • Security groups • AWS IAM use • Amazon S3 bucket permissions • MFA on tootAccount • AWS IAM password policy • Amazon RDS security group access risk © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 143
  • 144. Fault Tolerance • Amazon EBS Snapshots • Load balancer optimization • Auto Scaling Group Resources • Amazon RDS Multi-AZ • Amazon Route 53 name server delegations • ELB connection draining © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 144
  • 145. Performance Improvement • High-utilization Amazon EC2 instances • Service limits • Large number of rules in EC2 security group • Over-utilized Amazon EBS magnetic volumes • Amazon EC2 to EBS throughput optimization • Amazon CloudFront alternate domain names © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 145
  • 146. Knowledge Check © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 146 True or False: Auto Scaling helps you ensure that you have the correct number of EC2 instances available to handle the load for your application. True Q: What feature would you use with an auto scaling policy to determine when your auto scaling group should scale out/in? Amazon CloudWatch alarms Q: You have an application composed of individual services and need to route a request to a service based on the content of the request. What type of load balancer should you use? Application Load Balancer Q: Which AWS service serves as a best practice and recommendation engine? AWS Trusted Advisor
  • 148. Learning Path AWS Introduction • The AWSCloud • History • Global Infrastructure • AWS Management Console AWS Foundational Services • Compute: • Amazon EC2 • Networking: • Amazon VPC • Storage: • Amazon EBS • Amazon S3 • Security • IAM • Databases: • Amazon DynamoDB • Amazon RDS AWS Management Tools • Triad of Services: • Auto Scaling • ELB • Amazon CloudWatch • AWS Trusted Advisor © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 148
  • 149. Expand Your Cloud Skills with AWS Certification Validate your proven technical expertise with the AWS platform and gain recognition for your skills aws.amazon.com/certification Online videos and labs Start working with an AWS service in minutes with free online instructional videos and labs aws.amazon.com/training/ self-paced-labs Learn how to design, deploy, and operate highly available, cost-effective, and secure applications onAWS aws.amazon.com/training Instructor-led courses © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 149
  • 150. Self-Paced Labs • Learn an individual AWS Service topic • Follow a Learning Quest by AWS Service Area or Use Case • Practice working with AWS as you prepare for an exam For more information, see aws.amazon.com/training/self-paced-labs/. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 150
  • 151. AWS ILT Training Courses AWS Technical Essentials 1 day Architecting on AWS 3 days Developing on AWS 3 days Systems Operations on AWS 3 days Big Data on AWS 3 days Advanced Architecting on AWS 3 days DevOps Engineering on AWS 3 days Security Operations onAWS 3 days Data Warehousing on AWS 3 days Taking AWS Operations to the Next Level 1 day Building a Recommendation Engine on AWS 1 day Securing Next-Gen Applications at Cloud Scale 1 day Running Container-Enabled Microservices on AWS 1 day © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 151
  • 152. AWS Certification AWS Certified Solutions Architect - Professional AWS Certified Developer -Associate AWS Certified SysOps Administrator-Associate AWS Certified Solutions Architect -Associate AWS Certified DevOps Engineer - Professional © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 152 For more information, see aws.amazon.com/certification.
  • 153. Benefits of AWS Certification Individual • Demonstrate expertise • Stand out • Industry visibility • Customer visibility • Peer recognition • Credibility with customers Employer • Baseline bar on AWS skills • Identify expert talent • Leverage best practices • Reduce operational risk • Increase business advantage • Maximize AWS efficiencies • Common vocabulary • Accelerate time to cloud © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 153
  • 154. Preparing for AWS Certification Practice Exams Self-Paced Labs on qwikLABS AWS Whitepapers & FAQs AWS Documentation & Reference Architectures For resources to help you prepare for the certification exam, see aws.amazon.com/certification. Exam Guides & Sample Questions AWS-Authored Study Guide AWS Technical Training © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 154
  • 156. Support Options The Technical Account Manager provides...  A dedicated voice within AWS to serve as your advocate.  Proactive guidance and insight into ways to optimize AWS through business and performance reviews.  Orchestration and access to the full breadth and depth of technical expertise across the full range ofAWS.  Access to resources and best practice recommendations. Infrastructure Event Management provides...  A common understanding of eventobjectives and use cases through pre-event planning and preparation.  Resource recommendations and deployment guidance based on anticipated capacity needs.  Dedicated attention of the your AWS Support team during your event.  The ability to immediately scale down resources to normal operating levels post- event. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 156
  • 157. Support Options AWS Trusted Advisor provides...  Insight into how and where you can get the most impact for your AWS spend.  Opportunities to reduce your monthly spend and retain or increase productivity.  Guidance on getting the optimal performance and availability based on your requirements.  Confidence that your environment is secure. The Concierge Service provides...  A primary contact to help manageAWS resources.  Personalized handling of billing inquiries, tax questions, service limits, and bulk reserve instance purchases.  Direct access to an agent to help optimize costs, and identify underutilized resources. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 157
  • 158. Support Comparison Enterprise Business Developer Basic Customer Service 24x7x365 Support Forums Documentation, White Papers, Best Practice Guides AWS Trusted Advisor Full Checks Full Checks Basic Checks Basic Checks Access to Technical Support Phone, chat, email, live screen sharing, TAM(24/7) Phone, chat, email, live screen sharing Email (local business hours) Support for Health Checks Primary Case Handling Sr. Cloud Support Engineer Cloud Support Engineer Cloud Support Associate Technical CustomerService Associate Users who can create Technical Support cases Unlimited (IAM supported) Unlimited (IAM supported) 1 (account credentials only) Case Severity/Response Times Critical: < 15 minutes Urgent: < 1hour High: < 4 hours Normal: < 12hours Low: < 24hours Urgent: < 1 hour High: < 4hours Normal: < 12 hours Low: < 24hours Normal: < 12 hours Low: < 24 hours Architecture Support Application Architecture Use case guidance Building blocks Best Practice Guidance Client-Side DiagnosticTools AWS Support API Third-Party Software Support Infrastructure Event Management Available at additional cost AWS Concierge Direct access to Technical Account Manager (TAM) Prioritized Case Routing Management Business Reviews © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 158
  • 160. Module 1 Appendix AWS Introduction and History 160
  • 162. What is cloud computing? Cloud computing is on-demand delivery of IT resources and applications via the Internet with pay-as-you-go pricing. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 162
  • 163. Essential Characteristics of Cloud Computing On-Demand Self Services Broad Network Access Resource Pooling Rapid Elasticity Measured Service © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 163
  • 164. On-Demand Self Services & Broad Network Access • User provisions computing resources as needed. • User interacts with cloud service provider through an online control panel. • Clear solutions are available through a variety of network- connected devices and over varying platforms. Internet Client Mobile Client © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 164
  • 165. Resource Pooling Securely separate resources to service multiple customers. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 165
  • 166. Rapid Elasticity Resources are quickly scalable and flexible based on business needs. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 166
  • 167. Measured Service Pay for services as you go. Electrical services analogy © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 167
  • 168. What Does My AWS Cloud Look Like? 168
  • 169. Module 2 Appendix AWS Foundational Services 169
  • 170. Data Center Design Models 170
  • 171. Application Design Model One-Tier Model Mainframe Clients Two-Tier Model SQL Client Database Servers Client Three-Tier Model HTTP, SQL, ODBC, RPC JDBC Application Database Server Servers Client N-Tier Model Web Server Middleware Application Servers Database Servers © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 171
  • 172. Web Services Model Web Server Application Server Database Server Serves web pages © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 172 • Implements business logic • Manipulates data • Data mining • Accesses data store • High transaction rate • High bandwidth • Low latency
  • 174. AMI Types - Storage for the Root Device © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 174 Characteristic Amazon EBS-Backed Amazon Instance Store-Backed Boot time Usually < 1 minute Usually < 5 minutes Size limit 16 TiB 10 GiB Data persistence The root volume is deleted when the instance terminates. Data on any other Amazon EBSvolumes persists after the instance is terminated. Data on any instance store volumes persists only during the life of the instance. Charges Instance usage, Amazon EBS volume usage,and storing your AMI as an Amazon EBSsnapshot. Instance usage and storing your AMI in Amazon S3. Stopped state Can be stopped. Cannot be stopped.
  • 176. Block and File Level Storage Block Level Storage File Level Storage Block File © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 176
  • 177. Storage Technologies DAS Client Client DAS Storage Server Server DAS Storage NAS Client Client NAS Storage Server Server SAN Client Client Server Server FC Switch RAID 1 RAID 2 SAN Storage © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 177
  • 179. Amazon S3 Buckets • Organize the Amazon S3 namespace at the highestlevel. • Identify the account responsible for storage and data transfer charges. • Play a role in access control. • Serve as the unit of aggregation for usage reporting. • Have globally unique bucket names, regardless of the AWSregion in which they were created. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 179
  • 180. Amazon S3 Region Considerations • Amazon S3 creates a bucket in the region you select. • You can choose a region to: • Optimize latency • Minimize costs • Address regulatory requirements • Objects stored in a region never leave the region unless you explicitly transfer them to another region. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 180
  • 181. Amazon S3 Objects • Objects are the fundamental entities stored in Amazon S3. • When using the console, you can think of them as files. • Objects consist of data and metadata. The data portion is opaque to Amazon S3. The metadata is a set of name-value pairs that describe the object. • Default metadata such as the date last modified • Standard HTTP metadata such as Content-Type • Custom metadata at the time the object is stored • A key that uniquely identifies as object within its bucket © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 181
  • 182. Amazon S3 + Amazon Glacier S3 Lifecycle policies allow you to delete or move objects based on age and set rules per S3 bucket. bucket with objects 30 Days Glacier archive 365 Days © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 182
  • 184. 192 EBS Performance EBS Magnetic • 40-200 IOPS EBS General Purpose SSD • SSD backed • 3 IOPS / GB • Burstable to 3,000 IOPS and up to 10,000 IOPS EBS Provisioned IOPS SSD • SSD backed • Up to 20,000 IOPS consistently • Up to 320 MB/s throughput © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 186. Amazon CloudFront • Easy and cost effective way to distribute content to end users • Low latency, high data transfer speeds • Deliver your entire website, including static, dynamic, and streaming content using a global network of edge locations Amazon CloudFront © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 186
  • 187. How You Configure CloudFront to Deliver Your Content Developer S3 bucket or HTTP server 1 Objects/data 2 Web distribution CloudFront 3 http://d111111abcdef8.cloudfront.net Edge locations Your distribution’s configuration 4 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 187
  • 188. How CloudFront Delivers Content to Your Users Amazon S3 server or HTTP server User Website example.com 1 3a Edge location Object/data 3b Object/ data 3/3c 2 © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 188
  • 190. What is a Network? A network is two or more computers linked to share resources, exchange files, or allow electronic communications. Network Types: • Local Area Network (LAN) • Wide Area Network (WAN) • Virtual Private Network (VPN) WAN LAN LAN VPN © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 190
  • 191. Physical vs. Logical Topology © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 191 • A physical topology defines how the systems arephysically connected. • A logical topology defines how the systems communicateacross the physical topologies.
  • 194. 202 Networking in Your VPC You can use the following components to configure networking in your VPC: • IP addresses • Elastic network interfaces • Route tables • Internet gateways • Network Address Translation (NAT) • Dynamic Host Configuration Protocol (DHCP) options sets • Domain Name System (DNS) • VPC peering • VPC endpoints • VPC flow logs © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 195. Module 3 Appendix Security, Identity, and Access Management 195
  • 197. Physical & Environmental Security • Lock your data center. • Only provide access to those who need it. • Keep track of access. • Mount servers on racks with locks. • Have redundant utilities. • Build your data center with security in mind. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 197
  • 198. Network Security © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 198 • Identification &Authentication • Firewalls • Patching • Virus Protection • Encryption
  • 200. AWS Resource-Based Policies © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 200 • Are an alternative to IAM and supported by some services. • Grant cross-account access to your resources. • Use a principal to uniquely identify accounts in the policy. • Supported AWS services include : • Amazon S3 Bucket Policy • Amazon SNS Topic Policy • Amazon SQS Queue Policy • Amazon Glacier Vault Policy • AWS OpsWorks Stack Policy • AWS Lambda Function Policy
  • 201. Access to AWS Resources © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 201 Temporary Security Credentials • Security Token Service • AssumeRole • AssumeRoleWithSAML • AssumeRoleWithWebIdentity
  • 202. AWS Services support for IAM Roles © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 202 • AWS CLI on Amazon EC2 • AWS CloudTrail logs to Amazon S3 • Amazon Elastic Transcoder access to Amazon S3 • AWS Elastic Beanstalk access to AWS services • AWS Lambda code access to AWS services • Many more …
  • 204. Security Groups Allow access to IP address ranges or Amazon EC2 instances you specify. Use VPC security groups to control access to a DB instance inside a VPC. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 204
  • 205. DB Parameter & Option Groups DB parameter groups: • Contain engine configuration values that can be applied to one or more DB instances of the same instance type. • Are applied by Amazon RDS by default when you create DB instance, which contains defaults for the specific database engine and instance class of the DB instance. DB option groups: • Tools that simplify database management. • Currently available for Oracle, Microsoft SQL Server, and MySQL 5.6 DB instances. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 205
  • 206. Supported Operations Table Operations: • Create, update, and delete tables. • After creation, you can increase or decrease provisioned throughput. • Retrieve the table’s status, the primary key, and when the table was created. • List all tables in your account for a region. Item Operations: • Add, update, and delete items from a table. • Add, update, and delete existing attributes from an item. • Perform conditional updates. • Retrieve a single item or multiple items. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 206
  • 207. Local Secondary Index Partition Key Sort Key LSI © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 207 Table: Music Partition Key: Artist Sort Key: Song Title LSI: Album Title T able: Music Artist Song Title Album Year Title Genre
  • 208. Global Secondary Index Choose which attributes to project (if any) Year Song Title Table: Music Partition Key: Artist Sort Key: Song Title GSI: MusicGSI Partition Key: Genre Sort Key: Year T able: Music Artist Song Title Album Title Year Genre Genre © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 208
  • 209. Module 5 Appendix AWS Elasticity and Management Tools 209
  • 211. 219 Scaling Plans Auto Scaling Minimum Health Check monitors running instances within an Auto Scaling group. If an unhealthy instance is found, it can be replaced. Manual Scaling Specify a new minimum for your Auto Scaling group. Manually invoke Auto Scaling policies. Scheduled Scaling Scaling functions are performed as a function of time and date. On Demand Scaling You create a policy to scale your resources. Define when to scale using CloudWatch Alarms. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 213. Load Balancer Types Availability ZoneA Availability ZoneB EC2 instances EC2 instances Internet-Facing Load balancer EC2 instances EC2 instances HTTPS SSL handler/load balancer HTTPS traffic Availability ZoneB Availability ZoneA Internal EC2 instances private subnet Availability ZoneB public subnet public subnet Load balancer EC2 instance EC2 instance EC2 instances private subnet Availability ZoneA © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 213
  • 214. Request Routing client DNS server Load Balancer Routing Algorithm EC2 instance security group Auto Scaling group EC2 instance EC2 instance security group Auto Scaling group IP Addresses © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 214 elb.example.org
  • 215. Listeners • A listener is a process that checks for connectionrequests. • Front-end connections are: • Client to load balancer connections. • Configured with a protocol and a port. • Back-end connections are: • Load balancer to back-end instance connections. • Configured with a protocol and a port . • ELB supported protocols: • HTTP • HTTPS • TCP • SSL © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 215
  • 216. Back-end Instances for Your Load Balancer • Health checks • Security groups • Subnets • Register • De-register instances © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 216
  • 218. CloudWatch Alarms © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 218
  • 219. Supported AWS Services Auto Scaling Amazon CloudFront Amazon CloudWatch Amazon CloudSearch Amazon DynamoDB Amazon EC2 Amazon EBS Elastic Load Balancing Amazon EMR Amazon Kinesis Amazon EC2 Container Service AWS OpsWorks Amazon RDS Amazon Route 53 Amazon SNS Amazon Redshift Amazon ElastiCache Amazon SQS Amazon SWF Amazon S3 AWSStorage Gateway Amazon WorkSpaces Amazon Machine Learning AWS Lambda AWSWAF © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 219
  • 220. Module 6 Appendix Course Wrap-Up 220
  • 222. Case Severity & Response Times © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 222 Critical Urgent High Normal Low Enterprise Plan (24 x 7) 15 minutes or less 1 hour or less 4 hours or less 12 hours or less 24 hours or less Business Plan (24 x 7) 1 hour or less 4 hours or less 12 hours or less 24 hours or less Developer Plan (Business hours) 12 hours or less 24 hours or less
  • 223. Pricing © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 223 Basic Developer Business Enterprise Included $29/month -or- 3% of monthly AWS spend Greater of $100 -or- 10% of monthly AWS usage forthe first $0-$10K 7% of monthly AWS usagefrom $10K-$80K 5% of monthly AWS usagefrom $80K-$250K 3% of monthly AWS usageover $250K Greater of $15,000 -or- 10% of monthly AWS usage for thefirst $0-$150K 7% of monthly AWS usagefrom $150K-$500K 5% of monthly AWS usagefrom $500k-$1M 3% of monthly AWS usageover $1M
  • 224. Pricing Examples © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 224 Business Pricing Example For $85K in AWS monthlyusage: $10,000 x 10% = $1,000 (10% of the first $0 - $10K of usage) + $70,000 x 7% = $4,900 (7% of usage from $10K - $80K) + $5,000 x 5% = $250 (5% of usage from $80K - $250K) + $0 x 3% = $0 (3% of usage over $250K) Total: $6,500 Enterprise PricingExample For $1.2M in AWS monthlyusage: $150,000 x 10% = $15,000 (10% of the first $0 - $150K of usage) + $350,000 x 7% = $24,500 (7% of usage from $150K - $500K) + $500,000 x 5% = $25,000 (5% of usage from $500K - $1M) + $200,000 x 3% = $6,000 (3% of usage over $1M) Total: $70,500
  • 225. 233 © 2016 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. Errors or corrections? 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.