Install Python 2.7
sudo apt-get install python2.7
Install pip
cd
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
#To varify pip installed successfully
pip --version
Install aws-cli using pip
sudo pip install awsebcli
Update awscli if already installed
sudo pip install --upgrade awsebcli
To varify eb
cli installed successfully run the following command
eb --help
Initialize a Elastic Beanstalk Enviorment*
Go to your Project directory that you want to deploy using Elastic Beanstalk and run the following command. Answer the questions and press Enter
eb init -i -r [your-region]