Maximizing Your AWS EC2 Instance Storage: A Step-by-Step Guide

051_muhammadshahbaz_2823

Muhammad Shahbaz

Posted on August 6, 2024

Maximizing Your AWS EC2 Instance Storage: A Step-by-Step Guide

Image description

Step 1:

  1. Create a Windows EC2 Instance Launch an EC2 Instance:
  2. Go to the AWS Management Console.
  3. Navigate to the EC2 dashboard.
  4. Click on "Launch Instance".
  5. Select the Windows Server of your choice.
  6. Choose an instance type that meets your requirements.
  7. Configure instance details as needed.
  8. In the "Add Storage" section, specify an initial root volume size (e.g., 30 GB).

Image description
Generate a Private Key:

  1. During the setup, create a new key pair or use an existing one.
  2. Download the private key file (.pem) and store it securely.
  3. the .pem we use for the window here
  4. first enter the name of the key then save it to the device. for later use at this point all the other setting is on default form
  5. just launch the instance.
  6. Wait for the instance to reach the "running" state.

Image description

  1. In the EC2 dashboard, navigate to "Volumes" under "Elastic Block Store".
  2. click on create volume then choose volume type and choose storage how many you need after that create volume
  3. remember create volume as the same availability zone in which you have instance

Image description

  1. after complete the creation volume step the next step is to attach volume
  2. firstly select your volume which you created then goto actions
  3. open the attach volume option

Image description

  1. select the instance it automatic show you all the instance you have in this region
  2. then select the device then attach the volume
  3. if the instance not shown then you created the volume another availability zone.
  4. the volume and the instance must be in same AZ then they attached
  5. after completing the attach volume go to instance section

Image description

  1. in this section select the instance then click on the connect button its show three option
  2. then go to RDP section

Image description

  1. this section is to create the remote desktop to access the server so firstly download the remote desktop in your device
  2. then open it.
  3. when the password screen occure then go to aws RDP section click on the generate password option

Image description

  1. there upload the private key which you have download at the time of instance launching to your device
  2. after that click on the encrypt password

Image description

  1. then copy the password

Image description

  1. paste the password

Image description

  1. the virtual remote desktop show on the screen to see how many storage it have go to this pc section

Image description

  1. here its only the root volume the other volume 10gb which we created don't show
  2. so go to disk management its show root volume and other volume but the other volume which we have create is not configure that's why its not show on the pc section

Image description

  1. firstly we sectlect the volume then right click on it select online option then its turn red to blue its means its online.
  2. then some partitions there on the clicking the where storage show then created new disk d and confirm it.

Image description

Image description

Image description
the pc selection its show two disks one is root and the other one is disk d which we attach successfully after launching the instance

💖 💪 🙅 🚩
051_muhammadshahbaz_2823
Muhammad Shahbaz

Posted on August 6, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related