EMR supports two script execution methods:
Script execution based on bootstrap actions: automatically executes a specific script on new nodes when a cluster is scaled out or auto scaling is triggered.
Manual script execution: allows you to immediately execute a specific script on multiple nodes in a cluster at the same time.