Home >Web Front-end >JS Tutorial >Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

Patricia Arquette
Patricia ArquetteOriginal
2024-12-19 11:14:21472browse

This tutorial shows how to build an EC2 instance on Amazon Web Services (AWS) and install the IIS web server on it.

What is AWS?

AWS is a comprehensive and popular cloud platform with a global presence that provides safe and affordable cloud computing services, including computation, storage, databases, machine learning, networking, and more, based in data centers spread across the globe. A virtual server in the AWS cloud environment is called an Amazon EC2 (Elastic Compute Cloud) instance.

Table of contents

The three simple steps to create an Amazon EC2 console are as follows:.

  • Step 1: Sign in to the AWS management console and create the EC2 instance.

  • Step 2: Connect to the instance.

  • Step 3: Create the IIS web server.

Step 1: Sign in into AWS management console and create the EC2 instance.

  • go to Google and search for AWS management console.

Creating an Amazon ECnstance and installing the IIS web server.

  • Sign in to the console or create a profile.

Creating an Amazon ECnstance and installing the IIS web server.

  • Search for EC2 on the home page.

Creating an Amazon ECnstance and installing the IIS web server.

  • Select EC2 and scroll down and launch instance.

Creating an Amazon ECnstance and installing the IIS web server.

  • Give the instance a name and add tags.

Creating an Amazon ECnstance and installing the IIS web server.

  • In the Application and OS Images under the Quick Start tab, select an OS image for your instance.

  • Select Windows.

Creating an Amazon ECnstance and installing the IIS web server.

  • Select the free Microsoft Windows server 2025 Base as the Amazon machine image.

Creating an Amazon ECnstance and installing the IIS web server.

  • select t3.micro under instance type.

Creating an Amazon ECnstance and installing the IIS web server.

  • For key pair, Create new key pair.

Creating an Amazon ECnstance and installing the IIS web server.

  • Give the keypair a name, ensure key pair type is RSA then craete a key pair. Notice the keypair file is downloaded.

Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

  • Scroll down to Firewall (security groups), select Ensure RDP from anywhere and Allow HTTP from the internet are both selected. This will ensure your server can be accessed anywhere over the internet.

  • Launch instance and wait for it to be successful.

Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

Step 2: Connect to the instance and create the IIS web server

  • Connect to instance.

Creating an Amazon ECnstance and installing the IIS web server.

  • Select the RDP Client tab, check the Connect using RDP and Download the RDP file.

  • Wait for the file to download.

Creating an Amazon ECnstance and installing the IIS web server.

  • Select Get password.

Creating an Amazon ECnstance and installing the IIS web server.

  • Upload private key file, navigate and select the key file downloaded previously.

Creating an Amazon ECnstance and installing the IIS web server.

  • Decrypt password.

Creating an Amazon ECnstance and installing the IIS web server.

  • Copy password.

Creating an Amazon ECnstance and installing the IIS web server.

  • Open the RDP file that was downloaded and Connect.

Creating an Amazon ECnstance and installing the IIS web server.
Creating an Amazon ECnstance and installing the IIS web server.

  • Paste the password previously copied. Ok

Creating an Amazon ECnstance and installing the IIS web server.
Creating an Amazon ECnstance and installing the IIS web server.

Step 3: Create the IIS web server.

  • Search for PowerShell on the desktop, run as Admin.

Creating an Amazon ECnstance and installing the IIS web server.

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

Creating an Amazon ECnstance and installing the IIS web server.

  • Wait for it to finish loading.

Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

  • Notice the Exit Code says successful.

  • Exit the remote desktop to the AWS management console. Select the instance, copy the public IP address.

Creating an Amazon ECnstance and installing the IIS web server.

  • Paste the IP address in a new tab on your browser.

Creating an Amazon ECnstance and installing the IIS web server.

  • Press Enter and observe the web server that was deployed.

Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

  • Notice the IIS web server was successfully accessed from the public internet.

  • To ensure you dont run out your credit on AWS, Terminate and delete Instance immediately after usage.

Creating an Amazon ECnstance and installing the IIS web server.

Creating an Amazon ECnstance and installing the IIS web server.

Back to top

The above is the detailed content of Creating an Amazon ECnstance and installing the IIS web server.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn