Introduction
Scalable File System is designed to provide simple, scalable, and highly available file storage for cloud-based applications and services. It allows multiple E2E Nodes to access the same file system concurrently, enabling shared file storage across instances.
The Scalable File System is commonly used for applications that require shared file storage, such as content management systems, web serving, big data analytics, and development environments. It simplifies the management and provisioning of file storage in the cloud, allowing applications to scale seamlessly and reliably.
Create Scalable File System
To create a Scalable File System:
- Navigate to the left sidebar under the dashboard section
- Go to Storage → Scalable File System
- Click on the Get Started button
Configuration Steps
After clicking the Get Started button:
-
Select a VPC: Choose from two types of VPCs:
- Default VPC: Provided by E2E with a pre-defined CIDR
- Custom VPC: User-created, where you can also optionally select an associated subnet
-
Select a Plan: Choose the appropriate plan for your needs
-
Launch: Click on the Launch SFS button to create your Scalable File System
Once created, your Scalable File System will be displayed in the list with an "Available" status.
Grant All Access
If you grant all access, you will not be able to configure ACL. To configure ACL, you must disable all access.
To grant full access to all resources:
-
Select the SFS you want to configure
-
Click on Grant All Access under Actions
-
Confirm by clicking the Grant button in the popup
This enables all resources like Nodes, Load Balancers (LB), Kubernetes, and DBaaS within the same VPC to access this SFS. The permission process takes a few minutes to complete. You can view the configured Virtual Private Cloud (VPC) under the ACL tab.
Disable All Access
Disabling all access will deny access to all resources such as Nodes, Load Balancers, Kubernetes, and DBaaS within the same VPC from accessing this SFS.
To disable all access:
-
Select the SFS
-
Click on Disable All Access under Actions
-
Confirm by clicking the Disable button in the popup
The disable process takes a few minutes to complete. You can view the updated configuration under the ACL tab.
Convert to Committed
To convert your SFS to a committed plan:
- Click on Convert to Committed button
- Select your desired committed plan
- Click on Convert button to apply the changes
Committed Settings
To update committed settings:
- Click on Committed Settings button
- Configure your desired settings
- Click on Update Settings button to save changes
Delete SFS
To delete a Scalable File System:
- Select the SFS you want to delete
- Click Delete under Actions
- Confirm the deletion in the popup
ACL (Access Control List)
Using ACL configuration, you can grant specific Nodes permission to access the SFS.
Configure ACL
-
Navigate to the ACL tab
-
Click on Configure ACL
-
Select the nodes attached to the same VPC network
-
Choose the appropriate permissions for each node
-
Click the Allow button to attach the Node to SFS
After clicking Allow, the node will enter a Configuring status, and after a few moments, it will return to Available status.
How to Access Scalable File System (SFS)?
Connect to your machine and follow these commands to mount the SFS.
1) For YUM Package Manager (RHEL/CentOS)
Step 1: Install nfs-utils on your machine:
yum update
yum install nfs-utils
Step 2: Create a mount point:
mkdir MOUNT_POINT
Step 3: Mount SFS on your machine:
mount -t nfs -o soft,timeo=n,retrans=n,retry=n SFS_SERVER_ENDPOINT:/data MOUNT_POINT
2) For APT Package Manager (Ubuntu/Debian)
Step 1: Install nfs-common on your machine:
sudo apt update
sudo apt install nfs-common
Step 2: Create a mount point:
mkdir MOUNT_POINT
Step 3: Mount SFS on your machine:
mount -t nfs -o soft,timeo=n,retrans=n,retry=n SFS_SERVER_ENDPOINT:/data MOUNT_POINT
3) For Windows Machine
Step 1: Ensure you have NFS Client (Services for NFS) installed from Programs and Features.
Step 2: Mount SFS to a drive:
mount -t nfs -o soft,timeo=n,retrans=n,retry=n SFS_SERVER_ENDPOINT:/data drive:
Mount Options Explained
- soft: When NFS tries to access a soft-mounted directory, it gives up and returns an error message after trying
retranstimes - timeo: The timeout, in tenths of a second, for requests (read and write requests to mounted directories). If a request times out, this timeout value is doubled, and the request is retransmitted. Maximum value is 30 seconds, and the default value is 7 seconds
- retrans: The number of times a request (a read or write request to a mounted directory) is retransmitted after it times out. If the request does not succeed after
nretransmissions, a soft mount returns an error. Default value is 4 - retry: The number of times the client attempts to mount a directory after the first attempt fails. Default value is 1
Disallow Node
To remove a node's access:
- Go to the ACL tab
- Click on the Disallow button next to the node you want to remove
- This will remove the established connection
Snapshot
The Snapshot feature allows you to capture data states at specific points in time, enabling data recovery, replication, and scheduled snapshot creation.
Creating a Snapshot Manually
To create a snapshot manually:
-
Navigate to the Snapshot tab
-
Click on the Snapshot Now button
-
Confirm by clicking Create Snapshot in the popup
The snapshot will be created and displayed in the snapshot list.
Actions on Snapshots
To perform actions on a snapshot, click on the three-dot Actions menu icon for the respective snapshot. Available actions include:
- Clone: Create a copy of the SFS
- Upgrade: Upgrade the SFS to a different plan
- Delete: Remove the snapshot
Clone a SFS
To clone a Scalable File System:
-
Click on the Clone option within the Actions menu
-
On the Clone SFS page, select the desired Virtual Private Cloud (VPC)
-
Click on Clone SFS to proceed
The cloned SFS will be added to your SFS list.
Upgrade SFS
To upgrade an SFS from a snapshot:
- Click on the Upgrade action for the desired snapshot
- On the upgrade page, select the plan you want to upgrade to
- Click the Upgrade button to apply changes
Delete a Snapshot
To delete a snapshot:
- Click on the Delete action for the specific snapshot
- Confirm by clicking Confirm Delete in the popup
Schedule Snapshot
To schedule automatic snapshots:
- Click on the Schedule Snapshot link
- Configure the following:
- Snapshot interval: How frequently snapshots should be taken
- Snapshot time: When snapshots should be created
- Deletion time: When old snapshots should be deleted
- Click Save Changes
The user can set the Snapshot Interval in the following way-
- Schedule Snapshot with the Create Snapshot Interval set to Daily.
- Schedule the snapshot with the Create Snapshot Interval set to Weekly, and ensure it is scheduled on the selected Day of the week.
- Schedule the snapshot with the Create Snapshot Interval set to Monthly, and ensure it is scheduled on the selected Date of the month.
- The user can schedule the snapshot for the last day of the month by selecting the interval Monthly and choosing Last Day as the date
Edit Schedule Snapshot Settings
To modify your scheduled snapshot settings:
- Click Edit schedule snapshot settings
- Make your desired changes
- Save the updated configuration
Disable Scheduled Snapshots
To disable scheduled snapshots:
- Click on Edit Schedule Snapshot settings
- Click the Disable button
- Confirm the action in the popup
Configure Snapshot Lifecycle
To manage snapshot retention:
- Click on Configure Snapshot Lifecycle
- Select the interval after which scheduled snapshots should be automatically deleted
- Save your changes
Edit Lifecycle Settings
To modify lifecycle settings:
- Click Edit schedule snapshot settings
- Adjust the lifecycle configuration as needed
- Save your changes
Disable Snapshot Lifecycle
To disable automatic snapshot deletion:
-
Click on Edit Schedule Snapshot settings
-
Click the Disable button for lifecycle
-
Confirm the action in the popup
infoBy following these steps, you can effectively manage snapshots, perform various actions, and ensure the data integrity and availability of your files within the SFS service.