Block storage provides high-performance, persistent storage volumes that can be attached to bare metal servers on the Latitude.sh platform. It ensures data is retained independently of server lifecycle, making it ideal for workloads requiring flexible, portable data management.
Block storage is optimized for fast access and seamless integration, offering a reliable way to manage data-intensive applications with the flexibility to attach and detach across different servers.
Creating Block storage
Create volume
Log in to the Latitude.sh dashboard and navigate to Storage > Block
storage in the sidebar. Click Create volume, specify the name and
size, and click Create.
Block storage volumes can be mounted to your bare metal servers using the Latitude CLI (lsh). Follow the steps below:
Install the Latitude CLI
On your bare metal server, download and install the Latitude CLI:curl -fsSL https://cli.latitude.sh/install.sh | sh
Authenticate the CLI
Run lsh login to authenticate. The CLI opens your browser to authorize the session:A verification code appears in your terminal. Confirm the code in your browser, select a team, and click Authorize. Mount the volume
Mount the volume to the server:sudo lsh volume mount --id <VOLUME_ID>
You will be prompted to enter the mount point for the volume.
You can find your block storage ID in the dashboard under Storage >
Block storage by clicking on the three dots icon and selecting Mount
volume to bare metal.
Managing Block storage
Detaching
To safely detach a volume from a server, unmount the volume first:
umount /path/to/mount/point
Note: Detaching volumes from servers via the dashboard is not currently supported. This feature will be available in a future update.
Pricing
Block storage pricing is coming soon. See the storage pricing page for the latest details.