Learning patterns/How to run software on a dedicated Wikimedia Cloud VPS server
What problem does this solve?Edit
Many researchers and developers in the Wikimedia community create software tools and bots. For most of these projects, a UNIX account on a shared, virtualized server in the Wikimedia Toolforge environment will be sufficient. However, some of these projects may require customized server software, or demand substantial server resources (memory, disk, or CPU).
In these cases, a project leader can provision a dedicated virtualized server from Wikimedia labs. As of September 2015, dedicated server images can have up to 32GB memory, 4 vCPUs, and 160 GB of disk space. Servers can also access shared installations of Postgres, MySql, and Redis.
What is the solution?Edit
To provision a dedicated server, follow the steps outlined in the Wikimedia Cloud VPS getting starting guide. You'll need to 1) create a user account with shell access, 2) create a project, and 3) create server instances attached to the project. If you get stuck, the #wikimedia-cloud IRC channel is active and tremendously helpful.
Things to considerEdit
- You should be comfortable functioning as a Linux system administrator to do this.
- The shared servers available in Toolforge will generally be a better option that a dedicated server.
When to useEdit
- Only use this approach when a shared Toolforge account does not meet your needs!
- WikiTech Main Page
- WMF Cloud VPS Getting Started Guide.
- The WikiBrain Toolforge Project (as an example).