1

How can I build an AMI using Packer that automatically launches an application (in my case an ASP.NET Core app).

I have done it in a docker image using ENTRYPOINT ["dotnet", "App.dll"] but no idea how to do it in an AMI.

Victor
  • 23,172
  • 30
  • 86
  • 125
  • Use ECS with Windows_Server-ECS_Optimized https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_Windows_getting_started.html also check https://stackoverflow.com/questions/25135897/how-to-automatically-start-a-service-when-running-a-docker-container – Sully May 28 '20 at 22:32
  • How are you launching the EC2 instance? – Paolo Jun 02 '20 at 19:15

0 Answers0