Skip to content

Commit ebdba44

Browse files
Diabolical5777Bluenix2ChrisLovering
authored
Add recommended hosting service page (#712)
* add article discussing free hosting services * add hsoting and VPS services article * Merge branch 'pinned_messages' of https://github.com/Diabolical5777/site into pinned_messages * Delete free_hosting_services.md * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * add vps and hosting service guide * Update pydis_site/apps/content/resources/guides/python-guides/vps_services.md Co-authored-by: Bluenix <[email protected]> * add article on VPS and free hosting services * Update vps_services.md * Update vps_services.md Co-authored-by: Bluenix <[email protected]> Co-authored-by: ChrisJL <[email protected]>
1 parent d8c17c3 commit ebdba44

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: VPS and Free Hosting Service for Discord bots
3+
description: This article lists recommended VPS services and covers the disasdvantages of utilising a free hosting service to run a discord bot.
4+
toc: 2
5+
---
6+
7+
## Recommended VPS services
8+
9+
If you need to run your bot 24/7 (with no downtime), you should consider using a virtual private server (VPS). Here is a list of VPS services that are sufficient for running Discord bots.
10+
11+
* Europe
12+
* [netcup](https://www.netcup.eu/)
13+
* Germany & Austria data centres.
14+
* Great affiliate program.
15+
* [Yandex Cloud](https://cloud.yandex.ru/)
16+
* Vladimir, Ryazan, and Moscow region data centres.
17+
* [Scaleway](https://www.scaleway.com/)
18+
* France data centre.
19+
* [Time 4 VPS](https://www.time4vps.eu/)
20+
* Lithuania data centre.
21+
* US
22+
* [GalaxyGate](https://galaxygate.net/)
23+
* New York data centre.
24+
* Great affiliate program.
25+
* Global
26+
* [Linode](https://www.linode.com/)
27+
* [Digital Ocean](https://www.digitalocean.com/)
28+
* [OVHcloud](https://www.ovhcloud.com/)
29+
* [Vultr](https://www.vultr.com/)
30+
31+
32+
## Why not to use free hosting services for bots?
33+
While these may seem like nice and free services, it has a lot more caveats than you may think. For example, the drawbacks of using common free hosting services to host a discord bot are discussed below.
34+
35+
### Replit
36+
37+
- The machines are super underpowered, resulting in your bot lagging a lot as it gets bigger.
38+
39+
- You need to run a webserver alongside your bot to prevent it from being shut off. This uses extra machine power.
40+
41+
- Repl.it uses an ephemeral file system. This means any file you saved through your bot will be overwritten when you next launch.
42+
43+
- They use a shared IP for everything running on the service.
44+
This one is important - if someone is running a user bot on their service and gets banned, everyone on that IP will be banned. Including you.
45+
46+
### Heroku
47+
- Bots are not what the platform is designed for. Heroku is designed to provide web servers (like Django, Flask, etc). This is why they give you a domain name and open a port on their local emulator.
48+
49+
- Heroku's environment is heavily containerized, making it significantly underpowered for a standard use case.
50+
51+
- Heroku's environment is volatile. In order to handle the insane amount of users trying to use it for their own applications, Heroku will dispose your environment every time your application dies unless you pay.
52+
53+
- Heroku has minimal system dependency control. If any of your Python requirements need C bindings (such as PyNaCl
54+
binding to libsodium, or lxml binding to libxml), they are unlikely to function properly, if at all, in a native
55+
environment. As such, you often need to resort to adding third-party buildpacks to facilitate otherwise normal
56+
CPython extension functionality. (This is the reason why voice doesn't work natively on heroku)
57+
58+
- Heroku only offers a limited amount of time on their free programme for your applications. If you exceed this limit, which you probably will, they'll shut down your application until your free credit resets.

0 commit comments

Comments
 (0)