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
Click volumes (See Attached Image)
Click Volume ID highlighted (See Attached Image)
- 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 ๐ข๏ธ