I have been working on an opensource project that was made in .NET 8 with docker compose so it was easy to deploy docker container on aws ec2 with daemon mode.
With the release of .NET 9
and dotnet-aspire
new orchestration and advanced telemetry support, we are now thinking to switch from docker to aspire to enjoy telemetry support but we want to deploy it on aws ec2. I was also thinking to containerizing aspire into docker compose. Is there a way to do it? Thanks in advance.
Link to my github repo with aspire orchestration:
Link to the same repo but with docker compose:
I tried to deploying dotnet-aspire on EC2 but it was not able to run on daemon mode and the app closed as soon I was closing the aws page.