Friday, 4 October 2024

AWS FSx Labs

 

AWS FSx Labs

AWS FSx is a managed file system service that provides high-performance file storage for your cloud applications. It offers two main file system types: Windows File Server (FSx-Windows) and Lustre (FSx-Lustre).

FSx-Windows Labs

1. Create an FSx-Windows File System

  • Navigate to the FSx console: In the AWS Management Console, search for "FSx" and select the FSx service.
  • Create a file system: Click on "Create file system".
  • Choose a file system type: Select "Windows File Server".
  • Configure file system settings: Specify the desired file system settings, such as the VPC, subnet, and storage capacity.
  • Create the file system: Click on "Create file system".
  • Image of creating an FSxWindows file system in the AWS Management Console

2. Mount the FSx-Windows File System

  • Mount target: In the FSx console, click on the file system you created.
  • Create a mount target: Click on "Create mount target".
  • Choose a subnet: Select the subnet where you want to mount the file system.
  • Create the mount target: Click on "Create mount target".
  • Image of creating a mount target for an FSxWindows file system
  • Mount the file system: Using an SSH client or EC2 instance, mount the FSx-Windows file system using the provided mount point and security credentials. For example:
Bash
sudo mount -t nfs -o nfsvers=4.1,addr=<mount_target_dns_name> <mount_point>

Replace <mount_target_dns_name> with the DNS name of your mount target and <mount_point> with the desired mount point on your instance.

FSx-Lustre Labs

1. Create an FSx-Lustre File System

  • Navigate to the FSx console: In the AWS Management Console, search for "FSx" and select the FSx service.
  • Create a file system: Click on "Create file system".
  • Choose a file system type: Select "Lustre".
  • Configure file system settings: Specify the desired file system settings, such as the VPC, subnet, storage capacity, and performance mode.
  • Create the file system: Click on "Create file system".
  • Image of creating an FSxLustre file system in the AWS Management Console

2. Mount the FSx-Lustre File System

  • Mount target: In the FSx console, click on the file system you created.
  • Create a mount target: Click on "Create mount target".
  • Choose a subnet: Select the subnet where you want to mount the file system.
  • Create the mount target: Click on "Create mount target".
  • Image of creating a mount target for an FSxLustre file system
  • Mount the file system: Using an SSH client or EC2 instance, mount the FSx-Lustre file system using the provided mount point and security credentials. For example:
Bash
sudo mount -t lustre -o nfsvers=4.1,addr=<mount_target_dns_name> <mount_point>

Replace <mount_target_dns_name> with the DNS name of your mount target and <mount_point> with the desired mount point on your instance.

No comments:

Post a Comment