Install the latest version of EC2Config
By default, the EC2Config service is included in AMIs prior to Windows Server 2016. When the EC2Config service is updated, new Windows AMIs from Amazon include the latest version of the service. However, you need to update your own Windows AMIs and instances with the latest version of EC2Config.
Note
EC2Launch replaces EC2Config on Windows Server 2016 and 2019. For more information, see Use the EC2Launch v1 agent to perform tasks during EC2 Windows instance launch. The latest launch service for all supported Windows Server versions is EC2Launch v2, which replaces both EC2Config and EC2Launch.
For information about how to receive notifications for EC2Config updates, see Subscribe to EC2 Windows launch agent notifications. For information about the changes in each version, see the EC2Config version history.
Before you begin
-
Verify that you have .NET framework 3.5 SP1 or greater.
-
By default, Setup replaces your settings files with default settings files during installation and restarts the EC2Config service when the installation is completed. If you changed EC2Config service settings, copy the
config.xml
file from the%Program Files%\Amazon\Ec2ConfigService\Settings
directory. After you update the EC2Config service, you can restore this file to retain your configuration changes. -
Note
If your version of EC2Config is earlier than version 2.1.19 and you are installing version 2.3.313 or later, you can install it directly without installing version 2.1.19 first.
Verify the EC2Config version
Use the following procedure to verify the version of EC2Config that is installed on your instances.
To verify the installed version of EC2Config
-
Launch an instance from your AMI and connect to it.
-
In Control Panel, select Programs and Features.
-
In the list of installed programs, look for
Ec2ConfigService
. Its version number appears in the Version column.