Learn how to quickly create a Simple Application Server instance that runs Windows and build a web application. The steps use the Windows Server 2022 Datacenter Edition image as an example.
Prerequisites
-
You have created an Alibaba Cloud account on the international site.
-
You have added a credit card or PayPal account. For more information, see Payment methods.
Step 1: Create a Simple Application Server
-
Go to the Simple Application Server console. In the upper-left corner of the page, click Create Server.
-
On the Simple Application Server page, configure the instance.
For more information about the parameters, see Create a Simple Application Server instance.
Parameter
Example
Description
Servers
-
General-purpose: General Purpose
-
Plan: Select a plan with a system disk larger than 40 GiB.
ImportantWindows images require a system disk 40 GiB or larger.
Select an instance family and a plan. To see more plans, click
or the drop-down arrow in the Plan section. Ensure the selected plan meets the system disk requirement. For more information, see Instance families.Image
-
OS Images: Windows
-
Tag: Windows Server 2022 Datacenter Edition
On the OS Images tab, select a Windows image. Click Expand Other Images to view more images.
Region
Singapore
Select a region that is geographically close to your target users to reduce network latency. Regions outside the Chinese mainland, such as China (Hong Kong) and Singapore, provide international bandwidth. Access from the Chinese mainland may cause high network latency. For more information, see Regions and network connectivity.
-
-
After configuring the instance, click Buy Now and complete the payment. Then, return to the Simple Application Server console. The instance is created when its status changes from Pending to Running.
Step 2: Connect to the Simple Application Server
Connect to the Windows instance using the Password-based Logons on Workbench method. For more remote connection methods, see Connect to a Windows instance.
-
Set a password for the instance.
On the instance card, click Reset Password. In the dialog box that appears, select Change Online, set a new password, and then click OK.
Important-
Newly created instances do not have an initial password. You must set one in the console before you can connect.
-
A new Windows instance takes about one minute to initialize. You can change the password online only after initialization is complete.
-
-
Connect to the instance.
On the instance card, click Connect. In the Connect dialog box that appears, select Password-based Logons on Workbench, click Log on Now, enter the password you set, and then click OK.
-
After you log on, the Windows desktop appears.
Step 3: Set up the environment
The following steps show you how to deploy Internet Information Services (IIS).
-
From the Start menu, search for and open
PowerShell. -
Install IIS.
-
Run the following command to install IIS and its management tools.
Install-WindowsFeature -name Web-Server -IncludeAllSubFeature -IncludeManagementTools -
If the installation succeeds, the following output appears.
PS C:\Users\Administrator> Install-WindowsFeature -name Web-Server -IncludeAllSubFeature -IncludeManagementTools Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- True No Success {ASP.NET 4.8, .NET Framework 3.5 (includes .NE...)} PS C:\Users\Administrator>
-
-
Access IIS. In the address bar of your local browser, enter
http://<your_server_public_ip_address>.You can find the public IP address of the instance on its card in the console.
If the default welcome page for Internet Information Services appears in your browser, your environment is set up.