Search code examples
asp.netamazon-web-services

During an aborted deployment, some instances may have deployed the new application version


I am trying to deploy ASP.NET application to AWS. When I press deploy button I get error

During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version.

I have no idea where I made mistake and what's going wrong Any comment ?


Solution

  • You can get this error message if you're trying to deploy source file zip with same name which is already deployed. ZIP FILE NAME not TAG !!!.

    You should always deploy source file zip with different name.

    Best practice is use version number which is increasing (eg. Project-v2) or something else.