Appearance
Volume
Volume enables you to have persistent storage in your services. It is a resource that belongs to a Project;
To view all volumes of a project:
- Open a project by choosing it in Projects page,
- Use Volumes link accessible inside the sidebar located at left.
You can manually create volumes and mount them into your services or create volumes while creating a custom service. When you create a web application service, Yelken automatically creates necessary volumes for your services. Unfortunately, it is not possible to manually mount a volume into a web application service.
Creating Volume
To create a new volume, navigate to Volumes page and use the Create Volume button. Then you need to provide a few information:
- Name: specify a name for your volume. You can change it later under the Volume Settings page.
- Volume Size: specify size of the volume in terms of GigaBytes (GB). You can specify a size between 1 GB and 20 GB.
Cloning Volume
By cloning a volume, you can take snapshot of its content and create a new volume with the snapshot. You can then use this new volume in your services.
To clone a volume, navigate to Volumes page, open the context button shown as three vertical dots to open context menu and select Clone button. Then you need to provide a few information:
- Name: specify a name for your volume.
- Volume Size: specify size of the volume in terms of GigaBytes (GB). The new volume size must be greater than or equal to the source volume size.
Volume States
A volume has a state that enables tracking its current status. It can be in one of these states:
- Creating: A volume starts its life in this state indicating resources are being allocated and it is being initialized.
- Ready: Volume is ready for use.
- Deleting: Volume is being deleted as a result of user request.
Managing Volume
Volume Setting
You can open Volume Settings page by using the View Volume button. When you use the button, Volume Settings page will welcome you where you can update the name of the volume. This page also contains a Danger Zone where you can perform dangerous operation on your volume.
Deleting Volume
Inside the environment's settings, under the Danger Zone part, you can use Delete Environment button to delete your environment. It will require a confirmation from you by asking you to enter the name of environment and its key.
Volume that is still in use.
Yelken will prevent you deleting a volume that is still in use. You first need to configure the service that use the volume to not use it.