Amazon EC2- micro-instance vs single small/medium instance
        Posted  
        
            by 
                shashankaholic
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by shashankaholic
        
        
        
        Published on 2012-06-07T09:04:38Z
        Indexed on 
            2012/06/07
            10:42 UTC
        
        
        Read the original article
        Hit count: 322
        
I have a chat application using stack of Openfire, Tomcat6 and MySQL.
Currently, i have installed all these servers on single Linux micro-instance(613 MB memory). Even in low user base 10-20 i am encountering CPU overload which is quite obvious here.
As, i am new to Amazon EC2 can somebody suggest me how to scale up my architecture according to traffic use?
- should i use separate micro instances for every app server(openfire,mysql,tomcat6)
- should i use single small or medium instance for whole server stack. - Some factors in context: 
- high reliance on MYSQL
- high memory usage due to file transfer
- web-application interacting with other Amazon service like S3,SES
© Server Fault or respective owner