Obsolete:Portal:Cloud VPS/instance lifecycle

From Wikitech
This page is obsolete. See: Help:Instances for up-to-date information

This page contains general information on what is the instance/project lifecycle in the Cloud VPS service.

Please read the following information carefully since it contains valuable information and expectations regarding projects and VM instances running in Cloud VPS.

What is the projects lifecycle?

Projects are created usually following the instructions on the "Cloud-VPS (Project-requests)" phabricator task. The project creation operation is done by Cloud VPS admins (usually the Wikimedia Cloud Services team). Project deletion can be requested using a phabricator task as well.

All projects must comply with our rules. Also, projects are expected to have active users and administrators/maintainers. Projects that don't comply with these rules will be deleted.

What is an instance lifecycle?

Instances must be actively used, and in expected condition, to not be deleted.

Why do instances have a lifecycle?

Instances are allocated resources (storage, RAM, CPU, power). Over time these resources need to be reclaimed or continued use needs to be verified. Admins are often shuffling instances and compensating for growth. We periodically ensure projects and instances are active to this end.

Understanding project and/or instance removal

(note this page describes removal by cloudadmins only, normal project admins are not expected to follow the rules below internally within projects)

  • Notice will be sent to cloud via cloud-announce at least 2 weeks before any expected action is taken. Emergencies may require more immediate intervention.
  • If possible, instances will be suspended or shutdown for at least 2 weeks (a total of a month) before further unsolicited actions are taken to allow the tenant to notice.
  • No backups will be kept by Wikimedia Cloud Services
  • Inactive projects (those without instances or any responsive users) will be removed (along with their quota)

What are the responsibilities of project admins?

The WMCS team will always try to maintain the resources supporting active services. We will do our best to contact project admins before deleting instances or destroying data.

Project admins should delete unused instances, and notify Admins as soon as a project is no longer useful.

Project admins must subscribe to cloud-announce and cloud and take the maintenance or communication actions requested by the WMCS Admins. Failure to respond may result in unexpected loss of data or service interruptions.

How to increase quotas for a project?

Quotas are the usage limits for projects, and usually refer to one or more of CPU, RAM, disk storage, number of VM instances and/or floating IPs.

Projects can have their quota increased following the instructions on the "Cloud-VPS (Quota-requests)" phabricator task.