code: def _upload_data_and_mount_fs(
      connected_instance, file_system_efs_id, file_system_fsx_id, region
  ):
      connected_instance.put(FS_MOUNT_SCRIPT, ".")
      connected_instance.run(
          "mkdir temp_tf; mkdir temp_one_p", in_stream=False
      )
      for dir_name, subdir_list, file_list in os.walk(MNIST_LOCAL_DATA):
          for fname in file_list:
              local_file = os.path.join(MNIST_LOCAL_DATA, fname)
              connected_instance.put(local_file, "temp_tf/")
      connected_instance.put(ONE_P_LOCAL_DATA, "temp_one_p/")
      connected_instance.run(
          "sudo sh fs_mount_setup.sh {} {} {} {} {}".format(
              file_system_efs_id,
              file_system_fsx_id,
              region,
              EFS_MOUNT_DIRECTORY,
              FSX_MOUNT_DIRECTORY,
          ),
          in_stream=False,
      )
  
imports: from __future__ import absolute_import
  from operator import itemgetter
  import os
  from os import path
  import stat
  import tempfile
  import uuid
  from botocore.exceptions import ClientError
  from fabric import Connection
  from tests.integ.retry import retries
  from tests.integ.vpc_test_utils import check_or_create_vpc_resources_efs_fsx
label_desc: Use image node_id 4 for calling a global function with example usage: _upload_data_and_mount_fs(connected_instance, file_system_efs_id, file_system_fsx_id, region) without return types