I wanted to try out horizontal scaling. It seems the beanstalk version of MUP is not quite stable yet so I’d like to just try with 2 servers using MUP now that it has load balancing. I configured everything as follows (I left out the other details that I think aren’t relevant):
module.exports = {
servers: {
one: {
host: '1.2.3.4',
username: 'ubuntu',
pem: "xxx.pem",
privateIp: '1.2.3.5'
},
two: {
host: '1.2.3.6',
username: 'ubuntu',
pem: "xxx.pem",
privateIp: '1.2.3.7'
}
},
app: {
servers: {
one: {},
two: {},
},
},
proxy: {
domains: 'app.practicle.sg',
ssl: {
// Enable let's encrypt to create free certificates
letsEncryptEmail: 'chongming@practicle.sg',
forceSSL: true
},
loadBalancing: true
}
};
Is that all that is needed for it to work? For route53 I will point to both public IPs. Do I need to set up anything extra like a load balancer on AWS?
Thanks in advance.