This document discusses Amazon Web Services (AWS) and provides an overview of several core AWS services. It describes compute services like EC2 and S3 storage, along with database services like RDS and DynamoDB. It also covers management and monitoring services such as CloudWatch, Auto Scaling, and CloudFormation that can be used to automate AWS resources. A wide range of AWS services across computing, storage, databases, deployment and more are also briefly listed.
5. EC2 – Reserved instances
• Hybrid model – combination of one-time
upfront payment and pay-per-use
• 2 reservation terms – 1 year and 3 years
• 3 types of reservation instances – Light,
Medium, Heavy
• Can get confusing!
6. Elastic IP
• EC2 IP addresses do not persist across a
shutdown event
• Therefore, these cannot be used as static IP
addresses
• Elastic IP addresses are static IP addresses
associated with an account, not a particular
instance.
• Elastic IP addresses can be mapped to any
EC2 instance of the account
7. EC2 – Spot instances
• Unused instances that users can bid on
• Can be much cheaper than on-demand
and reserved instances
• Gotcha! No guarantee on how long they
run
• Will be stopped if that instance gets a
higher bid
9. Local Instance Storage (aka
Ephemeral Storage)
• Block-level temporary storage for EC2 instances
• Served from disks attached to the box on which the
VM is running
• No persistence – All data disappears when EC2
instance is stopped
• Use cases:
• Scratch disks
• Temporary files, buffers, caches
• Easily replicated data
10. Local Instance Storage (aka
Ephemeral Storage) (2)
• Not durable
• No replicas, backups
• Application can do its own backups if required
• Number and size of instance store varies by EC2
instance type
• Larger instances have larger volumes
• Not optimized for high performance
• Good sequential I/O performance
• Poor random I/O performance
• Cost: Free with EC2 instance, no additional cost
11. Amazon Elastic Block Store (EBS)
• Block-level persistent storage for EC2 instances
• Data lifetime independent of EC2 instance lifetime
• Can attach multiple EBS instances to an EC2 instance
• Any individual EBS can only be attached to a single
EC2 instance
• Off-instance, network attached storage
• Use cases:
• File system (including root filesystem of EC2 instance)
• Databases
• Anywhere where persistent storage is required
12. Amazon Elastic Block Store (EBS) (2)
• Durable storage
• Mirrored within a single Availability Zone
• EBS Snapshots can be used for increased
durability and backups
• Incremental snapshots
• Stored in S3
• Optimized for high performance
• Up to 80 MB/sec sequential access
• About 100 IOPS for 8K random requests
13. Amazon Elastic Block Store (EBS) (3)
• Cost: $0.10 per GB-month and reduces
with more quantity used
• IOPs priced separately (free upto a limit)
14. Amazon Simple Storage Service (S3)
• Scalable and durable data storage
• Object storage
• Accessed via a REST API
• Not attached to EC2 instance
• Can be accessed by multiple EC2 instances in parallel
• Can be accessed by non-EC2 systems (for example, my laptop)
• Read/Write/Delete objects (files) from 1B to 5TB
• Use cases
• Static web content
• Working storage for large scale computation or analytics
• Backup, Archival, and DR storage
15. Amazon Simple Storage Service (S3) (2)
• Cost: starts at $0.095 per GB-month and reduces with
more quantity used
• Access to data priced separately (free upto a limit)
• Extreme Durability
• Automatic replication within region
• Design point is eleven 9s durability and four 9s availability
• Extremely Scalable
• Unlimited number of objects per bucket
• Web-scale concurrent read/writes
16. Amazon Simple Storage Service (S3) (3)
• Two layer hierarchy: Buckets and Objects
• Bucket name has to be unique across entire AWS
• Every object has a unique URL
• Simple GET/PUT/DELETE API using HTTP
• Support Access Control (ACLs)
• S3 is an object store, not a filesystem
• S3 generally good for reads/writes of whole files
• Web-like usage patterns, rather than disk-like
17. Amazon CloudFront
• Content Delivery Network (CDN)
• Can use S3 as the origin store
• More than 30 edge locations worldwide
• Use cases:
• Fast access to mostly static data
• Scalable data distribution at global scale
18. DynamoDB
• Fully managed NoSQL database service
• Provides fast and predictable performance
with seamless scalability
• Built-in fault tolerance
• Automatically and synchronously replicates
data across three Availability Zones in a Region
• Uses a proprietary database
19. Amazon Relational Database Service
(RDS)
• Fully-functional relational database
provided as a managed service
• Automates: Patching, Backups, Failover,
Read Replicas
• Supports standard databases: MySQL,
Oracle, SQL Server
21. Managing AWS Services
• AWS services can be managed in following
ways
• AWS console
• REST API. ALL AWS services are accessible
via a REST API
• Command line tools
• SDKs for PHP, Java, Python, Ruby, .NET
22. AWS CloudWatch
• Provides monitoring for AWS cloud resources
• Basic Monitoring for Amazon EC2 instances:
10 pre-selected metrics at 5-minute frequency,
free of charge
• Detailed Monitoring for Amazon EC2
instances: 7 pre-selected metrics at 1-minute
frequency, for an additional charge
23. AWS Auto Scaling
• Scale EC2 capacity up or down automatically
according to pre-defined conditions
• Ensure that the number of EC2 instances
increases seamlessly during demand spikes
to maintain performance, and decreases
automatically during demand lulls to minimize
costs
24. AWS CloudFormation
• Provides an easy way to create a collection
of related AWS resources and provision
them
• Useful to provision complete application
stacks in one shot
25. List of All AWS Services
• Compute and Networking
• EC2
• Route 53
• Direct Connect
• Elastic MapReduce
• VPC
26. List of All AWS Services (2)
• Storage and Content Delivery
• S3
• Glacier
• CloudFront
• Storage Gateway
27. List of All AWS Services (3)
• Database
• RDS
• DynamoDB
• ElastiCache
28. List of All AWS Services (4)
• Deployment and Management
• IAM
• CloudWatch
• CloudFormation
• Elastic Beanstalk
29. List of All AWS Services (5)
• App Services
• CloudSearch
• SWF – Simple Workflow Service
• SQS – Simple Queue Service
• SNS – Simple Notification Service
• SES – Simple Email Service
30. AWS Marketplace
• Online store where customers can find, buy, and
immediately start using the software and services that
run in the EC2 cloud
• Includes software from vendors like SAP, Zend,
Microsoft, IBM, Canonical, Perforce, Couchbase, Acquia,
Check Point Software, and 10gen as well as many widely
used open source offerings including Wordpress, Drupal,
and MediaWiki.
• Extends AWS’ pay-as-you-go pricing model to third party
software
• Customers pay by the hour
• Developers charge by the hour