Сlouds hosting, flying in the clouds

    What is special about cloud hosting? The main advantage is: you pay exactly as much as you use; You can quickly increase productivity if you need.
    In fact, we have a web interface to the virtualization system. We get regular vps only more simply and quickly. It can also be automated so that, for example, during the day, during busy hours, additional instances are launched.

    I think you can easily make an analog of amazon \ rackspace yourself in a relatively short time. We take a virtualization system, it can be virtualbox, xeh or any other and we fasten to it a web interface that will start and stop virtual machines on several servers.
    To this we add registration and billing. Everything, we have our own cloud.

    Then you can add the feature cloud files: you need to be able to upload files there and give them quickly and a lot. I think everyone will figure out how to do it :)

    Calculate the finances:


    My data center is too complicated and expensive, I would take a server in hetzner: for 40 euros ($ 53) we have CORE i7 920, 8GB RAM, 750GB HDD RAID1.
    I think you can allocate 1GB RAM and 50GB HDD for a shell that controls running instances.
    And the rest is divided into 14 parts (512mb ram, 50gb hdd) and sold for example at $ 20, in the end we get $ 280 from one server, 53 we give to hetzner, the rest to ourselves. If you refuel 10 servers in this way, then we have $ 2200 per month :)

    If you use servers with 12gb ram and 1.5TB hdd, then you can divide it into 22 pieces, sell them for $ 440 and give $ 76 to hetzner.
    It turns out a little more profitable, but the processor will get fewer customers.

    Allow, I’ll fantasize a little


    How is it scaled now? We make the application server, server for the base, server for the statics.

    I would like hosting to scale simply and myself. Those. when a project needs more resources, it gets them. Everything seems to be simple, but a problem arises when 2 projects on the same server want the entire server. If you come up with a mechanism so that you can move the instance to another physical server. To do this, you need to create a full copy of the RAM on the second machine, and access to the hard drive. Suspend for a split second and redirect all packets to the new server with a router.

    As I see the solution: you need a controller for hard drives to connect a bunch of screws and servers there, the diagram is attached:


    When the "move" is made, the hard drive goes under the control of a new server.

    If you still come up with one instance that uses the resources of several servers, it turns out like a cluster (but I don’t know anything about it). And we have at our disposal an unlimited computing cloud. Where you can run anything. I think this is the future of hosting.

    For example, there is a competition of gamers and a lot of people have come to see something, and the cloud will allocate the necessary resources without interrupting the game process.
    Or if your service is mashable, then the site will not go down and you don’t have to bother with scaling (just bother to find the money :))

    Also popular now: