The rpm files can be created on amazon linux. The debian files should better be created on a debian based system, like ubuntu.
Amazon linux
make rpm
sudo apt-get update
sudo apt-get install devscripts build-essential lintian
sudo apt-get install dh-virtualenv
apt-get install debhelper -t xenial-backports
sudo locale-gen de_DE.UTF-8
update-locale LANG=de_DE.UTF-8
make deb