I don't understand why you'd want to use VMs for something like this when containers exist and you have tools like ECS and Kubernetes. You can serve the same amount of web applications on the same amount of vCPUs and memory footprint, give or take a little bit. As a bonus, if you used AWS ECS, you also get to use things like IMDS (per container/task), Fargate, high availability and autoscaling tools.