Amazon Web Services - An Overview

769 views
681 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
769
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Amazon Web Services - An Overview

  1. 1. Amazon Web Services - An OverviewDate: March 2011
  2. 2. The Cloud! Many many services Constantly more Doooh! Pay as you go 5 Datacenters (US East, US West, Europe, Singapore, Tokyo) Everything’s scriptable (Rest and SOAP)
  3. 3. S3 (Simple Storage Service) Storage for the internet Write, read, and delete objects From 1 byte to 5 terabytes of data each. Authentication possible BitTorrent included! :) 99.999999999% durability and 99.99% availability of objects
  4. 4. S3 (Simple Storage Service) Versioning Reduced Redundancy Storage (RRS) (99.99% durability) Do Static Webpages only with S3 (eg. http://php-osx.liip.ch)
  5. 5. S3 (Simple Storage Service) - Pricing 0.14$ per GB/month = 143 $ per TB/month ( - 1 TB, then cheaper) RRS = 30% off Datatransfer out: 0.15 $ / GB = 153 $ / TB (- 10 TB) Datatransfer in: 0.10 $ / GB = 102 $ / TB GET Requests: $0.01 per 10,000 Requests POST/PUT Requests: $0.01 per 1,000 Requests
  6. 6. Amazon CloudFront Your personal Content Delivery Network For fast delivery of static content Chooses automatically the best location Streaming and HTTPS is supported 18 “Edge” Locations In Europe: Amsterdam, Dublin, Frankfurt, London, Paris You can use your own domain name Invalidation is possible
  7. 7. Amazon CloudFront - Pricing 0.15 $ / GB = 153$ / TB ( - 10 TB) 0.009$ / 10’000 HTTP Requests (HTTPS is more expensive) Invalidation: 1’000 per month free, then $0.005 per file.
  8. 8. Amazon Elastic Compute Cloud (EC2) provides resizable compute capacity Just like your virtual server from a trad. hosting Based on xen Choose your OS, Kernel, Distribution Start, Stop, Terminate Make your own Images Built in Firewall
  9. 9. Amazon Elastic Compute Cloud (EC2) - Pricing Type RAM CPU Storage $ / hour $/month Micro 613 MB up to 2 EBS only 0.025 18 Small 1.7 GB 1 Core x 1 ECU 160 GB 0.095 68 Large 7.5 GB 2x2 850 GB 0.38 274 Extra Large 15 GB 4x2 1690 GB 0.76 547 High-Memory XL 17.1 GB 2 x 3.25 420 GB 0.62 446 HM Double XL 34.2 GB 4 x 3.25 850 GB 1.14 821 HM Quad XL 68.4 GB 8 x 3.25 1690 GB 2.28 1642High-CPU Medium 1.7 GB 2 x 2.5 350 GB 0.29 209 HC XL 7 GB 8 x 2.5 1690 GB 0.76 547 Cluster Quad XL 23 GB 33.5 1690 GB 1.60 1152
  10. 10. Amazon Elastic Compute Cloud (EC2) - Pricing 1 EC2 Compute Unit (ECU) ~ 1.0-1.2 GHz 2007 Xeon Reserved Instances: pay up-front, get cheaper hours => up to 30% off over 3 years Spot Instances: bid on unused Amazon EC2 capacity => 40-50% of regular price: http://www.cloudexchange.org/ Windows approx. 30% more expensive SQL Server even more (1$/hour for our RAI Server)
  11. 11. Amazon Elastic Compute Cloud (EC2) - Storage In the beginning: Only local instance store Boot of S3 Image, lost on termination Now additionally: EBS Volumes “Independent” persistent Devices, survive termination Fast Can be attached to EC2 instances on-the-go Snapshots (for backup or other purposes) Pay per I/O Request (and Size, of course)
  12. 12. Amazon Elastic IP (EIP) By default, IPs are randomly assigned But you can get a fix IP and ... ... associate it to any EC2 instance you want Anytime. Price: $0.01 per non-attached address per hour (7 $ / month)
  13. 13. Amazon Elastic Load Balancing (ELB) Automatically distributes incoming application traffic Detects unhealthy instances Supports sticky sessions Supports SSL termination Auto Scaling No fixed IP! Just CNAME (ie. no http://liip.ch/ only with www.) Costs: 0.025 $ / hour = 18 $ / month 0.008 $ / GB = 8 $ / TB
  14. 14. Auto Scaling Automatically start or stop instances Scale dynamically based on CloudWatch metrics ... ... or by schedule No additional fees
  15. 15. Amazon CloudWatch Provides monitoring for AWS cloud resources For EC2, EBS, ELB and RDS CPU utilizisation, disk reads/write, Network traffic Set alarms to receive notifications Free for basic monitoring (5 minutes intervall) Detailed monitoring (1 minute interval) available Costs: 0.015 per instance-hour = 11$ / month Costs. 0.10$ per alarm (10 are for free)
  16. 16. VM Import Imports VMWare images Just for Windows right now Export will maybe come some day
  17. 17. Amazon Relational Database Service (RDS) Hosted full-featured MySQL Server Monitor via CloudWatch Automated Backups DB Snapshots Replication with ... ... Multi-AZ Deployments (standby replica) ... Read Replicas (traditional Master/Slave MySQL)
  18. 18. Amazon Elastic Compute Cloud (EC2) - Pricing Type RAM CPU $ / hour $/month Small 1.7 GB 1 Core x 1 ECU 0.12 86 Large 7.5 GB 2x2 0.48 346 Extra Large 15 GB 4x2 0.97 698 High-Memory XL 17.1 GB 2 x 3.25 0.74 533 HM Double XL 34.2 GB 4 x 3.25 1.48 1066 HM Quad XL 68.4 GB 8 x 3.25 2.96 2131 Multi-AZ: double the price, reserved instances available 0.11 $/GB/month = 112 $/TB/month. 0.11 $ per 1 mio requests
  19. 19. Amazon SimpleDB NoSQL DB, key-value store High availability Scalable (you don’t have to define RAM/CPU/..:) Fast No values > 1024 bytes Costs: First 25 computing hours free Then $0.154 per Amazon SimpleDB Machine Hour consumed 0.275$/GB/month = 281$/TB/month
  20. 20. Amazon Virtual Private Cloud (VPC) Lets you provision a private, isolated section of the AWS Cloud Own IP Ranges Control access Attach IPs for public access Connect to your own VPN (with IPSec) Costs: 0.05 per VPN Connection-Hour = 36 $ / month
  21. 21. Amazon Simple Queue Service (SQS) A cloudy Queue Service Simple with just five APIs: SendMessage, ReceiveMessage, DeleteMessage Scalable, no need to define CPU/RAM/... Costs: 0.01$ per 10’000 Requests Usual Data fees.
  22. 22. Amazon Simple Notification Service (SNS) A cloudy Publish/Subscribe Service Create a topic, publish notifications, Subscribe to a topic Get pushs via HTTPS/HTTP/Email/SQS Scalable, no need to define CPU/RAM/... Costs: 0.06$ per 100’000 API-Requests (first 100’000 free) 0.06 $ per 100’000 HTTP Notifications (first 100’000 free) 2.00 $ per 100’000 Email Notifications (first 1’000 free) SQS is free
  23. 23. Amazon Simple Email Service (SES) Send (many many) mails Scalable, no need to define CPU/RAM/... You get statistics about Bounces They make sure, mails are not blocked (blacklists) “Thanks” to spammers, setup is a little bit complicated First 1’000 mails a day, then continuously more Costs: 0.10$ per thousand
  24. 24. Amazon Elastic MapReduce Hadoop in the cloud Process vast amounts of data Choose your instances -> start
  25. 25. Amazon Elastic BeanStalk Tomcat in the cloud Scale, loadbalance, monitor automatically Upload your WAR file, deploy, done Costs: Like EC2
  26. 26. Amazon CloudFormation Create a collection of related AWS resources Provision them in an orderly and predictable fashion Many templates already available (Drupal, Wordpress, etc..) Templates are JSON formatted text files. Costs: Free
  27. 27. AWS SDK For PHP Almost anything is scriptable with the SDK For Java, .NET and PHP Clean OO Syntax Very handsome for automating tasks, like ... creating snapshots (for backup) ... starting/stopping instances (ask Pascal) ... clone and start running machines many many more
  28. 28. AWS Console http://console.aws.amazon.com/ A lot can be configured here S3, EC2, VPC, CloudWatch, CloudFront, CloudFormation, RDS, SNS Some stuff still has to be scripted
  29. 29. Questions?

×