AWS: Install Eon Sensor on Windows Server
Who can use this feature
Anyone with these permissions: View source connections, Manage backup policies
Install Eon Sensor on a Windows Server EC2 instance so that each high-frequency backup saves only the blocks that changed since the last backup. For what Eon Sensor is and how it works, see AWS: About Eon Sensor.
This article explains how to turn on Eon Sensor in your AWS account, install it on your Windows Server EC2 instances, restart the instances, and assign them to a high-frequency backup policy.
Install Eon Sensor on your instances
Before you start
Before you install Eon Sensor, make sure:
-
Your EC2 instances run Windows Server 2016, 2019, 2022, or 2025 on x64, with Desktop Experience or Server Core. ARM-based (Graviton) instances aren’t supported. Client editions of Windows aren’t supported.
-
Your AWS account is connected to Eon, and EC2 backup is turned on for it. To connect the account, see AWS: Connect Source Accounts.
-
Your account’s permissions version is 2.0.0 or later (earlier versions don’t have the parameter for Eon Sensor).
-
Each instance has outbound access, in the instance’s own AWS region, to Amazon S3 (access points), Amazon SQS, Amazon DynamoDB, and AWS Security Token Service (STS). The access can go over the internet or through VPC endpoints. The instance needs no inbound access.
-
Each instance can reach the instance metadata service (IMDSv2). Keep the metadata hop limit at its default of 1.
-
You have AWS permissions to update CloudFormation stacks or apply Terraform in the AWS account, and to attach IAM policies to instance roles.
-
You have Administrator access on each instance.
Turn on Eon Sensor and attach its policy
Turn on Eon Sensor in the source account stack that connects your AWS account to Eon. The parameter for Eon Sensor is also in the organization and multi-account versions of the stack.
CloudFormation
Terraform
In the CloudFormation console, set the parameter for Eon Sensor to true in that stack.
Leave the other parameters unchanged.
When the stack status is UPDATE_COMPLETE, the update is done.
The update creates these resources:
-
The managed IAM policy for Eon Sensor. The stack outputs the policy’s ARN.
-
An instance profile and the IAM role it holds, for instances that have no IAM role. The instance profile’s ARN is in the
EonSensorProfileArnstack output (Terraform:eon_sensor_profile_arn).
Then give every instance that will run Eon Sensor access to the policy:
-
For an instance that has an IAM role, attach the policy to that role.
-
For an instance that has no IAM role, attach the instance profile from the
EonSensorProfileArnoutput.
Install Eon Sensor on each instance
-
Go to the AWS source accounts page, and expand your AWS account.
-
Under Account configuration, open the actions menu (Actions) for Eon Sensor, and click View install command. The Install the Eon Sensor dialog opens. It shows the install command, the name of the policy to attach (Instance role policy), and the Scanning account ID.
-
Select Windows, and copy the command. The command includes your Eon project ID and the ID of the scanning account, which is the Eon AWS account that processes your backups. The same command works for every instance in your AWS account, in every region.
-
Connect to an instance, open PowerShell as Administrator, and run the command. Repeat on each instance.
You can download the installer and the package directly on the instance, or provide them by another method your network allows. To download them directly, make sure the instance can reach
assets.public.eon.ioover HTTPS (port 443).The installer installs the package, which registers the service for Eon Sensor and the
eonfltdisk filter driver. The installer doesn’t restart the instance. When the installation succeeds, it reports that a restart is pending and exits with code 3010.For a newly launched instance, you can run the same command from EC2 user data in a
<powershell>block, which runs once at first boot. For an existing instance, use AWS Systems Manager Run Command with theAWS-RunPowerShellScriptdocument. The command needs no prompts. Both channels still need the restart. Systems Manager shows the run as succeeded with exit code 3010 when a restart is pending.To restart the instance from user data, add this line after the command inside the
<powershell>block:If the installer stops with an error, fix the problem it reports and run the command again. Running it again is safe.
To replace the saved configuration, for example after an installation with an incorrect ID, run the command again with
-ForceConfigadded at the end. The end of the command then looks like this:
Restart each instance
Restart each instance now, unless you installed from user data with the restart line above.
Windows loads the eonflt driver at startup, so Eon Sensor tracks changes only after the restart.
For example, run this command in PowerShell:
The service for Eon Sensor starts after the restart.
Verify the installation
On each instance, open PowerShell as Administrator, and run these commands.
-
Run the preflight checks. The command prints one line for each check and exits with a non-zero code if a check fails. The installer skips the preflight checks on a first install, because Windows hasn’t loaded the driver yet. Until Eon enrolls the instance, the preflight can print one or two warnings that the instance is not yet enrolled. These don’t fail the run.
-
Check that the driver is loaded. The command prints
eonflt driver runningand exits with code 0 when the driver is loaded. -
Check the status of Eon Sensor. The command shows the version, the enrollment state, and the volumes that Eon Sensor tracks.
If the driver status command prints installed; reboot to load it and exits with code 3010, a restart is still pending.
Restart the instance, and then run the commands again.
In the status output, enrollment: not yet enrolled (queue does not exist) means Eon hasn’t enrolled the instance, and enrollment: enrolled means it has.
Before you assign the instance to a high-frequency backup policy, not yet enrolled is expected.
Right after the service starts, enrollment can show unknown (no poll yet).
Run the command again in a minute.
If a check fails, the output names the check and the fix. Apply the fix, and run the command again.
Assign the instances to a high-frequency backup policy
Eon enrolls an instance (starts using Eon Sensor for it) only after you assign the instance’s EC2 resource to a high-frequency backup policy. Installing Eon Sensor alone doesn’t enroll the instance. If a high-frequency backup policy already includes your instances, you don’t need to assign them again.
-
In the Eon console, go to Inventory and select the EC2 instances that run Eon Sensor.
-
Click Actions, and then click Assign to backup policy. The Assign to backup policy dialog opens.
-
Select the high-frequency backup policy, and then click Assign. To create a policy, see Create Cloud Workload Backup Policies.
Eon enrolls each instance within a few minutes of the assignment. To confirm, open PowerShell as Administrator on an instance, and run this command.
enrollment: enrolled means Eon has enrolled the instance.
If it still shows not yet enrolled after a few minutes, check that the instance’s EC2 resource is assigned to a high-frequency backup policy.
To check the status in the Eon console, open the instance in Inventory and expand Backup sensor, which shows the Status (Running, Not running, or Not installed), Version, and Last reported time.
Eon Sensor is installed. The first backup of an enrolled instance is a full baseline backup of the instance’s volumes. Later high-frequency backups use Eon Sensor and save incremental snapshots to your vault.
If the Eon console shows an Action required item for Eon Sensor, see the troubleshooting in AWS: EC2 Support.