+ All Categories
Home > Technology > Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Web Services for Application Hosting | SugarCon 2011

Date post: 14-Jan-2015
Category:
Upload: sugarcrm
View: 1,850 times
Download: 0 times
Share this document with a friend
Description:
In this presentation, Jeff Barr will introduce the principal Amazon Web Services from a business and technical point of view. Jeff will review the economics of cloud-based solutions, and will discuss the Elastic Compute Cloud (EC2), the Simple Storage Service (S3), and the Relational Database Service (RDS). Jeff will also discuss the ins and outs of hosting complex applications on AWS. Presented by Jeff Barr, Senior Web Services Evangelist, Amazon Web Services, at SugarCon 2011.
Popular Tags:
35
Amazon Web Services Jeff Barr, Senior Evangelist @jeffbarr
Transcript
Page 1: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Web ServicesJeff Barr, Senior Evangelist@jeffbarr

Page 2: Amazon Web Services for Application Hosting | SugarCon 2011

My Background

Based in Seattle, WA

Education: BS in Computer Science, The American University, 1985 Graduate student in Digital Media, University of Washington, 2010

Background: Microsoft Visual Studio team Consulting to startups and VC’s Amazon employee since 2002

Author, “Host Your Web Site in the Cloud”

Email: [email protected]: @jeffbarr

AWS – Confidential - Copyright © 2011, Amazon Web Services LLC or its affiliates. All rights reserved.

Page 3: Amazon Web Services for Application Hosting | SugarCon 2011

The Cloud is Suddenly Everywhere

Page 4: Amazon Web Services for Application Hosting | SugarCon 2011

What is Cloud Computing?An analogy: think of electricity services…

Power is a utility service - available to you on-demand and you pay only for what you use.

You simply plug into a vast electrical grid managed by experts to get a low cost, reliable power supply – available to you with much greater efficiency than you could generate on your own.

Page 5: Amazon Web Services for Application Hosting | SugarCon 2011

What is Cloud Computing?

Cloud Computing is also a utility service - giving you access to technology resources managed by experts and available on-demand.

You simply access these services over the internet, with no up-front costs and you pay only for the resources you use.

Page 6: Amazon Web Services for Application Hosting | SugarCon 2011

Attributes of Cloud Computing

No capital expenditure

Pay as you go and pay only for what you use

True elastic capacity; Scale up and down

Improves time to market

You get to focus your engineering resources on what differentiates you vs. managing the undifferentiated infrastructure resources

Page 7: Amazon Web Services for Application Hosting | SugarCon 2011

What is Amazon Web Services?

Amazon Web Services is a cloud computing platform that provides flexible, scalable, and cost-effective technology infrastructure for businesses of all sizes around the world…

…utilizing the knowledge, expertise, and tools used to run Amazon.com’s global web properties for over a decade.

Page 8: Amazon Web Services for Application Hosting | SugarCon 2011

AWS Global Reach

US East (Northern Virginia)

US West (Northern California)

Europe (Dublin)

Asia Pacific (Singapore)

Asia Pacific (Tokyo)

AWS Regions

US East (Northern Virginia)

Availability Zone A

Availability Zone B

Availability Zone C

Availability Zone D

Page 9: Amazon Web Services for Application Hosting | SugarCon 2011

WHY ARE PEOPLE SO EXCITED?

Page 10: Amazon Web Services for Application Hosting | SugarCon 2011

The Dirty Little Secret

On-PremiseInfrastructure

YourBusiness

Managing All of the “Undifferentiated Heavy Lifting”

30% 70%

Page 11: Amazon Web Services for Application Hosting | SugarCon 2011

AWS Goal: Flip This Equation

AWSCloud-BasedInfrastructure

YourBusiness

More Time to Focus onYour Business

Configuring Your Cloud

Assets

70%

30%70%

On-PremiseInfrastructure

30%

Managing All of the “Undifferentiated Heavy Lifting”

Page 12: Amazon Web Services for Application Hosting | SugarCon 2011

Predicting Infrastructure UsageC

ompu

te P

ower

Time

Predicted Usage

Actual Usage

Waste

CustomerDissatisfaction

Page 13: Amazon Web Services for Application Hosting | SugarCon 2011

Example: Wall Street App on Amazon EC2

3000 CPU’s for one firm’s risk management processes

Num

ber

of E

C2

Inst

ance

s

300 CPU’s on weekends

Thursday4/23/2009

Friday4/24/2009

Sunday4/26/2009

Monday4/27/2009

Tuesday4/28/2009

Saturday4/25/2009

Wednesday4/22/2009

3000 -

300 -

Page 14: Amazon Web Services for Application Hosting | SugarCon 2011

Example: Video App on Amazon EC2N

um

be

r of

EC

2 In

sta

nce

s

4/12/2008

Launch of Facebook modification

Scaled to peak of 5,000 instances in 3 days

4/14/2008 4/15/2008 4/16/2008 4/18/2008 4/19/2008 4/20/20084/17/20084/13/2008

Page 15: Amazon Web Services for Application Hosting | SugarCon 2011

• Web site hosting

• Application hosting/SaaS hosting

• Internal IT application hosting

• Content delivery and media distribution

• High performance computing, batch data processing, and large scale analytics

• Storage, backup, and disaster recovery

• Development and test environments

Common Use Cases

Page 16: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Web Services

ComputeAmazon Elastic Compute Cloud (EC2)

StorageAmazon Simple Storage Service

(S3)

Cloud-Powered Applications

Content DeliveryAmazon CloudFront

MessagingAmazon Simple Queue Service (SQS)

Amazon Simple Notification Service (SNS)Amazon Simple Email Service (SES)

Parallel Processing

Amazon Elastic MapReduce

MonitoringAmazon CloudWatch

DatabaseAmazon RDS

Amazon SimpleDBThird-Party Offerings

ManagementAWS Management Console

AWS Elastic Beanstalk

ToolsAWS Toolkit for Eclipse

Java, PHP, Ruby, Python, .Net Developer

Centers

NetworkVirtual Private Cloud

Route 53

Metering and Billing

Identity and Access Management

Page 17: Amazon Web Services for Application Hosting | SugarCon 2011

AWS IN DETAIL!

Page 18: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Elastic Compute Cloud

Amazon EC2: on-demand compute power Obtain and boot new server instances in minutes Quickly scale capacity up or down Eleven instance types Hourly billing

Key features: Support for Windows, Linux, FreeBSD, and OpenSolaris Supports all major web and application platforms Deploy across Availability Zones for reliability

Page 19: Amazon Web Services for Application Hosting | SugarCon 2011

Region

Availability Zone

Amazon EC2 Architecture

EC2 Instance

Elastic IP Address

Security Group(s)

Load Balancing

Elastic Block

StorageCloudWatch

Auto Scaling

Ephemeral Storage

Amazon S3

EBS Snapshot

EBS Snapshot

Amazon Machine

Image (AMI)

Page 20: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon EC2 Pricing Options

On-DemandInstances

Pay as you go for compute power

Pay only for what you use, no up-front commitments or long-term contracts

Unix/Linux instances start at $0.02/hour USD in the US East Region

ReservedInstances

Pay a low up-front fee and receive a significant discount on the hourly pricing for that instance

1- or 3-year terms

Helps ensure that compute capacity is available when it is needed

SpotInstances

Enables you to bid on unused Amazon EC2 capacity

Spot Price is based on supply/demand and is determined automatically

If the Spot Price is below your bid, your instances will start

If the Spot Price rises above your bid, your instances will stop

Page 21: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon EC2 Instance Specs

Standard High-CPU High-Memory Cluster

Micro Small Large Extra Large

Medium Extra Large

Extra Large

Double Extra Large

Quadruple Extra Large

Cluster Compute Quadruple Extra

Large

Cluster GPU Quadruple Extra

Large

Bits 32 32 64 64 32 64 64 64 64 64 64

RAM 613 MB

1.7 GB

7.5 GB

15 GB 1.7 GB 7 GB 17.1 GB

34.2 GB 68.4 GB 23 22

Local Disk

0 160 GB

850 GB

1690 GB

350 GB 1690 GB 420 GB

850 GB 1690 GB 1690 GB 1690 GB

EC2 Compute Units

Burst to 2

1 4 8 5 20 6.5 13 26 33.5 33.5

Cores 1 1 2 4 2 8 2 4 8 8(Dual Processor)

8(Dual Processor)

GPU 2 x Nvidia Tesla "Fermi" M2050

Firewall Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes

Linux Per Hour

$0.02 $0.085

$0.34 $0.68 $0.17 $0.68 $0.50 $1.20 $2.40 $1.60 $2.10

Windows Per Hour

$0.03 $0.12 $0.48 $0.96 $0.29 $1.16 $0.62 $1.44 $2.88 N/A N/A

All prices subject to change

Page 22: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Relational Database Service

Provision a new relational database in seconds MySQL (5.1 and 5.5) - Now Oracle (11G) - Soon

Offload common administrative tasks to AWS OS upgrades DB upgrades and patches Scaling CPU and storage Backups & Restores

Use your existing code and toolsPay only for what you use, no up-front commitmentsSingle and Multi-AZRead Replicas

Page 23: Amazon Web Services for Application Hosting | SugarCon 2011

RDS in Action

Page 24: Amazon Web Services for Application Hosting | SugarCon 2011

RDS in Action

Page 25: Amazon Web Services for Application Hosting | SugarCon 2011

HOSTING APPLICATIONS ON AWS

Page 26: Amazon Web Services for Application Hosting | SugarCon 2011

https://aws.amazon.com/console

AWS Management Console

Page 27: Amazon Web Services for Application Hosting | SugarCon 2011

AWS CloudFormation Stack Creation

AMAZON CONFIDENTIAL

Define a JSON template of AWS Resources to provision (EC2 instances, AZ lists, AMIs, EIP, RDS, etc)

Parameterization supported

Use CLI, API, or Management Console to register and create an AWS stack

Service automatically determines interdependencies

AWS resources get created across tiers and AZs forming a CloudFormation Stack

Page 28: Amazon Web Services for Application Hosting | SugarCon 2011

JSON Template

Page 29: Amazon Web Services for Application Hosting | SugarCon 2011

Amazon Virtual Private Cloud - VPC

Create an isolated set of EC2 instances in the AWS cloud

Divide your IP address range into one or more public or private subnets

Control inbound and outbound access to and from individual subnets using stateless Network Access Control Lists

Protect your Instances with stateful filters for inbound and outbound traffic using Security Groups

Bridge your VPC and your onsite IT infrastructure with an encrypted VPN connection

Use Network Addess Translation (NAT)

Page 30: Amazon Web Services for Application Hosting | SugarCon 2011
Page 31: Amazon Web Services for Application Hosting | SugarCon 2011
Page 32: Amazon Web Services for Application Hosting | SugarCon 2011
Page 33: Amazon Web Services for Application Hosting | SugarCon 2011

Other Cloud Hosting Ideas

Easy scaling: Geographies CPU power RAM Bandwidth Storage

Servers on Demand: Development Test Servers Demo / Trial Use

Backup: Snapshot EC2 Snapshot RDS Data to S3

Disaster Recovery: Hot Spare Geographic Redundancy

Page 34: Amazon Web Services for Application Hosting | SugarCon 2011

For More Information

AWS Web Site: http://aws.amazon.com

AWS Blog: http://aws.typepad.com

Email: [email protected]

Twitter: @jeffbarr

Page 35: Amazon Web Services for Application Hosting | SugarCon 2011

THANK YOU!


Recommended