Elastic Block Storage & Amazon Machine Image

Elastic Block Storage & Amazon Machine Image

ยท

2 min read

After EC2, Let's learn about EBS.

--> Think of it as a Network drive, you attach to your instance while they run.

--> It allows you to persist data, even after your termination.

--> They are bound to specific availability zones

PS:- Think of it as a network USB stick, which can be taken out of the computer to another

So What is EBS resolving?

Please let me allow to answer this

The data stored on a local instance store will persist only as long as that instance is alive. However, data that is stored on an Amazon EBS volume will persist independently of the life of the instance. Therefore, we recommend that you use the local instance store for temporary data and, for data requiring a higher level of durability, AWS recommend using Amazon EBS volumes.

Now,

You can see EBS under EC2

  1. Click volumes (See Attached Image)

  2. Click Volume ID highlighted (See Attached Image)

  1. Scroll down to see Attached Instances (See Attached Image)

One more question which is very important here is-->

What are EBS snapshots?

EBS snapshots are nothing but backup of EBS volumes.

Please look through the image attached ๐Ÿ‘‡

You can clearly see in the image that you can create a snapshot for your EBS volumes and then from that snapshot one can restore multiple fully provisioned EBS volumes OR Copy the snapshot across regions else share it with other AWS accounts.

After restoring EBS Volumes, Finally one can Launch there Instances.

Easy???

Let's study a bit about AMI's

AMI(Amazon Machine Image)

In Technical terms An Amazon Machine Image (AMI) is a supported and maintained image provided by AWS that provides the information required to launch an instance.

In very easy language it's the customization of an EC2 instance.

Here,

--> You add your own configuration, software, own Operating System, Monitoring

--> Its boot/configuration time is faster because all your software is pre-packaged

Take a look at the attached Image

Go to EC2 -> Instaces-> Launch new Instance-> Scroll Down

And yes, That is AMI

You can Launch Instaces from Public AMI(AWS Provided), Your own AMI & An AWS marketplace AMI(AMI someone else made).

Finally we learned About EBS and AMI

Guys cloud is super-fun ๐Ÿ˜

This doesn't end here, I will come again with my next blog!

Stay Tuned!!๐Ÿ˜Š

All suggestions are welcomed!!

A small hint Next Blog I will be covering Databases ๐Ÿ›ข๏ธ

ย