I want to deploy a microservice on Azure Ubuntu VM using one of following stacks: docker-compose/AKS using Traeffic as reverse proxy.
I'm looking for cheapest but reasonable in terms of security solution.
Will opening port 443 in my VM firewall (rest will be closed) and forwarding it to public IP in Azure create a major risk or break security rules (it will be test environment so things like DDOS doesn't bother me).
Using AKS it will be LoadBalancer service port 443 mapped to Azure Public IP so preety much same approach but without direct control of VM firewall (Kubernetes manages everything else).
There is NSG to only allow Internet inbound for port 443. All microservices will be secure with proper authentication and only services needed for end-users will be exposed via reverse proxy to public internet. I was looking for this type architecture in internet but never found anything.