This document provides an overview of Amazon Web Services (AWS) and its cloud computing infrastructure and services. It describes AWS's global footprint including regions and availability zones. It then discusses various AWS computing, storage, database, deployment/administration and application services like EC2, S3, RDS, IAM, Elastic Beanstalk and more. The document concludes with a proposed example application architecture using several AWS services.
5. Consumer
Business
Tens of millions of active
customer accounts
13 countries:
US, UK, Germany, Japan,
France, Canada, China,
Italy, Brazil, Mexico, India,
Spain, Australia
Seller
Business
Sell on Amazon websites
Use Amazon technology
for your own retail website
Leverage Amazon’s
massive fulfillment centre
network
IT Infrastructure
Business
Cloud computing
infrastructure for hosting
web-scale solutions
Hundreds of thousands of
registered customers in
over 190 countries
10. Startups on AWS
Not excess capacity!
Find out more at : aws.amazon.com/solutions/case-studies
11. Powering the Most Popular Internet Businesses
Enterprises on AWS
Find out more at : aws.amazon.com/solutions/case-studies
amazon.com/solutions/case-studies
12. Each day AWS adds the equivalent server
capacity to power Amazon when it was a
global, $7B enterprise
17. Utility computing
Compute
Security Scaling
CDN Backup
Database
Storage
Monitoring
Workflow
Networking
Messaging
DNS
Load Balancing
On demand
Pay as you go
Uniform
Available
18. On a global footprint
US-WEST (N. California)
Region
EU-WEST (Ireland)
ASIA PAC (Tokyo)
ASIA PAC
(Singapore)
US-WEST (Oregon)
US-EAST (Virginia)
SOUTH AMERICA (Sao Paulo)
GOV CLOUD
ASIA PAC
(Sydney)
CHINA (Beijing)
19. At the end of a web service
aws ec2 run-instances
--image-id ami-a813fadf
--count 3
--placement AvailabilityZone=eu-west-1a
--instance-type m1.small
aws ec2 run-instances
--image-id ami-a813fadf
--count 5
--placement AvailabilityZone=eu-west-1c
--instance-type m1.medium
39. Reference Model
security
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
40. Global infrastructure
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Regions
An independent collection of AWS resources in a defined
geography
A solid foundation for meeting location-dependent privacy
and compliance requirements
41. Global infrastructure
Availability Zones
Designed as independent failure zones
Physically separated within a typical metropolitan region
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
42. Global infrastructure
Seattle
Palo Alto
New York (3)
London(2)
Dublin
Paris(2)
Ashburn(3)
Newark
Los Angeles (2) Jacksonville
Dallas(2)
St.Louis
Miami
Amsterdam
(2)
Stockholm
Edge Locations
Frankfurt(2)
Singapore(2)
Hong Kong
(2)
To deliver content to end users with lower latency
A global network of edge locations Supports global DNS
infrastructure (Route53) and Cloud Front CDN
Tokyo (2)
Sao Paulo
South Bend
San Jose
Osaka
Milan
Sydney
Madrid
Seoul
Mumbai
Chennai
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
43. Networking
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Direct Connect
Dedicated connection to AWS
VPN Connection
Secure internet connection to AWS
Virtual Private Cloud
Private, isolated section of the AWS Cloud
Route 53
Highly available and scalable Domain Name Service
44. Compute
Vertical Scaling
From $0.02/hr
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Elastic Compute Cloud (EC2)
Basic unit of compute capacity
Range of CPU, memory & local disk options
13 Instance types available, from micro to cluster compute
Feature Details
Flexible Run windows or linux distributions
Scalable Wide range of instance types from micro to cluster compute
Machine Images Configurations can be saved as machine images (AMIs) from which
new instances can be created
Full control Full root or administrator rights
Secure Full firewall control via Security Groups
Monitoring Publishes metrics to Cloud Watch
Inexpensive On-demand, Reserved and Spot instance types
VM Import/Export Import and export VM images to transfer configurations in and out of
EC2
45. Compute
Trigger auto-scaling
policy
Auto-scaling
Automatic provisioning of compute resources based upon
demand, configuration or schedule
Feature Details
Control Define minimum and maximum instance pool sizes and when
scaling and cool down occurs
Integrated to CloudWatch Use metrics gathered by CloudWatch to drive scaling
Instance types Run auto scaling for on-demand instances and spot. Compatible
with VPC
aws autoscaling create-auto-scaling-group
--auto-scaling-group-name MyGroup
--launch-configuration-name MyConfig
--availability-zones eu-west-1a
--min-size 4
--max-size 200
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
46. Compute
Elastic Load Balancing
Create highly scalable applications
Distribute load across EC2 instances in multiple
availability zones
Feature Details
Auto-scaling Automatically scales to handle request volume
Available Load balance across instances in multiple availability zones
Health checks Automatically checks health of instances and takes them in or out of
service
Session stickiness Route requests to the same instance
Secure sockets layer Supports SSL offload from web and application servers with flexible
cipher support
Monitoring Publishes metrics to Cloud Watch
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
47. Storage
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
S3 - Durable storage, any object
99.999999999% durability of objects
Unlimited storage of objects of any type
Up to 5TB size per object
Feature Details
Flexible object store Buckets act like drives, folder structures within
Access control Granular control over object permissions
Server-side encryption 256bit AES encryption of objects
Multi-part uploads Improved throughput & control
Object versioning Archive old objects and version new ones
Object expiry Automatically remove old objects
Access logging Full audit log of bucket/object actions
Web content hosting Serve content as web site with built in page handling
Notifications Receive notifications on key events
Import/Export Physical device import/export service
48.
49. Storage
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Elastic Block Store
High performance block storage device
1GB to 1TB in size
Mount as drives to instances
Feature Details
High performance file
system Mount EBS as drives and format as required
Flexible size Volumes from 1GB to 1TB in size
Flexible performance Magnetic, EBS General Purpose (SSD) and EBS Provisioned IOPS
(SSD) volume types
Secure Private to your instances
Available Replicated within an Availability Zone
Backups Volumes can be snapshotted for point in time restore
Monitoring Detailed metrics captured via Cloud Watch
50. Database
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Relational Database Service
Database-as-a-Service
No need to install or manage database instances
Scalable and fault tolerant configurations
Feature Details
Platform support Create MySQL, PostgreSQL, Microsoft SQL Server and Oracle
RDBMS
Preconfigured Get started instantly with sensible default settings
Automated patching Keep your database platform up to date automatically
Backups Automatic backups and point in time recovery and full DB backups
Backups Volumes can be snapshotted for point in time restore
Failover Automated failover to slave hosts in event of a failure
Replication Easily create read-replicas of your data and seamlessly replicate
data across availability zones
51. Database
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Amazon Relational Database Service (Amazon
RDS) databases stores forum threads, site
content, and project configuration data.
High availability Multi-AZ database deployment
to handle live game metadata and user-generated
content.
Enterprise-grade fault tolerance for protecting
customer data.
By managing time-consuming database
administration tasks, Amazon RDS allows
SEGA to focus on business critical applications.
52. Database
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
DynamoDB
Provisioned throughput NoSQL database
Fast, predictable performance
Fully distributed, fault tolerant architecture
Feature Details
Provisioned throughput Dial up or down provisioned read/write capacity
Predictable performance Average single digit millisecond latencies from SSD backed
infrastructure
Strong consistency Be sure you are reading the most up to date values
Fault tolerant Data replicated across availability zones
Monitoring Integrated to Cloud Watch
Secure Integrates with AWS Identity and Access Management (IAM)
Elastic MapReduce Integrates with Elastic MapReduce for complex analytics on large
datasets
53. Database
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Redshift
Managed Massively Parallel Petabyte Scale Data Warehouse
Streaming Backup/Restore to S3
Extensive Security
2 TB -> 1.6 PB
RDS Dynamo
DB
Redshift
54. Application Services
CloudFront
World-wide content distribution network
Easily distribute content to end users
with low latency, high data transfer
speeds, and no commitments.
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Served from S3
Feature Details
Fast Multiple world-wide edge locations to serve content as close to your
users as possible
Integrated with other
services Works seamlessly with S3 and EC2 origin servers
Dynamic content Supports static and dynamic content from origin servers
Streaming Supports rtmp from S3 and includes support for live streaming from
Adobe FMS and Microsoft Media Server
London
Paris
NY
/images/*
3
Served from EC2
*.php
2
Single CNAME
www.mysite.com
1
55. Application Services
Amazon SQS
Processing task/
processing trigger
Amazon SQSProcessing results
Reliable, highly scalable, queue
service for storing messages as they
travel between instances
Feature Details
Reliable Messages stored redundantly across multiple availability zones
Simple Simple APIs to send and receive messages
Scalable Unlimited number of messages
Secure Authentication of queues to ensure controlled access
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
56. Deployment & Admin
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
Elastic Beanstalk
One-click deployment from Eclipse, Visual Studio and Git
Rapid deployment of applications
All AWS resources automatically created
Feature Details
Platform support Containers for Java, .net and PHP
Resource creation Creates load balancer, instances, autoscaling and monitoring
automatically
Monitoring & Logs Integrated with Cloud Watch and consolidates server logs
Versioning Manage versions of applications and easily rollback deployments
Notifications Receive alerts on key events
Full resource access Access all underlying AWS resources as necessary
57. Deployment & Admin
OpsWorks
DevOps focused managed application stacks
Underlying Chef recipes allow for complete customisation
Feature Details
Platform support Chef recipes allows for community expansion for platform
components such as Solr, NgniX etc
Resource creation Customizable deployments, rollback, partial deployments, patch
management, automatic instance scaling, and auto healing
Layered Manage logical application layers and combine into stacks.
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
58. Cloud Formation
Automate creation of ‘stacks’ in a repeatable way
Scripting framework for AWS resource creation
Feature Details
Platform support Support for AWS resources from EC2 to IAM
Resource creation Creates AWS resources behind the scenes and reports on progress
Declarative Specify stacks in JSON format and source control your
environments
Customizable Drive stack creation with parameters
Deployment & Admin
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
59. Deployment & Admin
Identity & Access Management
Granular control of user rights with AWS
Automated granting of EC2 service rights
Software Developer Kits
Comprehensive support of programming models for using AWS
services
Deployment & Administration
App Services
Compute Storage
Database
Networking
AWS Global Infrastructure
60. + others
WorkSpaces
Cloud Search
Simple Email Service
Simple Workflow Service
Simple Notification Service
ElastiCache (Memcache & Redis)
Elastic MapReduce
CloudWatch
…and more to come!
62. Shared responsibility
Foundation Services
Compute Storage Database Networking
AWS Global Infrastructure
Availability Zones
Regions
Edge Locations
Amazon
63. Customer Data
Shared responsibility
Platform, Applications, Identity & Access Management
Operating System, Network & Firewall Configuration
Client-side Data Encryption & Data
Integrity Authentication
Foundation Services
Server-side Encryption
(File System and/or Data)
Network Traffic Protection
(Encryption/Integrity/Identity)
Compute Storage Database Networking
You
Amazon
AWS Global Infrastructure
Availability Zones
Regions
Edge Locations
64. Certifications
SOC 1 Type 2 (formerly
SAS-70)
ISO 27001
PCI DSS for EC2, S3, EBS,
VPC, RDS, ELB, IAM
FISMA Moderate Compliant
Controls
HIPAA & ITAR Compliant
Architecture
Physical Security
Datacenters in nondescript
facilities
Physical access strictly
controlled
Must pass two-factor
authentication at least twice for
floor access
Physical access logged and
audited
HW, SW, Network
Systematic change
management
Phased updates deployment
Safe storage decommission
Automated monitoring and self-audit
Advanced network protection
Security standards
http://aws.amazon.com/security
66. A dynamic web application featuring:
A highly available, fault tolerant architecture
Elasticity to deal with spikes in load
A fully managed database
Static content served through a CDN
70. A dynamic web application featuring:
A highly available, fault tolerant architecture
Elasticity to deal with spikes in load
A fully managed database
Static content served through a CDN
88. Some php code that gets the data
<?php
// get the instance id
$url = "http://169.254.169.254/latest/meta-data/instance-id";
$instance_id = file_get_contents($url);
// get the AZ where the instance is running
$url = "http://169.254.169.254/latest/meta-data/placement/availability-zone";
$zone = file_get_contents($url);
// get the security group it is in
$url = "http://169.254.169.254/latest/meta-data/security-groups";
$group = file_get_contents($url);
// get the public DNS name
$url = "http://169.254.169.254/latest/meta-data/public-hostname";
$hostname = file_get_contents($url);
?>
89. Some php code that gets the data
<?php
// get the instance id
$url = "http://169.254.169.254/latest/meta-data/instance-id";
$instance_id = file_get_contents($url);
// get the AZ where the instance is running
$url = "http://169.254.169.254/latest/meta-data/placement/availability-zone";
$zone = file_get_contents($url);
// get the security group it is in
$url = "http://169.254.169.254/latest/meta-data/security-groups";
$group = file_get_contents($url);
// get the public DNS name
$url = "http://169.254.169.254/latest/meta-data/public-hostname";
$hostname = file_get_contents($url);
?>
99. Region
Elastic Load
Balancer
Instance
Cloud
Front
S3
Auto scaling
Group
RDS
Availability Zone
Instance
Availability Zone
100. Elastic Load Balancer
Instance Instance Instance
Availability Zone Availability Zone
Region
Availability Zone
Auto scaling Group
101. Elastic Load Balancer
Instance Instance Instance Instance Instance Instance
Availability Zone Availability Zone
Region
Availability Zone
Auto scaling Group
102. Elastic Load Balancer
Instance Instance Instance
Availability Zone Availability Zone
Region
Availability Zone
Auto scaling Group
103. Elastic Load Balancer
Availability Zone Availability Zone
Region
Availability Zone
Auto scaling Group
Instance Instance
104. Elastic Load Balancer
Availability Zone Availability Zone
Region
Instance Instance
Availability Zone
Auto scaling Group
Instance
105. Describes what Auto Scaling will
create when adding
Instances
- AMI -
- Instance Type -
- Security Group -
- Instance Key Pair -
Only one active launch
configuration at a time
Auto Scaling will terminate
instances with old launch
configuration first
rolling update
Auto Scaling managed grouping
of EC2 instances
Automatic health check to
maintain pool size
Automatically scale the number
of instances by policy – Min,
Max, Desired
Automatic Integration with ELB
Automatic distribution &
balancing across AZs
Parameters for performing an
Auto Scaling action
Scale Up/Down and by how
much
ChangeInCapacity (+/- #)
ExactCapacity (#)
ChangeInPercent (+/- %)
Cool Down (seconds)
Policy can be triggered by
CloudWatch events
Launch Configuration
Auto-Scaling Group
Auto-Scaling Policy
106. Region
Elastic Load
Balancer
Instance
Cloud
Front
S3
Auto scaling
Group
RDS
Availability Zone
Instance
Availability Zone
110. We typically see customers start by trying our services
Get started now at : aws.amazon.com/getting-started
111. You can get started for free…
Get started now at : aws.amazon.com/free
112. Design your application for the AWS Cloud
More details on the AWS Architecture Center at : aws.amazon.com/architecture
113. AWS Training & Certification
Certification
Demonstrate your skills,
knowledge, and expertise
with the AWS platform
aws.amazon.com/certification
Self-Paced Labs
Try products, gain new
skills, and get hands-on
practice working with
AWS technologies
aws.amazon.com/training/
self-paced-labs
Training
Skill up and gain
confidence to design,
develop, deploy and
manage your applications
on AWS
aws.amazon.com/training