Implementing Amazon Elastic Block Store (EBS)

This course gives you all the required information to start using AWS Elastic Block Store (EBS) volumes with your EC2 instances. Pricing tiers, optimizing performance, implementing security, and taking point-in-time backups are covered as well.
Course info
Level
Beginner
Updated
Jan 16, 2019
Duration
2h 28m
Table of contents
Course Overview
Provisioning and Configuring EBS Volumes
Restoring from EBS Snapshots
Optimizing EBS Instances
Securing EBS Instances
Analyzing Performance of EBS Volumes with CloudWatch
Description
Course info
Level
Beginner
Updated
Jan 16, 2019
Duration
2h 28m
Description

Elastic Block Store (EBS) is Amazon's block storage offering for EC2 instances. Choosing the right configuration for EBS volumes can be tricky. In this course, Implementing Amazon Elastic Block Store (EBS), you will gain the ability to provision EBS volumes for your EC2 instances. First, you will learn to choose the best EBS volume type for your budget and workload. Next, you will discover how to create point-in-time backups for disaster recovery. Finally, you will explore how to secure your EBS volumes and also leverage AWS Lambda to handle EBS related events. When you are finished with this course, you will have the skills and knowledge of implementing Elastic Block Store (EBS) needed to effectively use EBS volumes with your EC2 instances.

About the author
About the author

Reza, is a Microsoft Azure and Amazon AWS architect, developer and trainer. He continues helping his clients with cloud-native solutions while sharing his expertise with other developers through training and mentoring.

More from the author
AWS Media Services: Getting Started
Beginner
1h 44m
Apr 10, 2019
Implementing Amazon S3 Storage on AWS
Intermediate
3h 25m
Feb 23, 2019
More courses by Reza Salehi
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hi, everyone! My name is Reza Salehi, and welcome to my course, Implementing Amazon Elastic Block Store, EBS. I am a cloud deployment consultant and trainer. Did you know AWS allows to easily encrypt, optimize, monitor, and make point-in-time backups from your EBS volumes? In this course, we are going to cover all you need to know to work with Amazon's Block Storage offering. Some of the major topics that we will cover include provisioning the right EBS tier for your budget and need, creating point-in-time EBS snapshots and restoring them, using EBS-Optimized EC2 instances to get the most out of your EBS volumes, securing your EBS volumes by encrypting them, and leveraging AWS lambda to handle events raised by EBS volumes. By the end of this course, you will know enough to safely and securely start using EBS volumes with your EC2 machines. Before beginning the course, you should be familiar with AWS Console and provisioning EC2 instances. I hope you will join me on this journey to learn all about Elastic Block Store with the Implementing Amazon Elastic Block Store course at Pluralsight.

Provisioning and Configuring EBS Volumes
Hello everyone! My name is Reza Salehi, and thanks for joining me in my new course. In this course I'm going to show you how to implement Amazon Elastic Block Store or EBS. We will start the module by talking about different storage options in AWS. These options include object storage such as S3 or Amazon Glacier. AWS block store such as instance stores or EBS, and Amazon file stores such as EFS. We will briefly talk about these storages and their use cases. After that, I'm going to introduce the Elastic Block Store or EBS. This type of storage will be the main focus of this course. We will see how our EC2 instances can benefit from EBS storage. We are going to talk about Globomantics, our use case study. Globomantics is an IT consulting company, which has a few software products. One of them is a simple document management software. Users can use this application to upload new documents to our EC2 instances and then get the report of the uploaded documents. This is a simple PHP application and I'm going to install it in our demo EC2 instances, and we are going to make sure the application continues to work perfectly after our EBS updates. In the second section of this module, we will talk about different options to provision an EBS volume. We can create EBS volumes using an AWS console or in AWS CLI. There are extensions for Microsoft PowerShell, which can be used as well. In the demo, I'm going to show you how to provision an EBS volume and attach it to your EC2 instance. We are going to do this for both Windows and Linux machines. And finally, I'm going to close this module by a quick summary. Let's get started.

Restoring from EBS Snapshots
Hi, I am Reza Salehi. Welcome to this module titled, Restoring from EBS Snapshots. As the name suggests, in this module we are going to cover AWS EBS Snapshots and their use cases. As you remember from the last module, Globomantics is an IT consulting company, and they have a document management product. They have set up the application in a test environment, and the QA team is using this environment to perform testing. Now they need point-in-time backups from this environment so in case of a disaster, they can quickly restore the test environment including the uploaded documents. To do so, we are going to use EBS snapshots. We are going to start this module by introducing EBS Snapshots. We will discuss how the snapshot works and what are the use cases. After knowing the basics about the snapshots, I'm going to cover creating, deleting, and also copying the EBS snapshots. After knowing how to create a snapshot, I'm going to cover restoring an EBS snapshot into an EBS volume. In the second section of this module, I'm going to cover automating EBS snapshots using Amazon Data Lifecycle Manager or DLM. Using DLM, we can automate creating snapshots in specific time intervals so our administrators don't have to go and create the snapshots manually. I'm going to demonstrate working with the snapshots in two demos. In the first demo, we're going to cover creating and restoring from snapshots, and in the second demo I'm going to cover automating EBS snapshots using DLM. I will finish the module by a quick summary.

Optimizing EBS Instances
Hello. I am Reza Salehi. In this module, I'm going to cover optimizing EBS instances. I have divided this module into two sections. In the first section, we are going to answer the question whether Globomantics needs to back up its EBS volumes. We are going to understand high availability for EBS volumes. In the second section of the module, we are going to help Globomantics perform load testing on their document management application. Thousands of documents will be uploaded to the Document Manager during load testing, and the QA team will reported poor performance on the application. The development team identified IO and EBS volumes as the root cause of the performance issue in the load testing so we're going to review the options AWS gives us to improve performance on EBS volumes. We are going to understand EBS-optimized instances. We are going to use performance metrics to determine if we are using the right instance type, and finally we're going to review the list of EBS-optimized instance types. I'm going to conclude the module by a demo. In this demo, we're going to provision an EBS-optimized instance and use performance metrics to determine if we are using the right instance type. As usual, I'm going to finish the module by a quick summary. Let's dive in!

Securing EBS Instances
Hi. I am Reza Salehi. In this module we are going to talk about securing EBS instances. Our company Globomantics is concerned about the security of their EBS volumes. If you remember from the previous modules, Globomantics is hosting a document management application and an EC2 instance hosted on AWS. This EC2 instance is using EBS volumes as its storage. The end users of this application are going to upload sensitive documents, which are going to be saved on the EBS volumes. Globomantics is concerned about the security of these documents. What if somehow the EBS volumes get compromised? The malicious user can potentially attach the EBS volume to another EC2 instance and have access to the sensitive documents. Let's see what options AWS gives us to mitigate this issue. We are going to introduce Amazon EBS encryption. We will see how it works and where the encryption keys will be saved. We will see what exactly will be encrypted. Encrypted EBS volumes can be attached to select instance types. We are going to review these instance types in this module. The existing unencrypted EBS volumes can't be directly encrypted and vice versa. We are going to take a look at a workaround, which allows us to change the encryption state of our EBS volumes using EBS snapshots. I'm going to conclude the module by a demo, in which we are going to secure Globomantics EC2 TEST machine by encrypting its attached EBS volume. I will conclude the module by a quick summary.

Analyzing Performance of EBS Volumes with CloudWatch
I am Reza Salehi. In this module we are going to talk about Analyzing Performance of EBS Volumes with CloudWatch. Globomantics administrators set up automatic backups from their EBS volumes. As you remember, these EBS snapshots are stored in AWS S3. Globomantics managers are concerned about old snapshots being saved on S3 and not being deleted, incurring extra unnecessary S3 costs, so they require the Globomantics administrator to get notified each time a new snapshot is created so they can go ahead and delete old EBS snapshots. We are going to use Amazon CloudWatch Events for Amazon EBS to handle this requirement. So first I'm going to introduce AWS CloudWatch so you will understand what CloudWatch is and how we can use it. Then we are going to talk about the CloudWatch events raised by EBS volumes. Then we are going to take a look at EBS snapshot events for CloudWatch. At this point, we know what events are created by EBS volumes and snapshots. In the next step, we are going to understand how to handle these events so we are going to use Amazon Lambda to handle CloudWatch events. I'm going to provide a small introduction on Amazon Lambda and then we are going to use Amazon Lambda to send an email each time a new EBS snapshot is created. The administrator will receive this email, and based on that, they can free up some S3 space. I'm going to conclude this module by a demo, so in this demo we are going to set up a lambda function, which is going to email the Globomantics administrator each time an EBS snapshot is created, and as usual, I'm going to finish this module by a quick summary. Let's get started.