+ All Categories
Home > Technology > Hands-On With Amazon Web Services (AWS) - part 3

Hands-On With Amazon Web Services (AWS) - part 3

Date post: 06-Sep-2014
Category:
Upload: p3-infotech-solutions-pvt-ltd
View: 693 times
Download: 0 times
Share this document with a friend
Description:
Slides used for the workshop "Hands-On With Amazon Web Services (AWS)" in December 2012. P3 InfoTech Solutions Pvt. Ltd. helps organizations achieve business breakthroughs by adopting Cloud Computing through our Outsourced Product Development and Cloud Consulting service offerings. Check out our service offerings at http://www.p3infotech.in.
Popular Tags:
31
HANDS-ON WITH AMAZON WEB SERVICES (AWS) PART 3 – DISCUSSION ON AWS SERVICES 8-Dec-2012 Pavan Verma Founder, P3 InfoTech Solutions Pvt. Ltd. http://p3infotech.in, [email protected]
Transcript
Page 1: Hands-On With Amazon Web Services (AWS) - part 3

HANDS-ON WITH AMAZON WEB SERVICES (AWS)

PART 3 – DISCUSSION ON AWS SERVICES

8-Dec-2012

Pavan Verma

Founder, P3 InfoTech Solutions Pvt. Ltd.

http://p3infotech.in, [email protected]

Page 2: Hands-On With Amazon Web Services (AWS) - part 3

Core AWS Services

• EC2

• Elastic IP

• EBS

• S3

• RDS

• DynamoDB

• CloudFront

• Cloudwatch

• Auto Scaling

Page 3: Hands-On With Amazon Web Services (AWS) - part 3

EC2 – Types of instances

• On-demand instances

• Reserved instances

• Spot instances

Page 4: Hands-On With Amazon Web Services (AWS) - part 3

EC2 – On-demand instances

• Completely pay-per-use

Page 5: Hands-On With Amazon Web Services (AWS) - part 3

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!

Page 6: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 7: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 8: Hands-On With Amazon Web Services (AWS) - part 3

STORAGE SERVICES

Page 9: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 10: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 11: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 12: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 13: Hands-On With Amazon Web Services (AWS) - part 3

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)

Page 14: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 15: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 16: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 17: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 18: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 19: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 20: Hands-On With Amazon Web Services (AWS) - part 3

HOW TO MANAGE AWS SERVICES

Page 21: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 22: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 23: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 24: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 25: Hands-On With Amazon Web Services (AWS) - part 3

List of All AWS Services

•Compute and Networking

• EC2

• Route 53

• Direct Connect

• Elastic MapReduce

• VPC

Page 26: Hands-On With Amazon Web Services (AWS) - part 3

List of All AWS Services (2)

•Storage and Content Delivery

• S3

• Glacier

• CloudFront

• Storage Gateway

Page 27: Hands-On With Amazon Web Services (AWS) - part 3

List of All AWS Services (3)

•Database

• RDS

• DynamoDB

• ElastiCache

Page 28: Hands-On With Amazon Web Services (AWS) - part 3

List of All AWS Services (4)

•Deployment and Management

• IAM

• CloudWatch

• CloudFormation

• Elastic Beanstalk

Page 29: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 30: Hands-On With Amazon Web Services (AWS) - part 3

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

Page 31: Hands-On With Amazon Web Services (AWS) - part 3

Recommended