Page MenuHomePhabricator

Request increased quota for maps Cloud VPS project
Closed, ResolvedPublic

Description

Project Name: maps
Type of quota increase requested: 2 CPU cores, 4GB of RAM
Reason: I'd like to rebuild maps-wma (which uses 4CPUs and 8GB of RAM) but my remaining quota is only 2 CPUs and 4GB of RAM.

The maps-wma VM has multiple concurrent processes running and is able to take advantage of the 4 cores.

Event Timeline

The quota increase should be temporary and could be reversed once the newly rebuilt maps-wma VM is operational and the old VM is deleted.

Mentioned in SAL (#wikimedia-cloud) [2022-01-20T08:16:35Z] <taavi> bump quota from 24 -> 26 cores, 48 -> 50 GB RAM, T299585

taavi subscribed.

+1, done!

Please let us know when you are done with the rebuild and we can rebuild the quota. Thanks.

taavi claimed this task.

Will do. The new instance is partially running and I'm still finishing setup of some components. Then I have to thoroughly test and point the JavaScript on the projects to the new url.

Ideally I'd leave the old server up to redirect for a while, unless I can get help changing the dns zones. The old server has wma.wmflabs.org as the url, which I believe is deprecated now.

I just noticed we're proxying wma.wmflabs.org (and other Maps things) via a special HTTP proxy separate from the main Horizon-manageable proxies due to the amount of traffic they have. If you need to have the current mappings changed to a new host and/or a new .wmcloud.org name added just let us know.

@Majavah I think I'm ready to have the proxy mappings changed, so that wma.wmflabs.org points to the new server. If you could also add wma.wmcloud.org as a mapping that'd be great, then I can also start changing the gadget to point to the now blessed domain.

Would it also be possible to add a wildcard *.wma.wmflabs.org. record (and *.wma.wmcloud.org.) - all pointing to the new VM? Then I could experiment with rotating tile base URLs to permit faster bursts of requests when a map is opened.

@Majavah I think I'm ready to have the proxy mappings changed, so that wma.wmflabs.org points to the new server. If you could also add wma.wmcloud.org as a mapping that'd be great, then I can also start changing the gadget to point to the now blessed domain.

I just pushed the following:

diff --git a/project-proxy/maps-proxy.yaml b/project-proxy/maps-proxy.yaml
index 4bef5ef3..1bccec00 100644
--- a/project-proxy/maps-proxy.yaml
+++ b/project-proxy/maps-proxy.yaml
@@ -8,28 +8,28 @@ profile::wmcs::proxy::static::blocked_referers: schiebt-sie-ab.de
 profile::wmcs::proxy::static::proxy_mappings:
   0.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   1.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   2.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   3.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   4.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   5.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   6.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   7.wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   a.tiles.wmflabs.org:
     certname: tiles
     domain: maps-tiles1.maps.eqiad1.wikimedia.cloud
@@ -41,7 +41,7 @@ profile::wmcs::proxy::static::proxy_mappings:
     domain: maps-tiles1.maps.eqiad1.wikimedia.cloud
   label.wma.wmflabs.org:
     certname: tiles
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   maps.wmflabs.org:
     certname: maps
     domain: maps-tiles1.maps.eqiad1.wikimedia.cloud
@@ -53,31 +53,31 @@ profile::wmcs::proxy::static::proxy_mappings:
     domain: maps-warper3.maps.eqiad1.wikimedia.cloud
   wma.wmflabs.org:
     certname: wma
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma0.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma1.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma2.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma3.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma4.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma5.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma6.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wma7.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud
   wmatest.wmflabs.org:
     certname: wmflabs
-    domain: maps-wma.maps.eqiad1.wikimedia.cloud
+    domain: maps-wma2.maps.eqiad1.wikimedia.cloud

Mentioned in SAL (#wikimedia-cloud) [2022-01-21T15:43:33Z] <taavi> update maps-proxy mappings from maps-wma to maps-wma2 per request on T299585

Would it also be possible to add a wildcard *.wma.wmflabs.org. record (and *.wma.wmcloud.org.) - all pointing to the new VM? Then I could experiment with rotating tile base URLs to permit faster bursts of requests when a map is opened.

Can you please file a separate task for these to make tracking a bit easier?

I have deleted the old instance. The quota can be rolled back. Thanks!

Mentioned in SAL (#wikimedia-cloud) [2022-01-23T10:12:36Z] <taavi> revert quota changes requested on T299585