How do I use AWSSupport-CheckAndMountEFS to verify prerequisites and mount an EFS file system on a Linux instance?


I want to use AWSSupport-CheckAndMountEFS to verify the prerequisites to mount an Amazon Elastic File System (Amazon EFS) file system, and mount the EFS file system on Linux instances.



Before you run the automation, make sure that your AWS Identity and Access Management (IAM) user or role has the correct permissions. For more information, see the Required IAM permissions section of AWSSupport-CheckAndMountEFS.

Run the Systems Manager automation runbook

Complete the following steps:

  1. Open the AWS Systems Manager console.
  2. In the navigation pane, choose Documents.
  3. In the search bar, enter AWSSupport-CheckAndMountEFS, and then select the document.
  4. On the Document details page, choose Execute automation.
  5. Select the AWSSupport-CheckAndMountEFS document, and then choose Execute automation. Or, choose Run this Automation (console).
  6. On the Execute automation document, for Input parameters, enter the following information:
    (Optional) For AutomationAssumeRole, enter the ARN of the role for the automation to perform the actions for you.
    For InstanceId, enter the ID of the Amazon Elastic Compute Cloud (Amazon EC2) instance that you want to mount the file system on.
    For EfsId, enter the ID of the file system that you want to mount.
    For Region, enter the AWS Region where the Amazon EC2 instance and file system are located.
    For Action, choose Check to only verify the prerequisites or CheckandMount to verify the prerequisites and mount the file system.
    (Optional) For MountTargetIP, enter the mount target's IP address.
    Note: In environments where DNS is turned off, you can use your IP address to mount. You can also use this option if your environment uses a DNS provider other than Amazon Route 53.
    (Optional) For MountOptions, choose the options that you want to use when you mount the file system. If you specify the tls option, then make sure to upgrade stunnel for your target instance.
    (Optional) For MountPoint, enter the directory where you want to mount the file system.
    Note: If you choose Check for the Action field, then don't enter a directory.
  7. Choose Execute.

After the automation is complete, review the Outputs section for detailed results.

Related Information

Run an automation

Setting up Automation

Systems Manager Automation runbook reference

AWS公式更新しました 6ヶ月前