Adding the EFS_INTEGRATION option - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Adding the EFS_INTEGRATION option

To integrate Amazon RDS for Oracle with Amazon EFS, your DB instance must be associated with an option group that includes the EFS_INTEGRATION option.

Multiple Oracle DB instances that belong to the same option group share the same EFS file system. Different DB instances can access the same data, but access can be divided by using different Oracle directories. For more information see Transferring files between RDS for Oracle and an Amazon EFS file system.

To configure an option group for Amazon EFS integration
  1. Create a new option group or identify an existing option group to which you can add the EFS_INTEGRATION option.

    For information about creating an option group, see Creating an option group.

  2. Add the EFS_INTEGRATION option to the option group. You need to specify the EFS_ID file system ID and set the USE_IAM_ROLE flag.

    For more information, see Adding an option to an option group.

  3. Associate the option group with your DB instance in either of the following ways:

To configure an option group for EFS integration
  1. Create a new option group or identify an existing option group to which you can add the EFS_INTEGRATION option.

    For information about creating an option group, see Creating an option group.

  2. Add the EFS_INTEGRATION option to the option group.

    For example, the following Amazon CLI command adds the EFS_INTEGRATION option to an option group named myoptiongroup.

    Example

    For Linux, macOS, or Unix:

    aws rds add-option-to-option-group \ --option-group-name myoptiongroup \ --options "OptionName=EFS_INTEGRATION,OptionSettings=\ [{Name=EFS_ID,Value=fs-1234567890abcdef0},{Name=USE_IAM_ROLE,Value=TRUE}]"

    For Windows:

    aws rds add-option-to-option-group ^ --option-group-name myoptiongroup ^ --options "OptionName=EFS_INTEGRATION,OptionSettings=^ [{Name=EFS_ID,Value=fs-1234567890abcdef0},{Name=USE_IAM_ROLE,Value=TRUE}]"
  3. Associate the option group with your DB instance in either of the following ways: