Web Server Creation using Aws →part 10

2 min readMay 4, 2023

Installing IIS on AWS is a straightforward process. Here are the steps you need to follow:

  1. Launch an Amazon EC2 instance: The first step is to create an Amazon EC2 instance on which you’ll install IIS. Go to the EC2 console, select Launch Instance, and choose the Amazon Machine Image (AMI) you want to use. Once you’ve selected the AMI, follow the prompts to configure the instance details, such as instance type, storage, and security group.
  2. Configure security group: When configuring your security group, make sure that you allow inbound traffic on port 80, which is the default port used by HTTP.
  3. Connect to your EC2 instance: Once you have launched your instance, you will need to connect to it via SSH. You can use an SSH client like PuTTY to connect to your instance.
  4. Install IIS: Once you have connected to your EC2 instance, you can install IIS by running the following command:
Install-WindowsFeature -name Web-Server -IncludeManagementTools
  1. Verify IIS installation: After installation is complete, you can verify that IIS is running by opening a web browser and navigating to the public IP address of your EC2 instance. If you see the IIS default page, then you have successfully installed IIS.
  2. Create a webpage: To create a webpage, you can use a text editor like Notepad to create an HTML file. Once you have created the HTML file, save it in the C:\inetpub\wwwroot directory on your EC2 instance. This is the default directory where IIS looks for webpages.
  3. Test your webpage: To test your webpage, open a web browser and navigate to the public IP address of your EC2 instance followed by the name of the HTML file you created. For example, if your public IP address is 54.123.456.789 and the name of your HTML file is “index.html”, you would navigate to http://54.123.456.789/index.html.

That’s it! You now have a working web server running IIS on AWS and a webpage that you can access from any web browser.




Cloud computing and DevOps Engineer and to be as a fresher I am learning and gaining experiance by doing some hands on projects on DevOps and in AWS OR GCP