J
J
JockerJoe2018-04-17 18:04:17
go
JockerJoe, 2018-04-17 18:04:17

How to choose web application hosting?

I have a web application written in Golang. Postgres is used as the database. And AWS S3 file storage.
There were questions about the deployment and choice of hosting.
1) How and what kind of hosting to choose so that it is convenient to deploy. Take Vps or something like Heroku, where the hosting itself deploys everything. What is better to do so that the RKN is not blocked.
2) What to do if your RKN servers are blocked. And how to prepare for it.

Advise what to google, read, what is usually used.
In the future, the load on the application will grow.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
tema_sun, 2018-04-17
@tema_sun

I recently moved to vscale.ru, everything seems to be fine.

M
Maxim Timofeev, 2018-04-17
@webinar

Everything that does not contradict the whims of the RKN. What is the server type? Here the question is to your project and if you store personal data, then to the location of the server. And it’s vds or someone’s calculator for rent - this is not the concern of the RKN yet, although I won’t be surprised if soon the root password will also require a specific setting.

C
chromimon, 2018-05-20
@chromimon

1) How and what kind of hosting to choose so that it is convenient to deploy. Take Vps or something like Heroku, where the hosting itself deploys everything. What is better to do so that the RKN is not blocked.
Google AppEngine - wildly convenient.
But if you're stuck with Postgres, it won't be cheap. Cheap is if you use Google Datastore.
The RKN does not lock up small projects, it is more bloated and politicized.
Our project on Google AppEngine, if it was unavailable, it was only our fault or the fault of Google (yes, yes, yes - the clouds are also buggy). The project is over 7 years old.
Set up a Reverse Proxy in the Russian Federation, which will transfer data via VPN.
We have done this, but for a different purpose - because Google is blocking Crimea.
Works great, performance sags because of this slightly.
The cost of hosting under reverse proxy is a penny.
Then contact the RKN and demand unlocking.
1) Since if you are not doing anything illegal, then this is simply their technical error.
2) If it is by a court decision and a miscarriage of justice - or go to court.
3) Or, if you are sure that you are doing illegal things - what surprises you is that you are blocked.
Those sites that have suffered from blocking illegally - foreign, which do not care about Russian customers, they never complained about technical errors - that's why they remained blocked.
Those that tracked their availability from Russia were unlocked very quickly.
----------------------------------------
If you have a small project, it is better to use PaaS, Yes.
But if you have a more promising one, it's better to start your own deployment so as not to get hooked on the vendor lock.
From simple tools - Dokku,
more sophisticated - Flynn.io (but it is also simple in essence), Postgres support is definitely there,
but the most versatile and promising for any scale is Kubernetes.
However, if Kubernetes seems complicated, then you can build it yourself based on Nomad, Consul, Vault and some kind of drone.io.
Take Vps or something like Heroku, where the hosting itself deploys everything.
...
In the future, the load on the application will grow.

Have you really managed to write such a universal application that is ready for PaaS and for scaling (and this is a very specific architecture),
but at the same time written universally for any arbitrary PaaS?
However, you do not know how to deploy?
I do not believe.
If you wrote in the old-classical style without taking into account the "12 factors" - then you now have to radically redo everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question