If you use urxvt to connect to your EC2 instance through Elastic Beanstalk, running

eb ssh

will give you a shell where autocomplete does not work.

Fix that by running

TERM='xterm-256color' eb ssh