create-ec2-factory-credentials: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/create-ec2-factory-credentials - from package: imagefactory-plugins-EC2

You may install the required package with command yum install {package}
Error in other languages:
create-ec2-factory-credentials: bevel nie gevind nie
create-ec2-factory-credentials: comandă negăsită
create-ec2-factory-credentials: comando não encontrado
create-ec2-factory-credentials: commande introuvable
create-ec2-factory-credentials: command not found
create-ec2-factory-credentials: käsku ei ole
create-ec2-factory-credentials: không tìm thấy lệnh
create-ec2-factory-credentials: komanda nerasta
create-ec2-factory-credentials: Kommando nicht gefunden.
create-ec2-factory-credentials: kommandot finns inte
create-ec2-factory-credentials: komut yok
create-ec2-factory-credentials: nie znaleziono polecenia
create-ec2-factory-credentials: níor aimsíodh an t-ordú
create-ec2-factory-credentials: no se encontró la orden
create-ec2-factory-credentials: no s'ha trobat l'ordre
create-ec2-factory-credentials: opdracht niet gevonden
create-ec2-factory-credentials: parancs nem található
create-ec2-factory-credentials: perintah tidak ditemukan
create-ec2-factory-credentials: príkaz nenájdený
create-ec2-factory-credentials: příkaz nenalezen
create-ec2-factory-credentials: команда не найдена
create-ec2-factory-credentials: командата не е открита
create-ec2-factory-credentials: 命令找不到
create-ec2-factory-credentials: コマンドが見つかりません