This guide details the process of provisioning a database using Amazon FSx for NetApp ONTAP within Tessell. The steps include creating the file system in AWS, registering it in Tessell, and then provisioning the database service.
β
For a comprehensive overview of the capabilities this integration offers to AWS FSxN customers for database provisioning, check out our release blog.
Best Practices for Creating an FSxN File System in AWS
Before registering the file system with Tessell, follow the below best practices to ensure optimal setup and performance for Database services:
VPC Configuration
Create the file system in the VPC and subnet registered in your Tessell subscription. Ideally, place it in the same VPC where the database VM will be deployed for seamless network connectivity.Set Administrative Password
The administrative password for the FSxN file system must be set in AWS and configured in Tessell. This enables Tessell to perform management activities, including snapshot creation, using ONTAP commands (which are not accessible via AWS APIs).Storage Tiering Policy
Use the Snapshot Only tiering policy to ensure efficient storage management and cost optimization.Security Group Configuration
Attach a security group to the file system that allows access to NFS (port 2049) and HTTPS (port 443) for resources within the VPC where the database will be deployed.Storage Virtual Machines (SVMs)
Create the file system with one or more SVMs. These SVMs can then be registered with Tessell for management and integration into your database services.Dedicated File Systems
IOPS and throughput are configured and managed at the file system level. For databases requiring dedicated IOPS and throughput, create a file system dedicated to that database to ensure full resource allocation.
Throughput
Actual IOPS performance in the file system depends on the configured throughput. Ensure the recommended throughput is set to achieve optimal IOPS for your database needs.
Register a File System
Once your FSxN file system is created, you can proceed to register it with Tessell database services using the following steps.
Navigate to the Registration Page
Open the Tessell console and go to Infrastructure Management β Storages β AWS FSx for NetApp ONTAP β Register.Grant Required IAM Permissions
Managing FSx for NetApp ONTAP (FSxN) requires specific IAM permissions in addition to the account-level permissions assigned during Tessell subscription onboarding. Ensure the appropriate IAM role is updated with the necessary permissions. Detailed requirements are provided on the File System Registration page in the Tessell console.Register File Systems and SVMs
FSxN file systems are managed at the subscription level within Tessell. Once the required permissions are in place, follow these steps:Select Storage Virtual Machines (SVMs): Choose one or more SVMs from the FSxN file system to register.
Provide Administrative Credentials: Enter the administrative password set in AWS for the file system.
Once the credentials are provided, click Register to complete the registration.
For already registered file systems, you can add additional SVMs at any time.
Provision a Database Service in FSxN
Once the File System SVMs are registered with Tessell, they become available for DB services within the specific subscription.
Select Storage: During database provisioning, choose AWS FSx for NetApp ONTAP as the storage option. All file systems registered for the subscription will be listed.
Choose File System: Select the desired file system from the list.
Advanced Configuration (Optional): If multiple SVMs are available in the file system, you can use the Advanced Configuration to select a specific SVM.
High Availability (HA) and Other Instances: The same selection process applies to HA setups and other instances during provisioning.
During the provisioning process, Tessell will automatically create the necessary volumes within the selected SVM.