Meza/Install on Wikimedia Cloud VPS instance

 UNDER CONSTRUCTION 

These instructions cover installing Meza on a Wikimedia Cloud VPS instance.

Preparing the Cloud VPS instance
First, you will need a Cloud VPS project. You can request one by creating a Phabricator ticket. Or, you can request administrative access to an existing project from a project owner.

Then, follow these instructions:


 * Log in to https://horizon.wikimedia.org using a Wikimedia developer account.
 * Create an instance. Ideally you should select the m1.medium flavor or larger.
 * Create a web proxy. Use 8080 for the "Backend port".
 * Add a rule to the default security group giving access to port 8080. The only field that you need to fill in on the dialog box is the port (8080). Don't follow all the steps in the linked instructions - just add port 8080.
 * Configure your shell to be able to ssh into the instance.
 * Install ansible

Get Meza
ssh into your Cloud VPS instance and do the following:

Set up Meza
When prompted to enter the domain or IP address you'll use to get to your wiki, enter .wmflabs.org, where is the hostname of your Cloud VPS instance.

Edit hosts file:

And change the load balancer section to be:

[load-balancers]

[load-balancers-nonmeza-external] 10.68.21.68 10.68.21.69

[load-balancers-meza-internal] localhost

Deploy Meza monolith
This will setup a demo wiki with the user  with password. For production environments, update this password (go to "preferences" when logged into your wiki as this user) or remove this user.

Open Issues

 * Firewall too restrictive