Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Upgrading instance is just a few clicks for a cloud server, like EC2 and Azure, but what are the configuration change necessary to harness the extra power?

While I think this can as well be a general question, my specific configuration is like:

HAproxy, Varnish, PHP-memcached-MySQL on a centos Linux with Azure

I have seen people doing load balancing with domain like 192.xxx.xxx.1, 192.xxx.xxx.2, I suppose that is about setting another different machine/instance right? Or does it make sense to make servers on different ports and do the load balancing? (Sorry I am really new to these things)

Another thing I can think of is memory limit in PHP. I would really hope to hear for people who have managed great networks. Thanks a lot!

share|improve this question
You really shouldn't have HAproxy, Varnish, PHP, memcached, and MySQL all on the same server... and PHP's memory limit is actually something you probably shouldn't change as you scale up the instance type. – ceejayoz Oct 31 '12 at 20:25
Hi thanks for your comment. My database I actually on another machine. But can you elaborate on the php memory thing? Wouldn't it make sense to allocate more to php if you suddenly. Get a few GB of ram? Or is there something like concurrent processes? – StCee Nov 1 '12 at 0:53
PHP's memory limit is the limit for memory PHP is allowed to use up to generate a single page. If you're not getting out-of-memory errors when you run PHP scripts, there's no reason to bump it up - it's unnecessary. It's basically completely independent of the power of the server. – ceejayoz Nov 1 '12 at 0:57

closed as not a real question by mgorven, mattdm, mdpc, Scott Pack, Ward Nov 1 '12 at 20:03

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.