code: def __init__(
      self,
      probability: float = 0.1,
      time_between_checks_s: float = 60,
      warmup_time_s: float = 0,
  ) -> None:
      self.probability = probability
  
      self.time_between_checks_s = time_between_checks_s
      self.warmup_time_s = warmup_time_s
      self.last_fail_check = None
      self.history = []
      logging.basicConfig(level=logging.INFO)
      self.start_killing()
  
file_path: ray/release/tune_tests/fault_tolerance_tests/workloads/terminate_node_aws.py
imports: import subprocess
  import random
  import requests
  import time
  import logging
  import ray
  from ray.util.scheduling_strategies import NodeAffinitySchedulingStrategy
  from ray._private.test_utils import safe_write_to_results_json
label_desc: Use image node_id 1 to create a new InstanceKillerActor object  with example: obj = InstanceKillerActor(probability, time_between_checks_s, warmup_time_s)