Skip to content

Instantly share code, notes, and snippets.

@nurrony
Last active August 29, 2015 14:19
Show Gist options
  • Save nurrony/7541188972ade0cc668e to your computer and use it in GitHub Desktop.
Save nurrony/7541188972ade0cc668e to your computer and use it in GitHub Desktop.
AWS EB CLI installation

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment