Step 1:
- Create a Windows EC2 Instance Launch an EC2 Instance:
- Go to the AWS Management Console.
- Navigate to the EC2 dashboard.
- Click on "Launch Instance".
- Select the Windows Server of your choice.
- Choose an instance type that meets your requirements.
- Configure instance details as needed.
- In the "Add Storage" section, specify an initial root volume size (e.g., 30 GB).
- During the setup, create a new key pair or use an existing one.
- Download the private key file (.pem) and store it securely.
- the .pem we use for the window here
- 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
- just launch the instance.
- Wait for the instance to reach the "running" state.
- In the EC2 dashboard, navigate to "Volumes" under "Elastic Block Store".
- click on create volume then choose volume type and choose storage how many you need after that create volume
- remember create volume as the same availability zone in which you have instance
- after complete the creation volume step the next step is to attach volume
- firstly select your volume which you created then goto actions
- open the attach volume option
- select the instance it automatic show you all the instance you have in this region
- then select the device then attach the volume
- if the instance not shown then you created the volume another availability zone.
- the volume and the instance must be in same AZ then they attached
- after completing the attach volume go to instance section
- in this section select the instance then click on the connect button its show three option
- then go to RDP section
- this section is to create the remote desktop to access the server so firstly download the remote desktop in your device
- then open it.
- when the password screen occure then go to aws RDP section click on the generate password option
- there upload the private key which you have download at the time of instance launching to your device
- after that click on the encrypt password
- then copy the password
- paste the password
- the virtual remote desktop show on the screen to see how many storage it have go to this pc section
- here its only the root volume the other volume 10gb which we created don't show
- 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
- firstly we sectlect the volume then right click on it select online option then its turn red to blue its means its online.
- then some partitions there on the clicking the where storage show then created new disk d and confirm it.
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