I
I
iDrugov2017-06-21 08:40:11
Amazon Web Services
iDrugov, 2017-06-21 08:40:11

Temporary shelter in case of hosting failure?

The other day I had a DDoS or hoster and somehow he could not organize the availability of sites, which is why all my projects lay down, since they were located on the same site. I managed to register a new domain, hosting, transfer important data there and faced a choice:

  • pay for two hostings from different companies in order to transfer projects if something happens - it turns out the price is twice as high just for hosting, which I can never use for a year
  • on the recommendation of a friend, I tried to figure out the Amazon cloud, which can somehow be configured as a virtual server with payment by the hour (only for real use), but the devil will break his leg there and I'm not strong in English (my cant, yes)


So, is there any "smart" solution for organizing a temporary shelter for your hosted sites? Since the host costs 100 rubles a month, I want to pay less for a temporary solution. And if it is still Russian-speaking, it will be great in general.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
Z
zooks, 2017-06-21
@iDrugov

1. Transfer the site to a stable VDS hosting, like the one in my profile.
2. Delegate the domain to CloudFlare or pdd.yandex.ru
3. Set up backup to the cloud / backup hosting
4. In case of problems, quickly raise the site on another host and change the IP to Cloudflare/Yandex.

B
Boris Korobkov, 2017-06-21
@BorisKorobkov

Since the host costs 100 rubles a month, I want to pay less for a temporary solution.

If you evaluate the result of your work (website) for less than 100 rubles / month, then your work is complete trash. Nobody will notice this if the site goes down. So you might as well not sweat it.
And if your work costs hundreds of thousands of rubles, then squandering hundreds of rubles is poverty

P
Puma Thailand, 2017-06-21
@opium

in the context of a hundred rubles, raise free hosting at home

A
airamkad, 2017-06-21
@airamkad

An elegant solution is a lot of technical stuff. nuances to prepare in advance.
It is possible - up to automatic relocation to construct
1. In order not to pay extra for the reserve - just use as a reserve services with payment for the actual load or services with payment per hour (not per month)
Amazon, Heroku, Google Cloud Hostring, Vscale, Digital Ocean
2. Do not keep DNS on your hosting, but keep it with providers with BGP support, they will not fall down from DDoS.
For example, Zilore
3. Or you can generally register two or three servers in the DNS A-record. And then the browser will take the first server to respond. Of course, keep the servers at different hosts.
Helps not only from DDoS.
I recently did this, because it turned out that 0.5% of the country's providers do not see me in one hoster.
And the other has 1% of the country (but other cities)

A
Alexander Aksentiev, 2017-06-21
@Sanasol

https://poiskvps.ru/
you can buy as many as two of your own virtual servers for 100 rubles.
Even a schoolboy is able to find a few hundred rubles a month for his needs (buy skins in the dot-com or drive in the World War II), and clamping 100 rubles is already some kind of hell .
100 rubles and I'm not a millionaire, isn't it funny myself?

O
Oleg Gamega, 2017-06-21
@gadfi

https://www.heroku.com/

Y
Yaroslav, 2017-06-22
@xenon

First of all, I will support the majority of those who have spoken: reconsider your situation, see it correctly. Hosting for 100 rubles is not the norm. Hosting can cost $100 and be good enough. Or maybe a thousand times more expensive. See what the requirements are. At the moment, you are trying to move from the lower league (if only the page opens) obviously somewhere higher, to the high availability area, so that your sites fall almost as rarely as Google. This is solved, but usually not for 100 rubles.
Now, if you still want cheap and cheerful. There is even a free solution. Develop a backup & recovery scheme. For example, every day at midnight, copy all data (files, database) to your home computer using a script. Develop a plan to restore it all to a clean server. Take a clean server (at least at home, raise it on VirtualBox) and check that you can quickly restore everything from backups according to your instructions, without "creativity" and "I wonder why it doesn't work." Choose a couple of VPS providers that can get you a server *quickly*. (For example, hetzner gives the server quickly, in minutes, and ovh gave me almost a day). Well, that's all. Live on one server, pay for one server. But keep backups (and at least once every six months check that you can restore everything). And if all of a sudden you pay for something in 20 minutes and get a VPS, according to the existing scheme, unpack your sites on it, change the DNS "and fly"! :-)

K
kuzin_val, 2017-06-23
@kuzin_val

It is better to switch to normal hosting, preferably with DDoS protection, to repel attacks, and not jump back and forth losing site traffic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question