S3 and EBS.

S3 and EBS.

Here I will tell you what is S3 (simple storage service) and EBS(elastic block storage).

  1. What is S3 in aws?

    • S3 define as a simple storage service in aws . You can virtually store anything in S3. Amazon S3 is object storage built to store and retrieve any amount of data from anywhere. It’s a simple storage service that offers industry leading durability, availability, performance, security, and virtually unlimited scalability at very low costs. Amazon S3 provides a simple web service interface that you can use to store and retrieve any amount of data, at any time, from anywhere. Using this service, you can easily build applications that make use of cloud native storage.

    S3 is an object-level data storage that distributes the data objects across several machines and allows the users to access the storage via the internet from any corner of the world.

Note: Amazon S3 is global service you can't select a particular region for that.

2 . What is EBS ?

-EBS defines as a Elastic block storage in AWS . As its name said it is a block storage you can store anything in that like a block but in S3 everything stores like object. This storage is basically use for the ec2 instance to increase the instances storage capacity like a external hard disk . You can attach or detach EBS from EC2 instances.

Note : you can not detach the root EBS form EC2 instance . Because In that EBS the operating system is installed ,and that ebs storage automatically created when you create your EC2 instance, its like internal storage .

You can also take Snapshot (like a backup) form EBS and then connect that EBS to different instance , so the backup data will be shown into that ec2 instance. This is a region based and availability zone based storage .

Elastic Block storage(EBS) stores files in multiple volumes called blocks, which act as separate hard drives, and this storage is not accessible via the internet. Use cases include business continuity, transactional and NO SQL database, software testing, etc.

Now In below image you can see the different storages offered by aws.

maxresdefault.jpg