Skip to content

Instantly share code, notes, and snippets.

@nmarchini
Created December 5, 2019 14:43
Show Gist options
  • Save nmarchini/1a3dc1273d1bf0307dee7d2348d70c25 to your computer and use it in GitHub Desktop.
Save nmarchini/1a3dc1273d1bf0307dee7d2348d70c25 to your computer and use it in GitHub Desktop.
AWS ECS Error on Windows Server
If you get this error then check that the EC2 instance has the correct ECS IAM Role or the service will not start.
2019-12-04T21:18:27Z - [INFO]:Starting the AmazonECS service...
Start-Service : Failed to start service 'Amazon ECS (AmazonECS)'.
At C:\Program Files\WindowsPowerShell\Modules\ECSTools\ECSTools.psm1:650 char:5
+ Start-Service -Name $Script:ECSService
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment