The document provides an overview of app hosting on AWS. It discusses key principles such as focusing on your business rather than infrastructure management, automating and scaling infrastructure, designing for failure, loosely coupling services, and iterating based on data. Specific AWS services are highlighted like EC2, EBS, ELB, RDS, DynamoDB, ElastiCache, Elastic Beanstalk, CloudFormation, Route 53, SQS, SWF, and EMR. Case studies are presented on how companies like NASA, Gumi, and Media Molecule use these AWS services.
7. AWS
Cloud-Based
Infrastructure
Your
Business
More Time to Focus on
Your Business
Configuring Your
Cloud Assets
70%
30%70%
On-Premise
Infrastructure
30%
Managing All of the
“Undifferentiated Heavy Lifting”
Simplify and Outsource with Services
12. AMIAMIAMI
YOUR CODE
CORE SERVICES
3rd PARTY
LIBRARIES
OPERATING
SYSTEM
YOUR CODE
CORE SERVICES
3rd PARTY
LIBRARIES
OPERATING
SYSTEM
YOUR CODE
CORE SERVICES
3rd PARTY
LIBRARIES
OPERATING
SYSTEM
Pre-baked AMI JeOS + Orchestration
13.
14. Vertical
Scaling
From $0.02/hr
Basic unit of compute capacity
Range of CPU, memory & local disk options
17 Instance types available, from micro through
cluster compute to SSD backed
Scale up with Elastic Compute Cloud (EC2)
Optimize Instance Types –
Resources vs Cost
29. 503
Service Temporarily Unavailable
The server is temporarily unable to service
your request due to maintenance downtime or
capacity problems. Please try again later.
30. 503
Service Temporarily Unavailable
The server is temporarily unable to service
your request due to maintenance downtime or
capacity problems. Please try again later.
31.
32.
33. Less instances at night
Peak traffic $52 / hr
Night traffic $15 / hr
71% savings!
34. Relational Database Service
Database-as-a-Service
No need to install or manage database instances
Scalable and fault tolerant configurations
MySQL, Oracle and SQL Server
DynamoDB
Provisioned throughput NoSQL database
Fast, predictable performance
Fully distributed, fault tolerant architecture
Use RDS for databases
Use DynamoDB for high
performance key-value DB
SQL and NoSQL Services
35. Problem:
Outgrew existing IT environment
Solution:
AWS’s elasticity made it easy to respond to demand peaks
and saved money during off peak times
Business Benefits:
Scaled to handle 10 million visitors per day
Reduced time-to-market and dev time
Amazon RDS
Gumi scaled to millions of users
36. Our first Facebook game, Fruit Ninja Frenzy,
jumped from 1 million to 8 million active
monthly users in only two weeks…. We switched
to storing our game data in DynamoDB.. We love
that DynamoDB handles so much of the
management for us, freeing us to focus on
development.
-Glen Arrowsmith, Systems Architect, Halfbrick
Studios
Amazon DynamoDB
Halfbrick scaled to millions of users
44. …into a range of containers
Elastic Beanstalk CloudFormationTools
.Net
PHP
Java
Python
Ruby
Node.js
45. User Application
Application Service
HTTP Service
Language Interpreter
Operating System
Host
Which creates the container in EC2
Elastic Beanstalk CloudFormationTools
58. NASA TV & Curiosity Route 53 DNS
Multi-region & AZ
Elastic Loadbalancing
Amazon Live Streaming
Cloud Front
Cloud Formation
59. NASA TV & Curiosity Route 53 DNS
Multi-region & AZ
Elastic Loadbalancing
Amazon Live Streaming
Cloud Front
Cloud FormationTemplate ELBs to front
secondary cache
~100 Nginx
secondary cache
servers
2-3 Nginx mid-tier
cache servers
Stack
CloudFormation template
defined video caching
infrastructure
60. NASA TV & Curiosity Route 53 DNS
Multi-region & AZ
Elastic Loadbalancing
Amazon Live Streaming
Cloud Front
Cloud Formation
Availability Zone
As demand increased new
stacks added to an availability
zone using template
One-click
complex
rollout
63. Multi-Region
Latency Based Routing
Route 53 now powering CloudFront, EC2 and ELB
Application instances in
several AWS Regions
Users automatically
routed to lowest
latency Region
64. London
Paris
NY
Served from S3
/images/*
3
Served from EC2
*.php
2
Single CNAME
www.mysite.com
1
Amazon CloudFront
World-wide content distribution network
Easily distribute content to end users with low
latency, high data transfer speeds, and no
commitments.
Optimize Service Delivery
86. Amazon SQS
Processing
task/processing
trigger
Processing results
Amazon SQS
Reliable, highly scalable, queue service
for storing messages as they travel
between instances
Task A
Task B
(Auto-scaling)
Task C
2
3
1
Simple Workflow
Reliably coordinate processing steps
across applications
Integrate AWS and non-AWS resources
Manage distributed state in complex
systems
Push inter-process
workflows into the cloud
with SWF
Reliable message queuing
without additional software
Queue and Workflow Services
91. Elastic MapReduce
Managed, elastic Hadoop cluster
Integrates with S3 & DynamoDB
Leverage Hive, Pig, HBase, R, Mahout
Feature Details
Scalable Use as many or as few compute instances
running Hadoop as you want. Modify the
number of instances while your job flow is
running
Integrated with
other services
Works seamlessly with S3 as origin and output.
Integrates with DynamoDB
Comprehensive Supports languages such as Hive and Pig for
defining analytics, and allows complex
definitions in Cascading, Java, Ruby, Perl, Python,
PHP, R, or C++
Cost effective Works with Spot instance types
Monitoring Monitor job flows from with the management
console. Ganglia integrated
Get Insights with Elastic MapReduce
94. MediaMolecule uses AWS for Application Development
Increased flexibility
to run multiple
environments
Rapid dev and test of
a new infrastructure
WEALSO LOVEDTHE
FLEXIBILITY THATAWS
ALLOWED US, WHEN SPINNING
UPSMALLER TEST
ENVIRONMENTS, FOR
BETATRIALS, QA, LOCALIZATION,
AND DURING DEVELOPMENT
-ALEX EVANS, CTO
100. Your feedback is important
Please complete the
Survey!
What’s good, what’s not
What you want to see at these events
What you want AWS to deliver for you