How to Create and attach a block storage disk to Windows Server instance in Amazon Lightsail

If you need additional storage space for your instance in Amazon Lightsail, you can create and attach block storage disks to it. In this blog, we will show you how you can create a new block storage disk and attach it to your instance using AWS lightsail console. 

What is disk storage in Lightsail?

Lightsail offers SSD for block storage. It is a storage architecture that manages data as “blocks” and each block or disk works as an individual hard disk that can be attached to a server. 

It offers a reasonable price, low latency, and good performance for applications or software that frequently access stored data. You can select up to 80 GB system disk for your Windows or Linux/Unix-based instance

Disk Quotas available: 

  • 20,000 GB per Region.
  • 8 GB per disk minimum and 16 TB per disk maximum.
  • Up to 15 disks can be attached with each instance, and 1 boot volume disk

If you want sustained IOPS performance or high throughput per disk then go with Amazon EC2 instead of Lighsail. Also if you are using large databases like MongoDB, Cassandra, etc.

Create new block storage and attach it to an instance

  1. Sign in to your AWS Console and open Lightsail.
  2. Click on the Storage tab and then choose Create Disk.
  3. Now choose Region and Availability Zone where your instance is located. Then choose disk size. 
  4. Enter the name of the disk. 
  5. Add tags for your disk and then click on Create Disk.
  6. Choose your instance from the given list and then click on Attach to attach the new disk with your instance. 

Connect to the instance to bring the Block storage disk online

We will connect to our windows instance using RDP and then use the Disk Management option to bring the storage online. 

  1. On the Lightsail homepage, choose the instance you attached the disk with. Then under the connect tab click on Connect using RDP. 
  2. After connecting, open Computer Management in your instance. 
  3. In the Computer Management window, choose Disk Management from the left side. 
  4. At the bottom, you will see a disk labeled Unknown or offline. This is the disk you attached with your instance earlier. 
  5. Select that disk and from the Action menu, click on All Tasks, and then click on Online. 

Initializing the Block Storage Disk

  1. Select the disk which is labeled as Unknown.
  2. After selecting the disk from the Action menu, Choose All tasks and then click on Initialize Disk. 
  3. Choose the Desired Partition Style for your Disk and then click on ok. 

Now you will see the disk labeled as Online. It is now attached with your Instance and working online.

What do you think?

Written by DANN N


Leave a Reply

Your email address will not be published. Required fields are marked *