Optimization prompt examples
You can use the following prompt examples with the optimization agent. Replace the placeholders with your own values.
Optimize a run for runtime
EMR Serverless:
How can I make my EMR Serverless job runjob-run-idin applicationapplication-idfaster?
AWS Glue:
Optimize my Glue jobjob-namerunjob-run-idfor runtime performance and speed
Optimize a run for cost
EMR Serverless:
Optimize my EMR Serverless job runjob-run-idin applicationapplication-idfor cost. How can I make it cheaper?
AWS Glue:
How can I reduce the cost of my Glue jobjob-namerunjob-run-id?
Compare a run against a baseline
EMR Serverless:
My EMR Serverless job runjob-run-idin applicationapplication-idgot slower than runbaseline-job-run-id. Tell me why and how to fix it.
AWS Glue:
Compare Glue job runjob-run-idagainst baseline runbaseline-job-run-idof jobjob-nameand tell me what regressed