: How do VMs in the Cloud work? I have been exploring moving some of my high traffic sites to the HPCloud over the past few days. While I have a general grasp of the idea behind a VM in
I have been exploring moving some of my high traffic sites to the HPCloud over the past few days. While I have a general grasp of the idea behind a VM in the cloud there are things that are not quite clear to me. Here for instance is one thing I find myself wondering about:
If I host a site on a server in the cloud do I have an automatic guarantee that attempts to access that site will be served up from an instance of the VM in the geographic vicinity - with one being spun up if none is deemed to be "nearby"?
If the answer is "yes" then the next question that follows is - will the cloud infrastructure also deal with the process of running PHP scripts on each VM instance? And now about databases - will it be up to me to ensure that I connect to a fixed instance of the database server (mySQL in my case) or is it better to rely on one of the "cloud database" offerings that appear to make this process transparent.
I suspect that my questions are perhaps a bit naive - I don't know much about hosting in the cloud.
More posts by @Correia994
1 Comments
Sorted by latest first Latest Oldest Best
Yes, those systems work distributing loads and pages served, each one on different way.
Serving pages is usually done by selecting the nearest server, all of them share the same technologies, like PHP, MySQL, perl, etc.
About how the database works, there is basically one way, which is replicating the database server across the different locations of the cloud/servers. Of course those systems also have load balancing mechanisms to avoid overload, mitigate attacks, and improve service.
About how should you handle specifics about connecting to the database, the normal offer is that everything is on the same hosting side, not requiring you to connect to any other place. Of course that depends on what kind of plan you sing for, if the plan includes PHP and MySQL, then that is all organized and used by the different servers of the cloud service. If you subscribe to a plan that gives you space, but nothing else, then you only have storage, no PHP, no MySQL or anything else.
Yo have to read carefully what is the offer, what are the features of the plan, their coverage, etc.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.