EBS

·     To create snapshot of the root EBS volume ; should stop the instance first. However can take a snapshot while the instance is running; snapshots are incremental , the delta is copied to S3

·     Can create AMI`s from both Volumes and snapshots

·     Can modify EBS volumes on the fly; including storage type and size.

·     Volumes will always be in the same AZ as the ec2 instance

·     To move an EC2 instance from one AZ to another; Take a snapshot of it; create an ami of the snapshot and then use the AMI to launch the ec2 instance in a new AZ.

·     To move an EC2 instance from one region to another; take a snapshot of it, create an ami instance of the snapshot and copy the AMI to another region , Then use the copied AMI to launch a new instance in another region

·     for encryption of root volume take a snaphot then copy it and select  encrypt option, then create AMI and launch

EBS OPTIMIZED

SSD BURSTABLE

o  GP2 has 3 IOPS per meg, volumes under 1000 meg can burst to 3k iops' also can increase the size of the volume (> 5334 GB) to get a total ok 16k IOPS before moving  to io1

Volume Type

EBS Provisioned IOPS SSD (io1)

EBS General Purpose SSD (gp2)*

Throughput Optimized HDD (st1)

Cold HDD (sc1)

Short Description

Highest performance SSD volume designed for latency-sensitive transactional workloads

General Purpose SSD volume that balances price performance for a wide variety of transactional workloads

Low cost HDD volume designed for frequently accessed, throughput intensive workloads

Lowest cost HDD volume designed for less frequently accessed workloads

Use Cases

I/O-intensive NoSQL and relational databases

Boot volumes, low-latency interactive apps, dev & test

Big data, data warehouses, log processing

Colder data requiring fewer scans per day

API Name

io1

gp2

st1

sc1

Volume Size

4 GB - 16 TB

1 GB - 16 TB

500 GB - 16 TB

500 GB - 16 TB

Max IOPS**/Volume

64,000

16,000

500

250

Max Throughput***/Volume

1,000 MB/s

250 MB/s

500 MB/s

250 MB/s

Max IOPS/Instance

80,000

80,000

80,000

80,000

Max Throughput/Instance

1,750 MB/s

1,750 MB/s

1,750 MB/s

1,750 MB/s

Price

$0.125/GB-month

$0.065/provisioned IOPS

$0.10/GB-month

$0.045/GB-month

$0.025/GB-month

Dominant Performance Attribute

IOPS

IOPS

MB/s

MB/s

EBS - Elastic Block Store

 

SSD General Purpose

SSD IOPS

Provisioned

HDD throughput optimized

HDD Cold Storage

Short description

Boot volume,

Low latency,

 

 

Use case

 

Critical business applications that require high sustained IOPS  10k+ or 160 MB/s throughput per volume :

Large DB workloads such as Cassandra , Mongo ,  Microsoft Sever , MySQL, PostgreSQL & Oracle

 

 

API Name

 

 

 

 

Volume Size

 

 

 

 

Max IOPS/volume

 

 

 

 

MAX Throughput

 

 

 

 

MAX IOPS

64000 (nitro instances, otherwise 32k)

16000

500

 

Max throughput instance

 

250 MB/s

500 MB/s

 

Price

 

 

 

 

 

 

 

 

 

Dominant performance

 

 

 

 

 

 

 

 

 

EBS -gp2 max 16000 iops x3| I01 > large dbs 32k iops x5| st1 500 iops throughtput | sc1 250 iops throughput 250

 

iops.PNG

·     If you Terminate an Instance only the root volume is deleted (by default) other EBS volumes persist

instance_store.PNG

 

ebs_resize.PNG

 

 

snapsots.PNG

 

 

ebs_fx.PNG

 

ebs_cloudwatch.PNG