You can deploy the Windows application environment on an Elastic Compute Service (ECS) instance by using an image that contains the operating system and applications. This topic describes how to deploy the Windows application environment on an ECS instance by replacing the image of the instance.
Prerequisites
The instance is stopped. If the instance is not stopped, stop it first. For more information, see Stop an instance.Background information
Alibaba Cloud Marketplace images contain operating systems and applications and can be used to deploy application environments on ECS instances. For more information, see Alibaba Cloud Marketplace.
You can use one of the following methods to use Alibaba Cloud Marketplace images that contain the Windows application environment:
- If you are creating an instance, you can select an Alibaba Cloud Marketplace image that contains the Windows application environment. For more information, see Creation method overview.
- If you are using an existing instance, you can replace the operating system of the instance by using an Alibaba Cloud Marketplace image that contains the Windows application environment.
- The procedure described in this topic applies to existing ECS instances. You can deploy the Windows application environment on an existing instance by changing its image to an Alibaba Cloud Marketplace image. This tutorial describes only the general procedure for using Alibaba Cloud Marketplace images. The buy page of Alibaba Cloud Marketplace images contains the how-to guide. We recommend that you read the guide before you use the images.
- You cannot install or deploy virtualization software such as Kernel-based Virtual Machine (KVM), Xen, or VMware on ECS instances.
- After the operating system of an instance is replaced, the original system disk is released and its data is lost and cannot be restored. Exercise caution when you replace the operating system. For more information, see Replace the operating system of an instance by using a non-public image. Note When the operating system of an instance is replaced, the data on its data disks is not affected.
Procedure
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- Replace the system disk of the ECS instance.
Result
After you complete the payment, the Congratulations, purchase successfully message appears, which indicates that the operating system of the instance is replaced.
The instance automatically starts after the operating system is replaced. You can go back to the Instances page, find and connect to the instance, and use the new Windows application environment. For more information about how to connect to an instance, see Connection methods .