我们正在AWS中实现一种微服务架构。我们有几个EC2实例,其中的微服务部署在不同的端口上。我们还有一个面向应用程序负载均衡器的互联网,它根据端口将不同的服务路由到不同的服务。
eg:
xxxx-xx.xx.elb.amazonaws.com:8080/ go to microservice 1
xxxx-xx.xx.elb.amazonaws.com:8090/ go to microservice 2
我们需要有一个域名而不是ELB,端口不应该公开通过域名以及。几乎我找到的关于53号路由的所有资源都使用别名,它执行以下操作:
xx.xxxx.co.id -> xxxx-xx.xx.
我刚得到一个linode帐号和一些域名。有了这些原材料,我想做的是:
example.com -- static hosting
gitlab.example.com -- install gitlab here
dev.example.com -- be able to install ruby stuff here
another-domain.com -- run a node server from here
third-domain.com -- run another node server from here
我只拥有使用Apache的经验,但我不知道如何