DEV Community

Cover image for Creating an EC2 Web Instance
Ahmed Emmanuel Oluwaseyi
Ahmed Emmanuel Oluwaseyi

Posted on

Creating an EC2 Web Instance

To create an EC2 Web Instance on AWS, follow these steps:
****Step 1
Image description

On the EC2 Dashboard, click Launch Instance.

****Step 2
change your region to London

Region

Step 3: Choose a name

Name
Step 4: Select Application and OS Images (Amazon Machine Image)

Image

Step 5: Choose Instance Type

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

Image description

Step 7: Network settings Configurations:
Tick the boxes, leave every other prompt to default settings and proceed to launch as displayed

Image description

Wait while the program launch

Image description

Step 8: program has been launch, now select this box in the image
Image description

Step 9: on the next page, you will now select your instance name you created and click on the connect bar
Image description

Step 10: Connect to instance and select RDP CLIENT
Image description

Step 11:on the RDP CLIENT Page select the get password bar

Image description

Now we will have to upload the keypair we download and saved earlier from the computer file as shown below

Image description

Step 12: After the keypair has been uploaded as seen in the image, we will need to Decrypt password to a passkey

Image description

Step 13: We will need to copy the password and proceed to the Download Remote Desktop file bar

Image description

Step 14: Launch and Open the Remote Desktop file

Image description

Step 15: On the launched Desktop file , now paste the password already copied from the previous page
Image description

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
Image description

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
Image description

Wait till it load, it might take a while
Image description

Our upload is a Success

Image description

Now we go back to our EC2 instance Page, then copy the public ip and paste it on web browser to open it

Image description

Lastly Verify the Web Server, if everything is fine we should get the image below
Image description

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)

Collapse
 
tjasper profile image
Oluwaloseyi Oluwatofunmi Emmanuel

Great resource!