Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » How to Add and Format a New Virtual Disk to an EC2 Instance
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • images 5
    Perform Pleasant Password Self-Service Reset Enrolment Password Manager
  • AWS Scheduled Events
    View Scheduled Events on AW using AWS Web Console and CLI AWS/Azure/OpenShift
  • Could not load file or assembly
    Unable to edit MDT XML unattended file: Could not load file Windows Server
  • image 22
    How to clone a Windows Server running on VirtualBox Virtualization
  • hero activedirectory
    How to find disabled Active Directory User accounts Windows Server
  • banner
    How to install and configure FSRM in Microsoft Windows Server Windows Server
  • Screenshot 2020 08 07 at 21.09.01
    Error 0x204: Unable to Connect to Remote PC [Part 2] Windows

How to Add and Format a New Virtual Disk to an EC2 Instance

Posted on 09/05/202223/03/2023 Temitope Odemo By Temitope Odemo No Comments on How to Add and Format a New Virtual Disk to an EC2 Instance
EC2

With Amazon EC2 you can launch many virtual servers you need and you can configure the security, networking, and storage to your requirement. In this article, you will learn how to Add and Format a New Virtual Disk to an EC2 Instance. Amazon EC2 can help you to scale up or down in response to demand and help you to handle any future traffic. EC2 is just a virtual machine you can use to deploy your applications instead of purchasing a physical server, Amazon has taken care of the purchasing of the hardware and the maintenance while you only need to pay for using the EC2 VM.

Attach a Volume to your EC2 Instance

Please note that attaching a volume to your EC2 will come with some charges and always go for the least amount of volume but a volume that will always meet your system requirements.

Follow the steps below to add a new virtual disk to an EC2 instance. When you follow this article to the end as restricted, you will be able to add and Format a New Virtual Disk to an EC2 Instance. Here are some related guides: How to create and attach an extra Disk to Azure Virtual Machine, and how to install and configure iSCSI Target Server and iSCSI Initiator on a Windows Server.

Open your AWS Management Console showing your EC2 instance

image-5
Launching EC2

From the left menu, click on Volumes.

image-7
Adding Volume

To create a new volume, click the Create Volume button.

image-8
Creating Volume

Select the volume type you want and type a value for the actual Size you want. In this guide, i will be using the minimum size of 1 GiB. Please note that Amazon will charge you for any size you select and this is not reversible once the volume is created.

Select the value for Availability Zone and confirm it is the same as the zone of the EC2 instance to which you will be adding the volume, if it’s not the same you will later have an issue attaching the volume to the specific EC2 instance.

  • The snapshot is optional if you don’t want to preformat a disk with certain datasets. To create a new empty disk, choose No Snapshot.
  • Now go ahead to Click Create volume to start creating the volume and this can take a few seconds or minutes.
image-9
Create Volume
The New Volume was created successfully. 

You can read further guides on EC2: How to sync S3 Bucket with an EC2 instance, how to add an EBS volume to AWS EC2 via the AWS Console and CLI, how to Deploy Dynamic Website to AWS EC2, how to configure AWS Windows instance using EC2 Launch for Server 2016, and how to Deploy MVC Application to AWS EC2 Using RDP Connection and Web Deploy.

image-10
Volume Created

After successfully creating the volume you will notice in the image below that it’s not yet attached to the EC2 instance.

image-11
Volume Created

Follow the steps below on how to format the disk and attach it to your EC2 instance.

  • Right-click the volume you just created and click Attach Volume.
image-12
Attaching Volume

Select the specific instance from the drop-down list and remember that only instances in the same availability zone with the volume will be displayed for attachment.

  • Type the four-letter code xvdf as the device name and click Attach volume button.
image-13
Attaching Volume

Sometimes it takes few minutes to attach a volume to your EC2 instance. The image below shows the volume finally attached to the EC2.

image-14
Attaching volume to instances

Let’s now confirm this volume inside your EC2 instance by login into it using Windows Remote Desktop. You need to download the remote desktop file and also get the password.

image-15
RDP Connection

Initialize and Format a New Virtual Disk

Click Start and type diskmgmt.msc in the search box. Then press Enter. Here are some related guides on adding and formatting disks: How to add and remove a new virtual disk from a VM on VMware Workstation, and how to extend a VM’s Hard Disk on VMware Workstation

In the image below you will see a list of disks and among them is the new volume “Disk 1 – unallocated – Offline” we just created and attached.

image-16
Disk Management

Right-click Disk 1 and click Online.

image-17
Making Disk Online

Right-click the Disk 1 again and click Initialize Disk.

image-18
Initializing the Disk

Confirm the new disk is checked and choose a partition style in this guide we are choosing MBR. Then click OK.

image-19
Initializing the Disk

Create a New Simple Volume

Right-click the box that shows Unallocated and click New Simple Volume.

image-20
New Simple Volume

Just follow the New Simple Volume wizard to select the amount of space you want to assign to a drive and also the drive letter you want to assign to the drive. You may also want to change the Volume label.

image-21
New Simple Volume Wizard

Before you can use the volume it must be formatted and you can select the file system you want to use for the formatting.

image-22
New Simple Volume Wizard

After the volume is formatted and created you may decide to reformat with another file system. All what you need to do is to right-click on the volume and click Format.

image-23
Disk Formatting

Select the file system to use for the formatting. You can perform quick format and also enable file compression.

image-24
Disk Mgt

I hope you found this blog post on how to Add and Format a New Virtual Disk to an EC2 Instance interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift, Windows Server Tags:AWS, Disk management, EC2, EC2 instance, Windows 10, Windows 11

Post navigation

Previous Post: Disable Bing Search in Windows: Quick Guide for Windows
Next Post: Waiting for TPM Auto Provisioning: How to Enable or Disable TPM Auto-provisioning

Related Posts

  • defdfd
    The password has expired, update your password and try again AWS/Azure/OpenShift
  • 33
    The wim file needs to be remounted: Fix error 0xc1510114 Windows Server
  • Slide1
    Enable Exploit Protection feature on Windows using the Windows Security App, Microsoft Endpoint Configuration Manager, and Group Policy Windows
  • banner 3
    How to Set Network Adapter Priority on Windows 11 Network | Monitoring
  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • ghm
    MDT Driver injection: How to import drivers in .exe format into Microsoft Deployment Toolkit Windows Server

More Related Articles

defdfd The password has expired, update your password and try again AWS/Azure/OpenShift
33 The wim file needs to be remounted: Fix error 0xc1510114 Windows Server
Slide1 Enable Exploit Protection feature on Windows using the Windows Security App, Microsoft Endpoint Configuration Manager, and Group Policy Windows
banner 3 How to Set Network Adapter Priority on Windows 11 Network | Monitoring
image 35 How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
ghm MDT Driver injection: How to import drivers in .exe format into Microsoft Deployment Toolkit Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • images 5
    Perform Pleasant Password Self-Service Reset Enrolment Password Manager
  • AWS Scheduled Events
    View Scheduled Events on AW using AWS Web Console and CLI AWS/Azure/OpenShift
  • Could not load file or assembly
    Unable to edit MDT XML unattended file: Could not load file Windows Server
  • image 22
    How to clone a Windows Server running on VirtualBox Virtualization
  • hero activedirectory
    How to find disabled Active Directory User accounts Windows Server
  • banner
    How to install and configure FSRM in Microsoft Windows Server Windows Server
  • Screenshot 2020 08 07 at 21.09.01
    Error 0x204: Unable to Connect to Remote PC [Part 2] Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.