Amazon Web Services provides a suite of cloud computing services including compute, storage, databases, networking, analytics, machine learning, and more. Some key services include:
- Amazon S3 for object storage with high durability and availability.
- Amazon EC2 for virtual compute instances that can be configured, automated, and scaled as needed.
- Amazon RDS to host and manage relational databases in the cloud.
- Additional services like SQS, SNS, CloudFront, VPC, ElastiCache, EMR, and more provide queuing, messaging, content delivery, networking, caching, and big data processing capabilities.
- Pricing is based on pay-as-
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. 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. 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. 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. 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. 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. 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. 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 1'642
High-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 1'152
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. 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. 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. 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. Auto Scaling
Automatically start or stop instances
Scale dynamically based on CloudWatch metrics ...
... or by schedule
No additional fees
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. VM Import
Imports VMWare images
Just for Windows right now
Export will maybe come some day
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. 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 1'066
HM Quad XL 68.4 GB 8 x 3.25 2.96 2'131
Multi-AZ: double the price, reserved instances available
0.11 $/GB/month = 112 $/TB/month. 0.11 $ per 1 mio requests
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. 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. 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. 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. 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. Amazon Elastic MapReduce
Hadoop in the cloud
Process vast amounts of data
Choose your instances -> start
25. Amazon Elastic BeanStalk
Tomcat in the cloud
Scale, loadbalance, monitor automatically
Upload your WAR file, deploy, done
Costs: Like EC2
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. 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. 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