How to install an iis web server on Amazon Ec2 instance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5168

    #1

    How to install an iis web server on Amazon Ec2 instance

    Firstly, search in google aws management console



    After searching, then signin into your account

    It takes you to the aws console home page



    In the console home page at the search bar on the top left hand corner, search for Ec2 instance and press enter



    Next, click on launch instances



    On the next page, name and add tags. Name it ugoec2



    On the top right corner, just before name of account, select desired region. Change the region from the previous Stockholm to London



    Next to be added is Operating System image. Under quick start select windows



    Under Amazon Machine Image (AMI) select Microsoft Windowers Server 2025 Base -free tier eligible



    In instance type, select t3.micro



    In key pair name - required select create new key pair



    Next name the keypair ugokeypair. leave the east as default and click create key pair



    Scroll to Firewalls(security groups) and Allow RDP traffic from anywhere and Allow HTTP traffic from the internet



    Leave the rest as default and click launch instance



    Instance, successfully launched



    On the top left hand corner, select Ec2



    Under resources, click on instances



    Click on ugoec2 and select the connect button



    Under connect to instance, select RDP Client



    Scroll down and click on download remote desktop file



    In password, click get password



    Under private, click upload private key file



    Then in the download of your computer select ugokeypair that was downloaded earlier



    Then click decrypt password



    Copy the dycrpted passwood



    Go to the RDP file downloaded earlier and open and connect to it. Then paste password and click ok



    A windows server has being connected to



    Search for power shell in the windows server and run as administrator to create web server role and type Install-WindowsFeature -Name Web-Server -IncludeManagementTools and press enter

    . The above image has the common feature of a web server.

    Go to the EC2 created and copy the ip address



    Paste the ip address on a web browser to view the internet information services (iis) web server.






    More...
Working...