Presentation is loading. Please wait.

Presentation is loading. Please wait.

Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:

Similar presentations


Presentation on theme: "Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:"— Presentation transcript:

1 Amazon Web Services

2 Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:

3 Basics of Cloud Computing

4 Scalable Hardware Layer Software Infrastructure Layer Grid Service Storage Service Queue Service

5 Example: Storage Service Storage Service Storage Service Storage Service Storage Service New Server The data is automatically re-partitioned/re-balanced to take advantage of the new server

6 5 Benefits of Using Amazon Web Services

7 1.Pay-per use model You are only charged for disk space, CPU time and bandwidth that you use.

8 2. Instant scalability Your Service automatically scales on AWS stack.

9 3. Reliable/Redundant/Secure Infrequent outages (so far). Data is redundant in the cloud. All services have built-in security.

10 4. Most services accessed via simple REST/SOAP API Libraries are available in all major languages. Minimal learning curve.

11 5. Amazon - Experience & Commitment Amazon has been doing this for ~15 years. Company-wide commitment to AWS.

12 Amazon Web Services Stack

13 Simple Database Service (SimpleDB) Elastic Cloud Service (EC2) Simple Storage Service (S3) Simple Queue Service (SQS)

14 Elastic Compute Cloud (EC2) Elastic Compute Cloud (EC2) On-demand grid

15 Elastic Compute Cloud (EC2) (EC2) forms a central part of Amazon.com's cloud- computing platform, (AWS), by allowing users to rent virtual computers on which to run their own computer applications.

16 EC2 in a Nutshell Machine Image (OS + Apps) Usage: Create Machine Image Deploy the image to S3 Start 1 or more instances Use it as regular machine(s) Main Options: Dynamic/Static IPS Choose cores Choose locations Persistence via EBS

17 Sample EC2 Use Cases Batch Processing  All instances are configured with the same code.  Each instance operates on a subset of data.  Partitions are specified in configuration file. Web Service  All instances are configured with the same code.  One or more instances are configured as load balancers (HAProxy for example).  DNS Server distributes requests between load balancers.

18 EC2 vs. Web Hosting Company Good  Instantly add new instances  Full-control over the machines and choice of the environment  Likely cheaper (but depends on your exact situation) Bad  Need to put the images together and manage instances  No dedicated technical support (but there is premium support and RightScale solutions)

19 Simple Storage Service (S3) Simple Storage Service (S3) Large media and everything else storage.

20 S3 Amazon S3 (Simple Storage Service) is an online file storage web service offered by Amazon Web Services. Amazon S3 provides storage through web services interfaces (REST, SOAP, and BitTorrent) At its inception, Amazon charged end users US$0.15 per gigabyte-month, with additional charges for bandwidth used in sending and receiving data, and a per-request (get or put) charge.

21 S3 in a Nutshell Client Idea: Put/Get objects into buckets based on unique keys. Main Features: Public/Private access. Support for large objects. Amazon S3 Bucket 1 Bucket N … Put objectGet object

22 Sample S3 Use Cases Image/Video storage  Put your media once on S3 and then serve it up  Reads are 10 times cheaper than writes! Serialize your Java Objects  Define unique key based on the object attributes  Write out binary serialized version to a stream  Write bytes to S3  Read them back when needed

23 Simple Database Service (SimpleDB) Amazon SimpleDB is a distributed database It is used as a web service in concert with Amazon Elastic Compute Cloud (EC2) and Amazon S3 and is part of Amazon Web Services As with EC2 and S3, Amazon charges fees for SimpleDB storage, transfer, and throughput over the Internet. Availability: components of the system may fail, but the service will continue to operate correctly. Partition tolerance: components in the system are connected to one another by a computer network. If components are not able to contact one another using the network operation of the system will continue

24 Simple DB in a Nutshell Client Idea: Create flat database with auto-indexed tables. Main Features: Each attribute is indexed. Record structure is flexible. Basic operators in queries Supports sorting. Simple DB Domain Record 1 Put record Get record Query records Key1Attributes: A1,A2… Record N Key2Attributes: A1,A2… …

25 Sample SimpleDB Use Cases Index Media files stored on S3  Use the same key as on S3  Write the record with each metadata element as attribute Store flat objects  Use SimpleDB as a storage for non-nested data

26 Simple Queue Service (SQS) Simple Queue Service (SQS) Infinite Asynchronous Queue

27 Amazon Simple Queue Service (SQS) Amazon Simple Queue Service (SQS) is a fast, reliable, scalable, fully managed message queuing service. SQS makes it simple and cost-effective to decouple the components of a cloud application. You can use SQS to transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available.

28 (SQS)Service Highlights Reliable: Amazon SQS runs within Amazon’s high-availability data centers, so queues will be available whenever applications need them. SimpleDevelopers can get started with Amazon SQS by using only three APIs: SendMessage, ReceiveMessage, and DeleteMessage. Additional APIs are available to provide advanced functionality.

29 Scalable Amazon SQS was designed to enable an unlimited number of messaging services to read and write an unlimited number of messages at any time. Secure Authentication mechanisms are provided to ensure that messages stored in Amazon SQS queues are secured against unauthorized access. Inexpensive No up-front or fixed expenses. The only costs of sending messages through Amazon SQS are small per-request handling fees and data transfer fees.

30 Any Question ?

31 Thanks!


Download ppt "Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:"

Similar presentations


Ads by Google