Search code examples
dockerasp.net-corenginxamazon-ec2

NetCore Docker deployment


I have question about NetCore and Angular/React Front app inside EC2 Linux.

We want to use docker for NetCore app and deploy it in EC2 Linux, and use Nginx to hold the frontend Angular/React app.

Because frontend is under Nginx, but the NetCore docker app is communicating inside EC2 wihout Nginx, is this docker app production ready? Otherwise, do we need to deploy NetCore Dcoker app under Nginx or IIS?

If this is not production ready, is there any other alternative good choice?


Solution

  • There is nothing intrinsically not production ready about installing apps directly on EC2 instances.

    Personally, I would add docker support to the netcore app and then deploy using something like ECS.