Help:Cloud Services introduction: Difference between revisions

From Wikitech
Content deleted Content added
Rearrange sections; trying to put the most needed information first
m Reverted edits by NoobThreePointOh (talk) to last revision by Majavah
Tag: Rollback
(177 intermediate revisions by 52 users not shown)
Line 1: Line 1:
[[File:What is Cloud Services? poster.pdf|alt=A Poster showing some Wikimedia Cloud services statistics and services|thumb|upright=1.3|Poster-format overview]]
'''Wikimedia Cloud Services''' ('''WMCS''') is a flexible computing ecosystem built on [[W:OpenStack|OpenStack]], [[W:Oracle Grid Engine|GridEngine]], and [[W:Kubernetes|Kubernetes]]. The project empowers technical contribution to the Wikimedia software world. The products and resources of the WMCS project are available for use by anyone connected with the [[meta:Wikimedia movement|Wikimedia movement]]. Support and administration of the WMCS resources is provided by a [[Mw:Wikimedia Cloud Services team|Wikimedia Foundation team]] and Wikimedia movement volunteers.
'''Wikimedia Cloud Services (WMCS)''' provides tools, services, and support for technical collaborators who want to contribute to Wikimedia software projects. Use Cloud Services to host your software tools for the [[meta:Special:MyLanguage/Wikimedia movement|Wikimedia movement]], without charge.


== What can you do with Cloud Services? ==
{{anchor|WMCS Products}}
== Our products ==


=== Host tools on Wikimedia servers ===
* [[Portal:Wikimedia Labs|Cloud VPS]] provides collaborative owned collections of virtual private servers where users develop and maintain software projects that help the Wikimedia movement.
{{anchor|Toolforge|reason=Old section name.}}
* [[Portal:Tool Labs|Toolforge]] provides a shared hosting/platform as a service environment for running bots, webservices, scheduled jobs, and data analysis.
* [[Portal:Data_Services|Data Services]] is a collection of products including private-information-redacted copies of Wikimedia's production wiki databases and access to [[Dumps.wikimedia.org|Wikimedia Dumps]]


Tools and bots make it easier to edit and maintain Wikimedia projects. For developers who support Wikimedia projects by developing tools and bots, '''[[Help:Toolforge | Toolforge]]''' provides the following features:
{{anchor|What Product Should I Use}}
* Free, reliable, and scalable shared hosting, including web servers, databases and other data storage
== Which product should I use? ==
* A distributed job processing system
* Support for multiple users to collaboratively maintain and manage tools


To use Toolforge you need:
=== [[Portal:Wikimedia_Labs|VPS]] => [[Portal:Wikimedia_Labs|Wikimedia VPS]] ===
* Some programming knowledge
If you need to run full virtual instances and are willing to administer them on your own we can provide quota to do so.
* An understanding of Unix command line


To get started, visit [[Help:Toolforge]]. Or, [https://developer.wikimedia.org/build-tools/ learn more about creating bots].
=== [[Portal:Tool_Labs|PaaS]] => [[Portal:Tool_Labs|Toolforge]] ===
If you need to run a specific webservice, scheduled job, or perform analysis but do not want to or are not able to manage a full virtual environment this is the best place.


=== Run scripts and visualize data ===
=== [[Portal:Data_Services|DaaS]] => [[Portal:Data_Services|Data Services]] ===
{{anchor|PAWS|reason=Old section name.}}
We provide replicas of the production databases and other data for analysis and experimentation. DaaS resources are available from both the VPS and the PaaS environments, though some of them may need to be requested for a specific VPS Project. In addition, the [https://quarry.wmflabs.org/ Quarry service] provides database access via a web interface without project setup.
'''[[PAWS]]''' is a Jupyter notebook installation hosted by Wikimedia. PAWS notebooks can be used for creating tutorials, running live code, creating data visualizations, running basic bots, and more.


A single PAWS notebook is maintained by a single user, but they can be downloaded and forked by other users. To use PAWS you need only a Wikimedia login and a web browser. Knowledge of Python is helpful, but not required.
== Terms of Use ==
* All WMCS resources are subject to the [[Wikitech:Labs_Terms_of_use|Wikimedia Labs Terms of Use]] and the [[mw:Code of Conduct|Code of Conduct for technical spaces]].
* Toolforge tools must be [[w:Open-source software|open source software]] licensed under an [http://opensource.org/licenses OSI approved license].
* Toolforge and Cloud VPS projects must not collect, store, or share private data or personally identifiable information, such as user names, passwords, or IP addresses, except when complying with the conditions listed in the [[Wikitech:Labs_Terms_of_use|Wikimedia Labs Terms of Use]].


=== Administer servers for software development ===
== Joining and Participating ==
{{anchor|Cloud VPS|reason=Old section name.}}
Open source software projects help the Wikimedia movement by improving core infrastructure (like MediaWiki), powering research and analytics, and supporting Wikimedia operations and software development. For advanced projects that aren't viable in the Toolforge environment, '''[[Help:Cloud_VPS | Cloud VPS]]''' (Virtual Private Server) provides the following features:
* Free cloud computing environment, powered by [[:w:OpenStack|OpenStack]]
* Collaboratively-owned collections of virtual private servers, storage, firewall, and HTTPS proxy resources to projects
* Access to a variety of data services
* Freedom to install packages not provided by Debian or the Wikimedia Foundation
To use Cloud VPS, you need:
* An open source project that isn't viable in the Toolforge environment, or can't be accomplished using other WMCS offerings
* One or more active project maintainers who meet basic requirements
* Advanced programming knowledge
* Advanced experience with Unix command line
* The ability to administer your own servers and manage your project's applications, data, runtime, middleware, and operating systems


To get started, visit [[Help:Cloud VPS]].
[[Help:Terminology|Labs Account Holders]] are governed by the [[Project:Labs Terms of use|Labs terms of use]], the [[Help:Rules|Rules]], and the [[mw:Code of Conduct|Code of Conduct for technical spaces]]. The [[mw:Wikimedia Labs/Agreement to disclosure of personally identifiable information|agreement to disclosure of personally identifiable information]] covers [[Help:Terminology|End-Users]].


==== What is the difference between Cloud VPS and Toolforge? ====
Read our [[Help:Getting_Started|Getting Started]] guide for detailed information on creating accounts and becoming active in our projects.


Cloud VPS is an [[:w:Cloud_computing#Infrastructure_as_a_service_.28IaaS.29|Infrastructure as a service (IaaS)]] solution. It provides virtual machines, storage, firewall, and HTTPS proxy resources to projects. The members of each individual project are responsible for managing applications, data, runtime, middleware, and operating systems themselves.
== Support and Administration ==


Toolforge is a [[:w:Cloud_computing#Platform_as_a_service_.28PaaS.29|Platform as a service (PaaS)]] solution. It provides [[Help:Toolforge/Web|web servers]], [[Help:Toolforge/Database|databases]], and a [[Help:Toolforge/Grid|distributed job processing system]] as managed services for tool maintainers.
We use [[phab:project/profile/832/|Phabricator]], [[Help:IRC|IRC]], and [https://lists.wikimedia.org/mailman/listinfo/labs-l email] as primary support channels.


=== Access databases and data dumps ===
[[phab:tag/cloud-services/|Wikimedia Cloud Services]] are a joint effort between Wikimedia Foundation staff and many dedicated volunteers:
{{anchor|Data Services|reason=Old section name.}}
* [[mw:Wikimedia Cloud Services team|Wikimedia Cloud Services team]]
{{Note|What is a wiki replica? What's in the dumps? Learn the basics of Wikimedia open data and how to access all available datasets at [[meta:Research:Data|Research:Data]].}}
* [[mw:Wikimedia Technical Operations|Wikimedia Technical Operations]]
* [[meta:Community Liaisons|Community Liaisons]]
* [[Help:Tool_Labs/Tool Labs standards committee|Tool Labs standards committee]]
* [[phab:project/members/832/|Phabricator participants]]
* [[toollabs:openstack-browser/project/|Cloud VPS project]] maintainers
* [https://tools.wmflabs.org/?list Toolforge tool] maintainers
* and many more people who help by creating and maintaining documentation on this wiki and others in the Wikimedia movement


==== Access wiki databases for tool development====
{{anchor|Discovery}}
== Learn more ==


Tools and software hosted on Toolforge and Cloud VPS can directly access public data dumps and production wiki replicas.
* Read our glossary of [[Help:Terminology|terminology]]
* Learn about [[Help:Toolforge/Database | accessing wiki replica databases from a tool account]].
* Browse existing VPS projects using [[toollabs:openstack-browser/|OpenStack Browser]].
* Learn about [[Help:Shared_storage | accessing dumps through shared storage services for Cloud VPS and Toolforge]].
* Project administration is done through the OpenStack dashboard known as [https://horizon.wikimedia.org/ Horizon].
* Toolforge (Tools) has a [[toollabs:|homepage]] and a [[toollabs:?list|directory of Tools]]


==== Query wiki replicas and dumps in a browser ====
== History ==
''A community consultation on branding has now been closed after an open call for participation and [[User:BryanDavis/Rebranding Cloud Services products|discussion]].''


* '''[[PAWS]]''' provides a Jupyter notebook environment you can use to query wiki replicas and dumps, create interactive graphs, and use APIs for analysis.
We are [[phab:phame/post/view/59/labs_and_tool_labs_being_renamed/|actively working to rebrand the WMCS products]]. Working titles are now in use across some documentation. The generic compute/'Labs' environment for running your own virtual instances is being referred to now as "Cloud VPS" and the Tool Labs PaaS environment is now being referred to as "Toolforge".
* '''[[Superset]]''' and '''[https://quarry.wmcloud.org/ Quarry]''' are web interfaces for querying live replica SQL databases of public Wikimedia wikis.
To use Superset or Quarry you need only a Wikimedia login and a web browser, but you should have a basic understanding of SQL. Learn about [[Help:MySQL_queries|SQL queries]].


== Which service is right for you? ==
----------


{| class="wikitable"
From 2011 until early 2017, WMCS was known as "Wikimedia Labs".
|+
! rowspan="2" |Activity / Needs
!PAWS
!Superset
!Toolforge
!Cloud VPS
|-
|Data as a service
|Data as a service
|Platform as a service
|Infrastructure as a service
|-
|Write scripts and visualize data
|βœ”
|
|
|
|-
|Write queries against wiki replica databases
|βœ”
|βœ”
|βœ”
|βœ” via Toolforge
|-
|Access on wiki database dump files
|βœ”
|
|βœ”
|
|-
|Write and run bots
|βœ”
|
|βœ”
|βœ” if not viable on Toolforge
|-
|Run web services
|
|
|βœ”
|βœ” if not viable on Toolforge
|-
|Build tools to improve Wikimedia projects
|
|
|βœ”
|βœ” if not viable on Toolforge
|-
|Schedule or run continuous jobs
|
|
|βœ”
|βœ” if not viable on Toolforge
|-
|Need your own subdomain
|
|
|βœ”
|βœ”
|-
|Work with co-maintainers and co-admins
|
|
|βœ”
|βœ”
|-
|Install packages not provided by Debian or the Wikimedia Foundation
|
|
|
|βœ”
|-
|Administer your own virtual server
|
|
|
|βœ”
|-
!Platform / Environment
|web browser
|web browser
|terminal
|terminal
|-
!User knowledge
|curiousβ€”advanced
|curiousβ€”advanced
|intermediateβ€”advanced
|advanced
|}

== Before you start ==

To use Cloud Services products, you must first [[Help:Create a Wikimedia developer account|create a Wikimedia account and a developer account]].

== Learn more ==


* 🎬 Video: [https://media.ccc.de/v/36c3-77-wikimedia-cloud-services-introduction Wikimedia Cloud Services introduction] (2019)
The term 'Labs' became [[Labs labs labs|overloaded]] and often required clarification about what component of the ecosystem was being referred to. The former Wikimedia Foundation Labs team and the Tool Labs Support team have joined forces as the Wikimedia Cloud Services team and are launching a campaign to improve the language and branding surrounding products and services offered.
* πŸ“£ Slides: [[commons:File:Introduction_to_Wikimedia_Cloud_Services_-_Wikimania_Hackathon_2019_Stockholm_Sweden.pdf|An introduction to Cloud Services presentation]] (2019)


{{:Help:Cloud Services communication}}
== Media ==


[[Category:Overviews]]
* [[Media:WMCS_Presentation.pdf|What is Wikimedia Cloud Services?]] presentation slides
[[Category:Cloud Services]]

Revision as of 21:35, 3 February 2024

A Poster showing some Wikimedia Cloud services statistics and services
Poster-format overview

Wikimedia Cloud Services (WMCS) provides tools, services, and support for technical collaborators who want to contribute to Wikimedia software projects. Use Cloud Services to host your software tools for the Wikimedia movement, without charge.

What can you do with Cloud Services?

Host tools on Wikimedia servers

Tools and bots make it easier to edit and maintain Wikimedia projects. For developers who support Wikimedia projects by developing tools and bots, Toolforge provides the following features:

  • Free, reliable, and scalable shared hosting, including web servers, databases and other data storage
  • A distributed job processing system
  • Support for multiple users to collaboratively maintain and manage tools

To use Toolforge you need:

  • Some programming knowledge
  • An understanding of Unix command line

To get started, visit Help:Toolforge. Or, learn more about creating bots.

Run scripts and visualize data

PAWS is a Jupyter notebook installation hosted by Wikimedia. PAWS notebooks can be used for creating tutorials, running live code, creating data visualizations, running basic bots, and more.

A single PAWS notebook is maintained by a single user, but they can be downloaded and forked by other users. To use PAWS you need only a Wikimedia login and a web browser. Knowledge of Python is helpful, but not required.

Administer servers for software development

Open source software projects help the Wikimedia movement by improving core infrastructure (like MediaWiki), powering research and analytics, and supporting Wikimedia operations and software development. For advanced projects that aren't viable in the Toolforge environment, Cloud VPS (Virtual Private Server) provides the following features:

  • Free cloud computing environment, powered by OpenStack
  • Collaboratively-owned collections of virtual private servers, storage, firewall, and HTTPS proxy resources to projects
  • Access to a variety of data services
  • Freedom to install packages not provided by Debian or the Wikimedia Foundation

To use Cloud VPS, you need:

  • An open source project that isn't viable in the Toolforge environment, or can't be accomplished using other WMCS offerings
  • One or more active project maintainers who meet basic requirements
  • Advanced programming knowledge
  • Advanced experience with Unix command line
  • The ability to administer your own servers and manage your project's applications, data, runtime, middleware, and operating systems

To get started, visit Help:Cloud VPS.

What is the difference between Cloud VPS and Toolforge?

Cloud VPS is an Infrastructure as a service (IaaS) solution. It provides virtual machines, storage, firewall, and HTTPS proxy resources to projects. The members of each individual project are responsible for managing applications, data, runtime, middleware, and operating systems themselves.

Toolforge is a Platform as a service (PaaS) solution. It provides web servers, databases, and a distributed job processing system as managed services for tool maintainers.

Access databases and data dumps

What is a wiki replica? What's in the dumps? Learn the basics of Wikimedia open data and how to access all available datasets at Research:Data.

Access wiki databases for tool development

Tools and software hosted on Toolforge and Cloud VPS can directly access public data dumps and production wiki replicas.

Query wiki replicas and dumps in a browser

  • PAWS provides a Jupyter notebook environment you can use to query wiki replicas and dumps, create interactive graphs, and use APIs for analysis.
  • Superset and Quarry are web interfaces for querying live replica SQL databases of public Wikimedia wikis.

To use Superset or Quarry you need only a Wikimedia login and a web browser, but you should have a basic understanding of SQL. Learn about SQL queries.

Which service is right for you?

Activity / Needs PAWS Superset Toolforge Cloud VPS
Data as a service Data as a service Platform as a service Infrastructure as a service
Write scripts and visualize data βœ”
Write queries against wiki replica databases βœ” βœ” βœ” βœ” via Toolforge
Access on wiki database dump files βœ” βœ”
Write and run bots βœ” βœ” βœ” if not viable on Toolforge
Run web services βœ” βœ” if not viable on Toolforge
Build tools to improve Wikimedia projects βœ” βœ” if not viable on Toolforge
Schedule or run continuous jobs βœ” βœ” if not viable on Toolforge
Need your own subdomain βœ” βœ”
Work with co-maintainers and co-admins βœ” βœ”
Install packages not provided by Debian or the Wikimedia Foundation βœ”
Administer your own virtual server βœ”
Platform / Environment web browser web browser terminal terminal
User knowledge curiousβ€”advanced curiousβ€”advanced intermediateβ€”advanced advanced

Before you start

To use Cloud Services products, you must first create a Wikimedia account and a developer account.

Learn more

Communication and support

Support and administration of the WMCS resources is provided by the Wikimedia Foundation Cloud Services team and Wikimedia movement volunteers. Please reach out with questions and join the conversation:

Discuss and receive general support
Stay aware of critical changes and plans
Track work tasks and report bugs

Use a subproject of the #Cloud-Services Phabricator project to track confirmed bug reports and feature requests about the Cloud Services infrastructure itself

Read stories and WMCS blog posts

Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)