code: def _get_image_id(self):
      price_path = os.path.join(
          os.path.dirname(__file__), "aws/aws_amis.yaml"
      )
      with open(price_path) as f:
          ami_dict = yaml.load(f.read(), Loader=yaml.FullLoader)
  
      region = self.client._client_config.region_name
      image_type = "ubuntu16.04"
      return ami_dict[image_type][region]
  
imports: import uuid
  import os
  import base64
  import json
  import yaml
  import six
  import filelock
  import hashlib
  import pickle
  from studio import git_util
  from studio.util import logs
  from studio.storage import storage_util
  from studio.util.gpu_util import memstr2int
  from .cloud_worker_util import insert_user_startup_script
label_desc: Use image node_id 2 for calling the EC2WorkerManager obj's underlying member method code with example usage: obj._get_image_id() and returns: ami_dict