-
Create folder named as
.elasticbeanstalk
and create files namedconfig
andaws_credentials
in the same folder.- config
[global] ApplicationName=<YourApplicationNameFromAWSConsole> AwsCredentialFile=.elasticbeanstalk/aws_credentials DevToolsEndpoint=git.elasticbeanstalk.<your-region-code>.amazonaws.com EnvironmentName=<EnvironmentNameFromAWSConsole> Region=<your-region-code>
- aws_credentials
[global] AWSAccessKeyId=AKIAxxxxxxxxxxxxxxxxxxxxx AWSSecretKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
Download the AWS command line tools and follow the instructions from README files.
-
Use
git init
if you have not init files and thengit commit
your changes. -
Use
git aws.push
to push files on your elasticbeanstalk environment.
note if you get any pip
than you may try to add it using following commands.
sudo apt-get install python-pip
sudo pip install boto