 Lucas and Amir here and they want to give us a quick introduction of a project from the vikimedia foundation called cloud services and How it might be maybe useful to all of us. So let's give round of welcoming applause to Lucas and Amir Thanks Yeah, hello. So vikimedia cloud services is basically this big collection of all kinds of different things which are Useful if you want to do technical things in the wikimedia universe like with wikipedia or other projects and you get them free of charge or you can just use them and The only requirement is that you use them for something That's a kind of relevant to the mission of wikimedia of promoting free knowledge and that kind of stuff And it's kind of split into the things that you can do with your regular wikimedia account Which any registered user can do and then there's also things you need a special account for on a different system called wikitec And Amir is going to talk more about those later But first let's just look into some of the things you can do with your regular wikimedia account And if you want to follow any of these links, there's a shortcut here. I was about to switch to the next tab So let's just stay here for a few seconds. Yeah So the first thing is the API sandbox, which is if you want to use the media wiki API to Figure out what you have on a page or to make edits or any kind of stuff The API sandbox is a special page that's really useful to find out how to use the API for example Here's all the different actions. I can use let's say Query is the kind of general catch-all action That's here and then I get down here a list of all the parameters I can use with query such as I want to have all the user info and What kind of user info do I want I want options blah blah blah I would like to have some different format version So it gives you all these nice inputs for figuring out exactly how to use the API What's valid what's not valid and then you can make the API request and there you get a response and we can't read anything because it's zoomed in way too much but It's very helpful when trying to use the API and then in the end here You can see what you need to do in your own and a code to make the same API request and for anything that you can't do with a Normal API, so if you want to do some kind of more expensive analysis, you can often do that with quarry Which is a tool that lets you write SQL queries against? Databases that are almost like the ones in production like you don't have user passwords and stuff but you had to have all the database tables with page metadata and Connections between them and the logs and all kinds of stuff and you can just write your SQL here Send it and you get the results for example. Here's the number of lexines published per day. So it's some kind of Selecting from the page where the namespace is the lexine namespace and grouping that by the date and then we get something like All the way down to September which is apparently when I ran this query that were Here there were 116 lexines created in this day or here someone had a list of edits To JavaScript and CSS pages on Hungarian Wikipedia. So you can run these queries against any week you like like this Hungarian Wikipedia one and If you can't get by with just SQL what you also have is this thing called pause which gives you a dupiter instance if you've heard of that you can basically write your own Python code here and Do it in a very convenient way because there's all kinds of auto-completion and helpful things So I can just try to copy this and run the code Them I needed a new cell below it there we go. Thanks And if I type item I should get helpful hints what I can do with the item If it's not hanging or something Or the tab control space, you know, oh, there we go Yeah, and that's also a very useful way to work with pybiki bot or you can also directly get Normal shell here and one thing oops directly the wrong thing I would like to have oh no, I don't want a bash notebook. I want a new terminal. That's what I want and Here you have for example Database dumps in where was it public dumps Something public again, so if you want to do some kind of Analysis here on the data dumps You can get them here and then have all the computing time you want I guess to analyze the wiki more thoroughly and All of this is hosted in the wiki media cloud for you and you don't need your own server or anything Oh, yeah, I had two more examples of that for example here I use that to so there were a lot of Items on wiki pita where there was some encoding error this should be an Apostrophe like down here and instead it was this kind of eye with an accent and I hacked together some ugly Java Python code to make all of these edits and it was already logged in as well I didn't need to worry about logging in or having a password or anything So it's a very convenient way to make edits as well Or you can build something nicer here. You can insert like markdown cells to explain what you're doing and how the code works and Build nice notebooks like that which are almost self-explanatory and Those are some of the things you can do just with your wiki media account and now Amir is going to talk about some other things Thanks, Lucas. So the thing that we can do is that maybe some of you like me think that doing thinking browser is For kids I need to do things in terminal I need to do connect to the System and then you can access for a wiki tech account which you can just make a wiki tech account in This place called wiki tech No, no, but I do the main thing the main list Yeah, okay So in here so and then you make a wiki tech account and it gets approved quickly And then you get the shell and then you can just quickly go there. Where's your? Yeah, and you can go to this shell and just login and then you have access to the a big Set of nodes in the cloud and you can just do whatever you want Also, you have access to the core dumps and you have access to the replica database. Let me show it to you Yeah, okay, so for example, you can go to LS Okay, LS German layout Dumps and then you can go to Select this Okay public and then Dumps and Public and then slash wiki data wiki and then you get oh there's like all sorts of time and everything that you want to But if you also you can do something else is that you can just do skew L wiki data wiki and then Okay, and then you're inside the wiki data as a database I mean it does you don't have the rights you can you cannot write today a replica because it's a replica and Also, it's sanitized so it doesn't have there like a hash of user password and stuff like that But still you can do just Select Various from recent changes limit five and Yeah, and then you get all of the things that you want to you cannot even describe anything you want to directly into the system and then There is also we have something called the job grid So you can just put a cron and anything that you want to or just It's something around something directly and you go through the a big note of Collod Kubernetes and then just runs everything that you want to in is here There's the more information about it in here There's a like a long Help that he says like oh use run this job and then job of what it does and you can get it this so You just need to it's a bash command you can run any bash command and Send it all okay return me this output to the this place and the other places One thing that you can do is also there's a web server that you can access everything directly So you can just put a PHP file there and into the opportunity and then Yeah, for example, this is this is an example that we built together I think To two Christmas ago But this was like you can just see this is a PHP file The source code is available and you just copy paste it that source code into like a directory And it was there and you every time we click on it and you get most of the edits that happen on description Wikidata that might be vandalism and we can fix it Also, this is not just the only thing that you can do with this is that You can also put a Python flask application Is this the Python plans? And then this can be just a Python application and you can just have the file there And also no JS and Java. There's so many of them Also, you can have own database like you have something that has its own database for example quick categories in here has jobs that Here this is This tool for its own built-in database inside our cloud services and it uses just fine You can do that as well And also there's a cloud VPS that it doesn't do any Kubernetes It just you can make a VPS of your own and then do whatever you want with it So for example, and you get a project and you get the quota. It's a slightly More limited but also you have access to the whole VPS You have pseudo rights on it. You can do whatever you feel like about it So we have like for example this project in here and it's called tools and then there's Proxies and you can for example go into that instance and reboot it and Do whatever you want and you can make new instance and look at your quota and look at everything else there and Also, you can also make it even a Viki on one of those cloud VPS systems Which is for example, we did in here in here if you look at it It's just a Viki and the difference is that for other ones For example for the devandals of dashboard you have tools.wmeflabs.org and then a slash WDWVD, which is the tool itself, but in here we get our own subdomain So which will be Viki data dash like sim dash lua.wmeflabs.org And you can even put all sorts of subdomains for the Wmeflabs.org As long as it's not taken So you can build a media Viki instance this Or you can just complete a new software anything you can put a wordpress there. Who cares? And then you can use it. It's very simple You have own thing and you can help lots of expedients Anything else? I don't think so most important I would say is tool forage to run your website or If that's not enough for you cloud VPS and then you get your own VM where you can do absolutely anything you want As long as it matches those rules and stuff and I think that's it. Are there any questions? Hello Thank you very much for the talk. That was very quick. So maybe anybody has a question here I'll give you my microphone to ask it. I don't see any hands No, okay, I don't think we have questions, but if you're just too shy to ask I think these guys always hanging around here around the wikipaker wiki So if you have anything you want to talk about you'll find them later Okay, then give round of applause again for Lucas and Amir