We’re planning on changing our server architecture to be able to scale and also separate different services. Right now we have just one digital ocean server and we deploy the app using meteor up. We use compose for mongo hosting.
I have some ideas in mind:
Use @arunoda  cluster 
Docker, not sure if it could help me to deploy services 
Make a simple shell node app to easily deploy a new service instance (create server, create user, deploy) 
 
What I want is:
Be able to deploy and remove new servers really fast 
SSL 
Highly Available app 
Compatible with CollectionFS 
 
I’ve read cluster docs but I don’t get the DNS part, we need websockets so we can’t use cloudflare.
Can anyone help me with this, any experience with it?
             
            
              1 Like 
            
            
                
           
          
            
            
              You don’t need to use Cloudflare.
You don’t need to use DNS configuration at all. It just an optimized version.
Simply send traffic to one of you app’s services.
             
            
              1 Like 
            
            
                
           
          
            
            
              Thanks!
Right now I use nginx in my server for ssl and static assets. Can I use nginx with cluster?
             
            
              
            
                
           
          
            
              
                manuel  
              
                  
                    March 22, 2015,  3:26pm
                   
                  5 
               
             
            
              (I posted a message on the wrong thread. It’s what happens when you switch from phone to laptop 
             
            
              
            
                
           
          
            
            
              Yes. You can. That’s the idea.
             
            
              
            
                
           
          
            
            
              Thanks @arunoda ,
I’ll try to setup cluster with a smaller app. I don’t know how to setup nginx so it works with cluster. If anyone has docs or help it would be great