To create an EC2 Web Instance on AWS, follow these steps:
****Step 1
On the EC2 Dashboard, click Launch Instance.
****Step 2
change your region to London
Step 3: Choose a name
Step 4: Select Application and OS Images (Amazon Machine Image)
Step 5: Choose Instance Type
Select the instance type based on your requirements (e.g., t3.micro for a low-cost, small instance).I am working now with t3.micro, and also switch to all generation as displayed above
Step 6: Configure your Instance Key pair (login) download and safe it to your file
Step 7: Network settings Configurations:
Tick the boxes, leave every other prompt to default settings and proceed to launch as displayed
Wait while the program launch
Step 8: program has been launch, now select this box in the image
Step 9: on the next page, you will now select your instance name you created and click on the connect bar
Step 10: Connect to instance and select RDP CLIENT
Step 11:on the RDP CLIENT Page select the get password bar
Now we will have to upload the keypair we download and saved earlier from the computer file as shown below
Step 12: After the keypair has been uploaded as seen in the image, we will need to Decrypt password to a passkey
Step 13: We will need to copy the password and proceed to the Download Remote Desktop file bar
Step 14: Launch and Open the Remote Desktop file
Step 15: On the launched Desktop file , now paste the password already copied from the previous page
Step 16:Now we have a new open windows. below the window on the search bar, we will input PowerShell then Run as Administrator so as to install windows features
Step 17: On the Administrator page, we need to input the command as shown in the box below, that will populate the features on the windows
Wait till it load, it might take a while
Our upload is a Success
Now we go back to our EC2 instance Page, then copy the public ip and paste it on web browser to open it
Lastly Verify the Web Server, if everything is fine we should get the image below
Conclusion
Your EC2 web instance is now ready to host a website. You can configure additional services, install applications, or upload your website files based on your needs.
Top comments (1)
Great resource!