我的设置如下:
- Mac OS X 10.10
- Python 2.7
我按照以下步骤进行了操作:
AWS EB Console Tools added to my path
export PATH=$PATH:~/amazon-eb/eb/linux/python2.7/ export AWS_ACCESS_KEY_ID=xxx export AWS_SECRET_KEY=xxx export AWS_CREDENTIALS_PATH=~/.aws/credentials
AWS Credentials in
~/.aws/credentials
[default] AWSAccessKeyId=xxx AWSSecretKey=xxx
Created a project with
.elasticbeanstalk/config
file[global] ApplicationName=Oselot Wordpress Blog DevToolsEndpoint=git.elasticbeanstalk.us-east-1.amazonaws.com EnvironmentName=oselotWordpressBlog-env Region=us-east-1
When I try to run
eb status
it asks me for my credentials (not sure why....). So I enter them. Seems like it worksAnatoliys-MBP:oselot-blog toli$ eb status To get your AWS Access Key ID and Secret Access Key, visit "https://aws-portal.amazon.com/gp/aws/securityCredentials". Enter your AWS Access Key ID: xxx Enter your AWS Secret Access Key: xxx URL : xxx.elasticbeanstalk.com Status : Ready Health : Green RDS Database: AWSEBRDSDatabase | xxx.xxx.us-east-1.rds.amazonaws.com:3306
I run
git aws.push
and I get error:git: 'aws.push' is not a git command. See 'git --help'.