Linux Computer plans

The plans that set each Linux Computer's CPU, RAM and disk, who can choose them and how to change plan.

  • Category: Payments and administration
  • Status: Available
  • Requirements: Being a company admin to change a Linux Computer plan
  • MCP tools (Read only): listar_planes_vps
  • MCP tools (Write or modify): cambiar_plan_vps

Markdown

What can you do with it?

Each Linux Computer has a plan with CPU cores, GB of RAM, GB of disk and a monthly price. There are public plans, plans for partner schools and plans reserved for the 42 community.

  • See which plans each person can choose and why one is unavailable.
  • Change an existing Linux Computer's plan, up or down.

When should you use it?

When creating a Linux Computer, and when the server runs short or has spare capacity.

How does it work in ArduMaker?

A plan's availability depends on the owner: a plan may have a per-person cap, a global quota or belong to a school. The listing returns, for each plan, an elegibilidad block with puede and, if not, the reason code.

  1. The new plan's eligibility is validated against the Linux Computer owner, with the same rules as creation.
  2. If the new plan has less disk, ArduMaker checks that used space fits.
  3. If the Linux Computer had a school benefit on the previous plan, it ends.
  4. The new CPU, RAM and disk limits are applied to the container and the Linux Computer is started.
  5. The service moves to the new plan price; if it had a prepaid block, the unused part is refunded and a new one opens on the new plan.

What actually changes?

  • On the host: the Linux Computer container limits.
  • In ArduMaker: the Linux Computer plan, an entry in its activity log and the service price.

Diagram

  1. Admin or agent
  2. Eligibility: against the Linux Computer owner
  3. Disk check: if the plan shrinks
  4. Linux Computer host: applies CPU, RAM and disk
  5. Billing: price and prepayment
Plan change

Expected result

The Linux Computer starts again with the new plan's resources and the next charge uses its price. Each plan's prices are shown on the platform.

Errors and troubleshooting

  • 409 for disk: used space does not fit the new plan's disk. Free space first.
  • Plan not eligible: the elegibilidad code says why (for example, the free server is already used or the school has no slots).
  • `Plan update failed`: the host did not apply the limits; the Linux Computer plan does not change.

MCP access

listar_planes_vps is read-only and, with company_id and vps_id, tells which plans that server can move to. cambiar_plan_vps is for company admins only. See /mcp/vps.

TypeTools
Readlistar_planes_vps
Modifiescambiar_plan_vps

Related features

  • Linux Computers: Your own Ubuntu Linux Computer with root, the plan's resources and full control from the dashboard or over MCP.
  • Service usage: Which services the company has, at what price, what it uses on demand and how to prepay months.
  • Schools: Program for educational institutions: agreed plans for students, invitation links, wallet and commission.
  • Balance per company: Each company has its own balance, the sum of its movements, with automatic charging and an authorised negative margin.

Keep going