Tuesday, March 8, 2016

AWS EBS vs Instance Store

EC2 instances can be launched using either Elastic Block Store (EBS) or Instance Store volume as root volumes and additional volumes.

Instance Store (Ephemeral storage)
An Instance store backed instance is an EC2 instance uses Instance store as root device and accesses storage from disks that are physically attached to the host computer. 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 you stop or terminate an instance, any data on instance store volumes is lost.

Key points for Instance store backed Instance
  1. Boot time is very fast usually less then a min, as the storage resides on the same machine
  2. Can be selected as Root Volume and attached as additional volumes
  3. Instance store backed Instances can be of maximum 10GiB volume size
  4. Instance store volume can be attached as additional volumes only when is the Instance is launched and cannot be attached once the Instance is up and running
  5. Instance store backed Instances cannot be stopped as one of the main reason being when stopped and started AWS does not guarantee the Instance would be launched in the same host.
  6. Data on Instance store volume is LOST in following scenarios :-
    • Failure of an underlying drive
    • Stopping an EBS-backed instance where instance store are additional volumes
    • Termination of the Instance
  7. Data on Instance store volume is NOT LOST when the instance is rebooted
  8. AMI creation requires usage on AMI tools and needs to be executed from within the server
  9. Instance store backed Instances cannot be upgraded

Amazon Elastic Block Store (EBS)
An "EBS-backed" instance is an EC2 instance which uses an EBS volume as it’s root device.
An EBS volume behaves like a raw, unformatted, external block device that you can attach to a single instance and are not physically attached to the Instance host computer (more like a network attached storage). The volume persists independently from the running life of an instance. After an EBS volume is attached to an instance, you can use it like any other physical hard drive. You can also detach an EBS volume from one instance and attach it to another instance. EBS volumes can also be created as encrypted volumes using the Amazon EBS encryption feature.

Key points for EBS backed Instance
  1. Boot time is slower then Instance store and usually less then 5 min
  2. Can be selected as Root Volume and attached as additional volumes
  3. EBS backed Instances can be of maximum 16TiB volume size depending upon the OS
  4. EBS volume can be attached as additional volumes when the Instance is launched and even when the Instance is up and running
  5. Data on the EBS volume is LOST only if the Root Volume is EBS backed and the Delete On Termination flag is checked (Checked by default)
  6. Data on EBS volume is NOT LOST in following scenarios :-
    • Reboot on the Instance
    • Stopping an EBS-backed instance
    • Termination of the Instance for the additional EBS volumes
  7. EBS volumes are tied to a single AZ  in which they are created
  8. EBS volumes are automatically replicated within that zone to prevent data loss due to failure of any single hardware component
  9. AMI creation is easy using a Single command
  10. EBS backed Instances can be upgraded for instance type, Kernel, RAM disk and user data
Exam Scenario Questions :-
  1. EC2 EBS-backed (EBS root) instance is stopped, what happens to the data on any ephemeral store volumes?
    • Data is automatically saved in an EBS volume.
    • Data is unavailable until the instance is restarted.
    • Data will be deleted and will no longer be accessible. 
    • Data is automatically saved as an EBS snapshot.
  2. When an EC2 instance that is backed by an S3-based AMI is terminated, what happens to the data on the root volume?
    • Data is automatically saved as an EBS snapshot.
    • Data is automatically saved as an EBS volume.
    • Data is unavailable until the instance is restarted. 
    • Data is automatically deleted.
  3.  Which of the following will occur when an EC2 instance in a VPC (Virtual Private Cloud) with an associated Elastic IP is stopped and started? (Choose 2 answers)
    • The Elastic IP will be dissociated from the instance
    • All data on instance-store devices will be lost
    • All data on EBS (Elastic Block Store) devices will be lost
    • The ENI (Elastic Network Interface) is detached
    • The underlying host for the instance is changed 

      54 comments:

      1. Amazon Web Services (AWS) BGP
        This video demonstrates how to configure the Amazon Web Services BGP to set up a VPN between a Check Point Security Gateway and Amazon VPC
        http://www.s4techno.com/blog/2015/12/24/amazon-web-services-aws-bgp/

        ReplyDelete
      2. Boot time is very fast usually less then a min, as the storage resides on the same machine - Seems to be not in line with AWS documentation
        http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html

        Boot time for EBS Backed is faster than Instance Store AMI

        ReplyDelete
      3. Thanks for appreciating. Really means and inspires a lot to hear from you guys.I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..Believe me, This is very helpful for me.

        Dot Net Training in Chennai

        Software Testing Training in Chennai

        ReplyDelete
      4. Finding the time and actual effort to create a superb article like this is great thing. I’ll learn many new stuff right here! Good luck for the next post buddy..
        AWS Training in Chennai

        ReplyDelete
      5. Really it was an awesome article. Very useful & Informative
        Freshers Jobs in Chennai

        ReplyDelete
      6. It is really a great work and the way in which you are sharing the knowledge is excellent.Amazon Web service Training in Chennai

        ReplyDelete
      7. Thanks for the explanation. It’s really helpful. Please keep sharing
        Amazon Web Services Institute in Delhi

        ReplyDelete
      8. Really nice blog, thanks for providing such a wonderful information i never seen this type of post very easy to understand keep share with more updates for more information AWS Online Training Hyderabad

        ReplyDelete
      9. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

        https://www.emexotechnologies.com/courses/other-technology-trainings/python-training/"> Python Training in electronic city

        https://www.emexotechnologies.com/courses/big-data-analytics-training/data-science-with-python-training/">DataScience with Python Training in electronic city

        https://www.emexotechnologies.com/courses/cloud-computing-training/amazon-web-services-aws-training/"> AWS Training in electronic city

        https://www.emexotechnologies.com/courses/big-data-analytics-training/big-data-hadoop-training/"> Big Data Hadoop Training in electronic city

        https://www.emexotechnologies.com/courses/other-technology-trainings/devops-training/"> Devops Training in electronic city

        ReplyDelete
      10. In AWS, CDN companies are delivered by CloudFront. This service takes your static content material and replicates nearer to the place you will have a excessive quantity of customers, thereby making the supply of your website a lot sooner.This is great blog. If you want to know more about this visit here AWS Cloud Certification.

        ReplyDelete
      11. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
        Click here:
        angularjs training in sholinganallur
        Click here:
        angularjs training in btm
        Click here:
        angularjs training in rajajinagar
        Click here:
        angularjs training in marathahalli
        Click here:
        angularjs training in bangalore
        Click here:
        angularjs training in pune

        ReplyDelete
      12. your post is very organized way and easily understandable. Doing a good job. Thank you for sharing this content. aws training in omr | aws training in velachery | best aws training center in chennai

        ReplyDelete
      13. Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful.
        Blueprism training in Chennai

        Blueprism training in Bangalore

        Blueprism training in Pune

        Blueprism online training

        Blueprism training in tambaram

        ReplyDelete
      14. Very Impressive AWS Certification Tutorial. The content seems to be pretty exhaustive and excellent and will definitely help in learning AWS Certification Services.I'm also a learner taken up AWS Certification and I think your content has cleared some concepts of mine. While browsing for AWS Certification tutorials on YouTube i found this fantastic video on AWS Certification Training. Do check it out if you are interested to know more.:-https://www.youtube.com/watch?v=3ppiM8Ede6k

        ReplyDelete
      15. Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging

        DevOps online Training|DevOps Training in USA
        Devops Training in Chennai

        Devops Training in Bangalore

        ReplyDelete
      16. You rock particularly for the high caliber and results-arranged offer assistance. I won't reconsider to embrace your blog entry to anyone who needs and needs bolster about this region.
        nebosh courses in chennai

        ReplyDelete
      17. I am curious to find out what blog system you’re using?
        nebosh course in chennai

        ReplyDelete
      18. This is a good post. This post give truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. thank you so much. Keep up the good works.

        Data Science course in kalyan nagar | Data Science course in OMR
        Data Science course in chennai | Data science course in velachery
        Data science course in jaya nagar | Data science training in tambaram

        ReplyDelete
      19. The site was so nice, I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work and may you gain success in the long run.
        python training in rajajinagar | Python training in bangalore | Python training in usa

        ReplyDelete
      20. Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information.


        rpa training in chennai |
        best rpa training in chennai
        rpa online training
        rpa course in bangalore
        rpa training in pune
        rpa training in marathahalli
        rpa training in btm

        ReplyDelete
      21. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.

        python interview questions and answers | python tutorialspython course institute in electronic city

        ReplyDelete
      22. Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information. 
        Java training in Bangalore | Java training in Kalyan nagar

        Java training in Bangalore | Java training in Jaya nagar

        ReplyDelete
      23. Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.


        AWS Training in BTM Layout |Best AWS Training in BTM Layout

        AWS Training in Marathahalli | Best AWS Training in Marathahalli


        ReplyDelete
      24. it’s really nice and meanful. it’s really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information.
        AWS Online Training

        ReplyDelete
      25. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
        angularjs Training in bangalore

        angularjs Training in bangalore

        angularjs online Training

        angularjs Training in marathahalli

        angularjs interview questions and answers

        ReplyDelete
      26. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me.

        rpa training in chennai
        rpa training in bangalore
        rpa training in pune
        rpa training in marathahalli
        rpa training in btm

        ReplyDelete
      27. Were a gaggle of volunteers as well as starting off a brand new gumption within a community. Your blog furnished us precious details to be effective on. You've got completed any amazing work!
        Java interview questions and answers

        Core Java interview questions and answers| Java interview questions and answers

        Java training in Chennai | Java training in Tambaram

        Java training in Chennai | Java training in Velachery

        ReplyDelete
      28. Great info. I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing...
        AWS Cloud Support in Delhi

        ReplyDelete
      29. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post I would like to read this

        informatica mdm online training

        apache spark online training

        angularjs online training

        devops online training

        aws online training

        ReplyDelete
      30. A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
        Oracle Fusion Financials Online Training
        Oracle Fusion HCM Online Training
        Oracle Fusion SCM Online Training

        ReplyDelete
      31. This comment has been removed by the author.

        ReplyDelete
      32. Good Information for this blog
        Best QA / QC Course in India, Hyderabad. sanjaryacademy is a well-known institute. We have offer professional Engineering Course like Piping Design Course, QA / QC Course,document Controller course,pressure Vessel Design Course, Welding Inspector Course, Quality Management Course, #Safety officer course.
        QA / QC Course
        QA / QC Course in india
        QA / QC Course in hyderabad

        ReplyDelete
      33. Does your blog have a contact page? I’m having problems locating it but, I’d like to shoot you an email. I’ve got some recommendations for your blog you might be interested in hearing.keepit up guys.
        Ai & Artificial Intelligence Course in Chennai
        PHP Training in Chennai
        Ethical Hacking Course in Chennai Blue Prism Training in Chennai
        UiPath Training in Chennai

        ReplyDelete
      34. Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work..Nice blog. I finally found great post here Very interesting to read this article and very pleased to find this site. Great work!
        Data Science Training In Chennai

        Data Science Online Training In Chennai

        Data Science Training In Bangalore

        Data Science Training In Hyderabad

        Data Science Training In Coimbatore

        Data Science Training

        Data Science Online Training

        ReplyDelete
      35. Thank you for posting informative insights, I think we have got some more information to share with! Do check out
        oracle training in chennai and let us know your thoughts. Let’s have great learning!

        ReplyDelete
      36. I genuinely appreciated understanding it. Sitting tight for some more incredible articles like this from you in the nearing days.

        Hadoop Training in bangalore
        Hadoop Training Institute In Bangalore

        ReplyDelete
      37. Very informative and helpful. Thank You for sharing the blog.  aws training in chennai aws course in chennai 

        ReplyDelete
      38. Description:
        Study Amazon Web Services for making your career as a shining sun with Infycle Technologies. Infycle Technologies is the best AWS training institute in Chennai, providing complete hands-on practical training of professional specialists in the field. In addition to that, it also offers numerous programming language tutors in the software industry such as Oracle, Python, Big Dat, Hadoop, etc. Once after the training, interviews will be arranged for the candidates, so that, they can set their career without any struggle. Of all that, 200% placement assurance will be given here. To have the best career, call 7502633633 to Infycle Technologies and grab a free demo to know more.
        no.1 aws training in Chennai

        ReplyDelete
      39. Reach to the best Data Science Training institute in Chennaifor skyrocketing your career, Infycle Technologies. It is the best Software Training & Placement institutes in and around Chennai. that also gives the best placement training for personality tests, interview preparation, and mock interviews for leveling up the candidate's grades to a professional level.

        ReplyDelete
      40. I want you to thank for your time of this wonderful read!!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!
        data analytics course in hyderabad

        ReplyDelete