DEV Community

Cover image for Installing IIS Server and Setting Up on a Windows EC2 Instance on Amazon Web Services.
Ikechukwu Kelechi Alexander
Ikechukwu Kelechi Alexander

Posted on

Installing IIS Server and Setting Up on a Windows EC2 Instance on Amazon Web Services.

Elastic Compute Cloud
This guide covered how to set up the IIS (Internet Information Services) web server and create an EC2 instance on AWS. Following these instructions will allow you to set up a Windows-based web server in the cloud and prepare it to host websites or applications. This guide provides a solid foundation for working with AWS and IIS, regardless of your previous experience or want to develop your cloud skills.

Amazon Web Services (AWS) is a cloud platform that provides compute, storage, and database services for application development and scaling.

EC2 Instances are AWS virtual servers that provide resizable compute power for cloud-based application hosting and workload execution.

Here are the Guided Steps to follow!

Sign Up

Root

  • Sign up as Root User Dashboard
  • Log in to your AWS Console.

Dashboard

  • On the Right-Top Corner Locate and change the (1) region to suit your location.
  • On the search bar, type EC2 (2)
  • Select or click on (3) EC2

Launch Instance

  • Click on Launch Instance. Give the EC2 instance a name. We can also add additional tags like department, state, e.t.c. (optional).

name

  • Select Windows as the AMI (Amazon Machine Image).
    AMI

  • On Instance Type Select t3.mirco
    t3.micro

  • Choose Instance Type and create new key pair

keypair

key

Notice that the key file has been downloaded!

On Network Setting Select:

  • Allow RDP traffic from
  • Allow HTTP traffic from the internet. Network Set

On Configure storage

  • Set your storage specifications.

CS

  • Connect to your instance. CI

On Connect to Instance

  • Open RDP Client
  • Download Remote Desktop File
  • Select Get Password
    RDP

  • Get Windows Password
    GWP

  • Locate the downloaded RDP file, then connect to the server.
    RDD File

  • Input the password, then log in.

Login

  • Yes Yes

Window Initializing

Desktop

Install IIS Web Server

  • Search for PowerShell on the desktop, run as Admin

PS

  • Enter the command Install-WindowsFeature -Name Web-Server-IncludeManagementTools

Install Feature

  • Install Feature
  • Loading
    Wait for the server to install completely.
    Loading

  • Success!
    PS Success

`Copy the Public IP address then paste in a browser.
IP

Now let us test the IIS web server.
You can verify that IIS has been installed just by pasting the IP address of the VM in a browser.

Browser

Should in case you need to terminate or delete your EC2 instance for cost management, let's do it together.

Go back to your AWS Dashboard. Locate your EC2 instance.
Check or select the instance to be terminated.
Locate Instance State, then select Terminate Instance.
Terminate

I hope this article is able to guide you through!
Bye for now!!!

Top comments (1)

Collapse
 
jabkaskin profile image
Jabka Skin

Awesome post!