Widemesh Component: Racks

Widemesh Racks

A Widemesh Rack is a group of servers Widemesh provisions for you with a Runtime ready to deploy and monitor your apps.

When you create a rack, the platform allows you to pick a size that indicates the capacity in RAM and CPU Cores. All the servers in the Rack follow the same configuration.

You don’t have to provision the servers yourself. Widemesh connects to your cloud vendor, provision, and prepares the servers for you.

Learning the Basics

To create a rack, type the following command in your terminal:

mesh rack create my-rack

To list all your racks, you can use:

mesh rack list

To delete a rack:

mesh rack delete my-rack

Advanced

Runtime Upgrades

From time to time, the platform may need to apply software updates to the Runtime, for that there’s a command:

mesh rack upgrade my-rack

The upgrade process creates new servers with the new Runtime, redirects the traffic of the apps to the new servers, and deletes old servers shortly after.

Resizing Racks

A few circumstances may require you to change the size of a rack:

  • Your environments require more CPU and RAM.
  • You want to lower your cloud vendor costs.

Use the following command to change the size of any rack:

mesh rack resize my-rack

The resizing process creates new servers with the same Runtime but with your newly selected size, redirects the traffic of the apps to the new servers, and deletes old servers shortly after.