title: AWS Container Healthcheck
body: <p>I have an AWS service running loads of containers. I was wondering if its possible to make a python script that checks for the container health.</p>
  
  <p>I know i can run commands for healthcheck so in theory i could run a python script that exits <code>sys.exit(0)</code> or 1 depending on the healthcheck, does that makes sense?</p>
  
  <p>Would it be possible to make a python script for a healthcheck? Would I need just to call the script on the healthcheck task?</p>
  
  <p>Thanks for any info!</p>