Stop, restart, delete, or uninstall EC2Launch v2 - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Stop, restart, delete, or uninstall EC2Launch v2

You can manage the EC2Launch v2 service just as you would any other Windows service.

EC2Launch v2 runs once on boot and runs all of the configured tasks. After executing tasks, the service enters a stopped state. When you restart the service, the service will run all of the configured tasks again and return to a stopped state.

To apply updated settings to your instance, you can stop and restart the service. If you are manually installing EC2Launch v2, you must first stop the service first.

To stop the EC2Launch v2 service
  1. Launch and connect to your Windows instance.

  2. On the Start menu, choose Administrative Tools, and then open Services.

  3. In the list of services, right-click Amazon EC2Launch, and select Stop.

To restart the EC2Launch v2 service
  1. Launch and connect to your Windows instance.

  2. On the Start menu, choose Administrative Tools, and then open Services.

  3. In the list of services, right-click Amazon EC2Launch, and select Restart.

If you don’t need to update the configuration settings, create your own AMI, or use Amazon Systems Manager, you can delete and uninstall the service. Deleting a service removes its registry subkey. Uninstalling a service removes the files, the registry subkeys, and any shortcuts to the service.

To delete the EC2Launch v2 service
  1. Start a command prompt window.

  2. Run the following command:

    sc delete EC2Launch
To uninstall EC2Launch v2
  1. Launch and connect to your Windows instance.

  2. On the Start menu, choose Control Panel.

  3. Open Programs and then Programs and Features.

  4. In the list of programs, choose Amazon EC2Launch. To confirm that you're choosing v2, check the Version column.

  5. Choose Uninstall.