Saturday, January 4, 2020

Storage - AWS

data storage options are associated with instances. Options are

Amazon Elastic Block Store
Amazon EC2 Instance Store
Amazon Elastic File System (Amazon EFS)
Amazon Simple Storage Service (Amazon S3)

Except instance store, all other storage options are outside the host computer.

Amazon EBS
Amazon EBS provides durable, block-level storage volumes that you can attach to a running instance. Use Amazon EBS as a primary storage device for data that requires frequent and granular updates, for e.g. running a database.

An EBS volume behaves like a raw, unformatted, external block device thatone can attach to a single instance.The volume persists independently from the running life of an instance. After an EBS volume is attached to an instance, one can use it like any other physical hard drive.

Multiple volumes can be attached to an instance. One can also detach an EBS volume from one instance and attach it to another instance.
One can dynamically change the configuration of a volume attached to an instance. EBS volumes can also be created as encrypted volumes using the Amazon EBS encryption feature.

To keep a backup copy of data, one can create a snapshot of an EBS volume, which is stored in Amazon S3. One can create an EBS volume from a snapshot, and attach it to another instance.

Amazon EC2 Instance Store

Many instances can access storage from disks that are physically attached to the host computer. This disk storage is referred to as instance store. Instance store provides temporary block-level storage for instances. The data on an instance store volume persists only during the life of the associated instance; if one stop or terminate an instance, any data on instance store volumes is lost.

Amazon EFS File System
Amazon EFS provides scalable file storage for use with Amazon EC2. One can create an EFS file system and configure your instances to mount the file system. One can use an EFS file system as a common data source for workloads and applications running on multiple instances.

Amazon S3
Amazon S3 provides access to reliable and inexpensive data storage infrastructure.  It is designed to make web-scale computing easier by enabling you to store and retrieve any amount of data, at any time, from within Amazon EC2 or anywhere on the web.

Root storage device

Every time an instance is launched from an AMI, a root storage device is created for that instance. The root storage device contains all the information necessary to boot the instance. You can specify storage volumes in addition to the root device volume when you create an AMI or launch an instance using block device mapping.

Below is an overall architecture of all types of device storages 



references:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html

No comments:

Post a Comment