EC2: Storage Options

Learn about the different storage options for EC2 and how to configure them.

In this lesson, we’ll learn about the different storage options for EC2 and how to create storage volumes through the CLI.

The storage used for EC2 instances is called Elastic Block Store (EBS). This lesson serves as an introduction to EBS and especially the relevant CLI options. In the chapter on storage later in this course, we will do a deep dive into EBS.

Introduction

We have already used EBS storage volumes without thinking about it. When we create a new EC2 instance from an AMI, it automatically creates a root EBS volume for our instance.

If we use the Amazon Linux AMIs, the root volume is 8 GiB in size. The default volume depends on the snapshot size of the AMI we are using.

To create this default root volume, we don’t need to specify any additional CLI parameters. If we don’t specify any storage-related options, the default is used.

Let’s take a quick look at how it looks with the EC2 Launch wizard:

Get hands-on with 1400+ tech skills courses.