Installing the Latest Version of EC2Config
By default, the EC2Config service is included in AWS Windows Server 2003-2012 R2 AMIs. (Windows Server 2016 AMIs use the EC2Launch PowerShell script. For more information about Windows Server 2016 AMIs, see Changes in Windows Server 2016 AMIs.) When the EC2Config service is updated, all AWS Windows AMIs are updated with the latest version of the service. However, you need to update your own Windows AMIs and instances with the latest version.
For information about how to receive notifications for EC2Config updates, see Subscribing to EC2Config Service Notifications. For information about the changes in each version, see the Details about EC2Config Versions.
To verify the version of EC2Config included with your Windows AMI
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.
To install the latest version of EC2Config on your instance
You can remotely install the latest version of the EC2Config service by using EC2 Run Command. For more information, see Updating the SSM Agent Using Amazon EC2 Run Command. Or, use the following procedure to manually install the latest version.
Important
If you changed EC2Config service settings, copy the config.xml file in the %Program Files%\Amazon\Ec2ConfigService\Settings directory. After you update the EC2Config service, you can paste this file into the Settings directory to retain your configuration changes.
Download and unzip the EC2Config installer.
Run
EC2Install.exe. For a complete list of options, runEC2Installwith the/?option. By default, setup displays prompts. To run the command with no prompts, use the/quietoption.
Important
Be aware of the following important details about the installation.
By default, Setup replaces your settings files with default settings files during installation and restarts the EC2Config service when the installation is completed. To keep the custom settings that you saved at the start of this procedure, run
EC2Installwith the/norestartoption, restore your settings, and then restart the EC2Config service manually.If you are running EC2Config version 4.0 or later, then you must restart the SSM Agent on the instance from the Microsoft Services snap-in. For information about how to determine which version of EC2Config your instances is running, see Installing the Latest Version of EC2Config.
Details about EC2Config Versions
Windows AMIs include an optional service called the EC2Config service (EC2Config.exe). EC2Config starts when the instance boots and performs tasks during startup and each time you stop or start the instance. EC2Config can also perform tasks on demand. Some of these tasks are automatically enabled, while others must be enabled manually. Although optional, this service provides access to advanced features that aren't otherwise available. This service runs in the LocalSystem account and performs tasks on the instance such as Windows Activation, setting the Administrator password, executing userdata, Cloud Formation Execution (requires AWS CloudFormation executable), writing to the AWS Console and one click sysprep from within the application. Its binaries and additional files are contained in the %ProgramFiles%\Amazon\EC2ConfigService directory. After you install the service, a log file is created in the %ProgramFiles%\Amazon\Ec2ConfigService\Logs\Ec2MsiInstall.txt directory.
Amazon Windows AMIs contain a service installed by Amazon Web Services; the EC2Config service. Although optional, this service provides access to advanced features that are not otherwise available.
Note
(Optional) If you have a version of EC2Config that is earlier than version 2.1.19 and you are trying to upgrade up to 2.2.12, you must first update to version 2.1.19, and then update to the current version. To update to version 2.1.19, download EC2Install_2.1.19.zip, unzip the file, and then run EC2Install.exe. Please note this issue has been fixed in 2.3.313 version.
Requirements
.Net framework 3.5 SP1 or greater
You can receive notifications when new versions of the EC2Config service are released. For more information, see Subscribing to EC2Config Service Notifications.
| Version | Details |
|---|---|
|
4.1.1378 |
New version of SSM Agent (2.0.558.0) |
|
4.0.1343 |
|
|
3.19.1153 |
|
|
3.18.1118 |
|
| 3.17.1032 |
|
| 3.16.930 |
Added support to log "Window is Ready to use" event to Windows Event Log on start. |
|
3.15.880 |
Fix to allow uploading run command output to S3 bucket names with '.' character. |
|
3.14.786 |
Added support to override InitializeDisks plugin settings. For example: To speed up SSD disk initialize, you can temporarily disable TRIM by specifying this in userdata: <InitializeDrivesSettings><SettingsGroup>FormatWithoutTRIM</SettingsGroup></InitializeDrivesSettings |
|
3.13.727 |
SSM RunCommand - Fixes to process commands reliably after windows reboot. |
|
3.12.649
|
|
|
3.11.521 |
|
|
3.10.442 |
|
|
3.9.359 |
|
|
3.8.294 |
|
|
3.7.308 |
|
|
3.6.269 |
|
|
3.5.228 |
|
|
3.4.212 |
|
|
3.3.174 |
|
|
3.2.97 |
|
|
3.0.54 |
|
|
2.4.233 |
|
|
2.3.313 |
|
|
2.2.12 |
|
|
2.2.11 |
Fixed a issue in CloudWatch plugin for handling empty log lines. |
|
2.2.10 |
|
|
2.2.9 |
Fixed unhandled exception and added logging. |
|
2.2.8 |
|
|
2.2.7 |
|
|
2.2.6 |
|
|
2.2.5 |
|
|
2.2.4 |
|
|
2.2.3 |
|
|
2.2.2 |
|
|
2.2.1 |
|
|
2.2.0 |
|
|
2.1.19 |
|
|
2.1.18 |
|
|
2.1.17 |
|
|
2.1.16 |
|
|
2.1.15 |
|
|
2.1.14 |
Desktop wallpaper fixes |
|
2.1.13 |
|
|
2.1.11 |
|
|
2.1.10 |
|
|
2.1.9 |
UserData Execution no longer limited to 3851 Characters |
|
2.1.7 |
|
|
2.1.6 |
|
|
2.1.2 |
|
|
2.1.0 |
|

