Jump to content

Learning patterns/How to run software on a dedicated Wikimedia Cloud VPS server

From Meta, a Wikimedia project coordination wiki
A learning pattern forhackathon
How to run software on a dedicated Wikimedia Cloud VPS server
problemSome services requires customized operating system environments or extensive computational resources beyond what is available in the toolforge environment.
solutionSoftware can be installed on a dedicated server in Wikimedia Cloud VPS (as opposed to toolforge).
creatorShilad
endorse
created on4 September, 2015
status:DRAFT


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 consider

[edit]
  • 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 use

[edit]
  • Only use this approach when a shared Toolforge account does not meet your needs!

Examples

[edit]
  • The soweego project[1] indeed lives in a Cloud VPS instance.[2]

Endorsements

[edit]

See also

[edit]
[edit]
[edit]

References

[edit]