Startups face a range of challenges as they build their MVP, strategize ways to grow their business while keeping tabs on expenses. These can be overcome by having the right tools and support teams. Our customers in their early phases have benefited from using Amazon Cloudfront in scaling their business on demand across various markets and technologies, creating top-notch customer experience, and cutting costs significantly by integrating Amazon CloudFront in their overall architecture.
Also listen to Michael Smith Jr., Chief Product Officer, Spuul, the largest Indian online video site who shared their early challenges and how the AWS Cloud helped Spuul to deliver a superior and consistent customer experience along with best practices and tips for startups
1. Amazon Web Services Confidential – For internal use only
Improving Customer Experience
& Growing Addressable Market
Palvinder Chahil
Head of Cloudfront APAC & China
3. Amazon Web Services Confidential – For internal use only
Product?
Do we have a product?
Can we ship?
How to develop faster?
Better? Cheaper?
How do we create a
great…
Customer
Experience
Market?
Do people buy?
Do they pay?
Can we scale?
Can we deal with spikes?
How do we grow and
enter new market to…
Reach
Customers
Profit?
Can we monetize?
How to grow revenue?
When can we break-even?
Can we get & stay profitable?
How do we …
Minimize
Costs
4. Amazon Web Services Confidential – For internal use only
“Cloud is like a fertilizer that creates Startups”
Eric Ries, author of NY Times
bestseller “The Lean Startup”
=
9. Amazon Web Services Confidential – For internal use only
Your customer behaviour and their evolving expectations
Introducing CloudFront: Why do you need a CDN
1. Improving Customer Experience
2. Growing Addressable Market
3. Minimizing Costs
Customer Case: Spuul
Getting Started
Webinar Agenda
10. Amazon Web Services Confidential – For internal use only
Reputation: Performance matters for a growing business?
11. Amazon Web Services Confidential – For internal use only
1. Travel (Booking holidays)
2. News (sports)
3. Ecommerce (buying stuff)
4. Consuming premium media (video, games, apps)
5. Banking (paying for all of the above)
They need it to be a fast, consistent (platforms & geography),
personalised and secure experience.
How They Use The Web
12. Amazon Web Services Confidential – For internal use only
Introducing CloudFront to help you
along this journey……
13. Amazon Web Services Confidential – For internal use only
CloudFront
Edge Locations
S3 bucket or
custom origin
with content
Data transfer of cached
content to end user (if cached)
End-user requests content
Data transfer of content to
CloudFront edge location to cache
Cached copies of objects
If content not cached – object
requested from origin
12
3 4
Request routed to most
optimal edge location
13
How CloudFront Works: Non-Cached Object
14. Amazon Web Services Confidential – For internal use only
14
How CloudFront Works: Cached Object
CloudFront
Edge Locations
S3 bucket or
custom origin
with content
Data transfer of cached
content to end user (if
cached)
End-user requests content
Cached copies of
objects
1
2
Request routed to most
optimal edge location
15. Amazon Web Services Confidential – For internal use only
15
1. Low latency and high availability: Improves content load times to your
growing audience.
2. High bandwidth: Provide highest quality options from day 1.
3. Enables high bit rate HD video and other bandwidth-heavy applications
4. Redundant: Brand reputation :Eliminates single points of failure
5. Go Global with high availability: Worldwide network provides great
experience regardless of geography
6. Cost-effective: Pay as you go model provides flexibility for your business
CloudFront in a Nutshell
16. Amazon Web Services Confidential – For internal use only
POST /2012-07-01/distribution HTTP/1.1
Host: cloudfront.amazonaws.com
Authorization: AWS authentication string
Date: time stamp
Other required headers
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfig
xmlns="http://cloudfront.amazonaws.com/doc/2012
-07-01/">
ConsoleAPI
Getting Started Is Easy
17. Amazon Web Services Confidential – For internal use only
Introducing CloudFront
• Improving Customer Experience
• Growing Addressable Market
• Minimizing Costs
19. Amazon Web Services Confidential – For internal use only
Strong architecture:
• Well-designed, 2 Tier architecture
• Highly Available due to Multiple Availability Zone
• Load Balancing & Auto-Scaling for full scalability
• Fully managed Database included
But:
• Wasted server capacity for static content
• Durability of content is not yet optimal
• End-user experience could be improved by offloading & caching
20. Amazon Web Services Confidential – For internal use only
1. Static content stored in durable,
consistent way (S3)
2. Improved end-user experience by
leveraging CloudFront
21. Amazon Web Services Confidential – For internal use only
Static content are the objects on your website that
don’t change from user to user
• Images
• Media
• CSS
• JavaScript
22. Amazon Web Services Confidential – For internal use only
Dynamic content is the interactive or personalized
portion of a website created on-the-fly for each end user.
• News
• Weather
• Sports
• Social media
• Advertising
• Stocks
• Ecommerce
• Travel
23. Amazon Web Services Confidential – For internal use only
Dynamic
Static Video
User
Input
SSL
24. Amazon Web Services Confidential – For internal use only
Elastic Load
Balancing
Dynamic Content
Amazon EC2
Static Content
Amazon S3 Custom Origin
OR
OR
Custom Origin
www.example.com/*.php
cdn.example.com/*.jpg
Typical Architecture
25. Amazon Web Services Confidential – For internal use only
Improving Customer Experience
Elastic Load
Balancing
Dynamic Content
Amazon EC2
Static Content
Amazon S3 Custom Origin
OR
OR
Custom Origin
*.php
*.jpg
Amazon CloudFront
www.example.com
26. Amazon Web Services Confidential – For internal use only
26
We iterate quickly on features…
Integration with Wowza
PUT/POST and Other HTTP
Methods
Wildcard CNAME Support
Customized Error Responses
Edge Location in Atlanta
Add’l Edge Locations in London & Frankfurt
Edge Locations in Manila,
Marseille and Warsaw
Geo Restriction
Dec
13
Sep
13
Oct
13
Nov
13
Jan
14
Feb
14
Mar
14
Apr
14
Edge Location in Rio de
Janeiro and Taipei
Smooth Streaming Support
SSL SNI Support
HTTP to HTTPS Redirect
CloudFront Usage Charts
EDNS- Client-Subnet
Support
Jul
13
Jun
13
Aug
13
May
13
Edge Location in
Seoul, Korea
Custom SSL Certificate and
Zone Apex support
Edge Location in Chennai
Edge Location In Mumbai
May
14
Jun
14
Free Tier
AWS CloudTrail Support
Device Detection, Geo Targeting,
Host Header Forwarding, and
CORS Support
Jul
14
Edge Location in
Melbourne
27. Amazon Web Services Confidential – For internal use only
Introducing CloudFront
• Improving Customer Experience
• Growing Addressable Market
• Minimizing Costs
28. Amazon Web Services Confidential – For internal use only
1. Frictionless self-service signup
2. No set-up or platform fees
3. No custom code
4. No re-architecting required
Go global in 15 minutes
29. Amazon Web Services Confidential – For internal use only
Europe
Amsterdam (2)
Dublin
Frankfurt (3)
London (3)
Madrid
Marseille
Milan
Paris (2)
Stockholm
Warsaw
South America
Rio de Janeiro
Sao Paulo
North America
Ashburn, VA (3)
Atlanta, GA
Dallas, TX (2)
Hayward, CA
Jacksonville, FL
Los Angeles, CA (2)
Miami, FL
Newark, NJ
New York, NY (3)
Palo Alto, CA
Seattle, WA
San Jose, CA
South Bend, IN
St. Louis, MO
Asia
Chennai
Hong Kong (2)
Manila
Melbourne
Mumbai
Osaka
Singapore (2)
Seoul
Sydney
Taipei
Tokyo (2)
Amazon CloudFront – Global CDN with 52 POPs
30. Amazon Web Services Confidential – For internal use only
30
What happens if we grow quickly?
0
10
20
30
40
50
60
70
80
8:00 AM 9:00 AM 10:00 AM 11:00 AM 12:00 PM 1:00 PM 2:00 PM 3:00 PM 4:00 PM 5:00 PM 6:00 PM 7:00 PM 8:00 PM 9:00 PM
VolumeofData
Delivered(Gbps)
Peak usage over 60 Gbps
Example: Video banner ad customer
31. Amazon Web Services Confidential – For internal use only
1. Enabled Self Service
2. AWS Solution Architects
3. 24 Hour AWS Customer Service
4. Dedicated Support Engineers
5. Fast Response Times (<15 mins)*
Regardless of size,
all our clients get access to…
* Depends on level of Premium Support (http://aws.amazon.com/premiumsupport/)
32. Amazon Web Services Confidential – For internal use only
Introducing CloudFront
• Improving Customer Experience
• Growing Addressable Market
• Minimizing Costs
33. Amazon Web Services Confidential – For internal use only
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
1. No S3, no CF, 6 EC2 instances
34. Amazon Web Services Confidential – For internal use only
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
1. No CF, 6 EC2 instances
2. Offloading to S3
35. Amazon Web Services Confidential – For internal use only
1. 6 EC2 instances
2. Offloading to S3
3. Caching with CloudFront
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
36. Amazon Web Services Confidential – For internal use only
1. Reduced # of EC2 instances
2. Offloading to S3
3. Caching with CloudFront
4. Requests are handled by CF,
auto-scaling reduces EC2
instances to 2 >>> cost savings!
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
Reduce your compute Demand and Costs
by using S3 & CloudFront for Caching & Offloading
37. Amazon Web Services Confidential – For internal use only
We tested this with a Demo…
Standard Architecture
• No S3, no CloudFront
• App with pictures stored on EC2
• Load test with 10,000 requests
Optimized Architecture
• Pictures stored with S3
• Caching with CloudFront
• Same 10,000 requests…
…so what do you think happened?
38. Amazon Web Services Confidential – For internal use only
Impact of S3, CloudFront and Auto-scaling on Costs
Month
Medium EC2 instances 1 $ 121
CloudFront Data Transfer Out 1Tb $ 168
CloudFront Requests $1.89
TOTAL $ 291
Month
Medium EC2 instances 4 $ 485
AWS Data Transfer Out 1Tb $ 194
TOTAL $ 679
Standard ArchitectureStandard ArchitectureStandard ArchitectureStandard Architecture Optimized ArchitectureOptimized ArchitectureOptimized ArchitectureOptimized Architecture
57% lower cost – 6x faster
39. Amazon Web Services Confidential – For internal use only
What other costs do I have?
40. Amazon Web Services Confidential – For internal use only
PriceperGB
Data Transfer
Data Transfer
Economies of Scale
Public Rates Private Rates
41. Amazon Web Services Confidential – For internal use only
Customer Success
Michael Smith
Chief Product Officer
42. Amazon Web Services Confidential – For internal use only
About Spuul
• Spuul is a global OTT video service focusing on premium
Indian movie and TV content
• Founded in 2011 – launched in 2012
• HQ in Singapore
• Huge movie and TV catalog available for streaming on:
• The web
• iOS and android apps
• Smart TV and some set top boxes/chromecast
• Lots of partners also syndicating our content/player
• All core pieces running on AWS
44. Amazon Web Services Confidential – For internal use only
Key things Spuul has to do
• Deliver a 24/7 API for all Spuul and partner apps
• Stream video at a consistent quality around the globe
• Deal with cold starts
• Troubleshoot where it is not working
• Store user data and user stream information
• Auto scale as needed
• Pre-Scale as needed
• Code to reduce costs versus buy stuff
45. Amazon Web Services Confidential – For internal use only
Key AWS tech to discuss
• EC2
• Databases
• RDS
• Dynamo
• Redshift
• Caching with Elasticache – Redis
• S3
• Cloudfront
• Futures - kinesis
46. Amazon Web Services Confidential – For internal use only
Why AWS?
• We don’t have to talk to sales reps
• We can automate everything
• We can play with machines all around the world
• Experiment at a scale, analyze, and decide
• Normally something we build on top of an AWS service is cheaper than
said service elsewhere – push as an example
• All the data is there for us to grab – compare to data access being an
upgrade elsewhere
• AWS brings real techies around to talk to us about new things and help
us use AWS better
• They buy the beers sometimes!
47. Amazon Web Services Confidential – For internal use only
47
• 50 GB of free data transfers per month
• 2,000,000 HTTP(S) of free requests per month
• Lean more: http://aws.amazon.com/free/
• Either use Amazon S3 or your own custom origin for
storing the objects
• Create a distribution using CloudFront
• Place the CloudFront URL on your site
Get Started Today