Deploying a .NET worker app with Elastic Beanstalk

我与影子孤独终老i 提交于 2019-12-03 17:02:33

You can do the same thing with the .NET container. You would have to install your worker as a Windows service. Check out this blog post, which explains it in detail. At the high level you would have an .ebextensions file that contains:

sources:
  c:/AppSupport/MyAppJanitor: http://s3.amazonaws.com/my-app-support/MyAppJanitor.zip
commands:
  install-janitor:
    command: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\installutil MyAppJanitor.exe
    cwd: c:/AppSupport/MyAppJanitor
    waitForCompletion:0
services:
  windows:
    MyAppJanitor:
      enabled: true
      ensureRunning: true
      commands: install-janitor
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!