we do lot of automation using bf using python action script or bf fixlet. Pushing upgrades etc or start/stoping the process. Updating the pem can be doable too. you just put the pem file in the shell script self installer and send it out to target host and run the shell script.