I'm about to launch a nodejs-mongodb app on a Digital Ocean (DO) single droplet. I'm here to make sure if I'm reasoning correctly on how to add droplets in future for scaling against load, if any.
I'm going to:
- setup Nginx, MongoDB, Nodejs app, all on a single droplet of DO.
- create an image of the app into DockerHub, further launch app from the droplet and wait until it brings load.
- Then create a Rancher network with Nginx and app-hosting droplets,
- finally, switch off the Nginx and app from the initial droplet, replace it by the Rancher network app-hosts. The initial droplet will be First MongoDb droplet-server.
- further, when necessary, to add MongoDB droplets and sharding to have a cluster of MongoDB, to add app-hosting droplets in the Rancher network.
Please let me know if these steps are what I could rely to, or where else I should look.
via Adrian Dain
No comments:
Post a Comment