Setup to AWS Elastic Beanstalk
betahikaru edited this page May 23, 2014
·
1 revision
Command
brew install aws-elasticbeanstalk
eb -h
cd $repo_dir
git checkout -b topicbranch
eb init
# IAM (EC2 admin, IAM admin, Elastic Beanstalk admin) KEY and Secret
# Tokyo, ruby(passenger),no-db,,,
# See http://qiita.com/soramugi/items/1258127d159703fe731d
# .gitignore is modified
git add .
git commit -m "eb init"
eb branch
Command
eb start
# Wait a few minutes...
Command
git aws.push
Command
eb status
Command
eb stop
Browser
-
サイドバーの「Configration」をクリック
-
「Software Configuration」の横のアイコンをクリック
-
「Environment Properties」の表の「Property Name」にキー、「Property Value」に値を入れて「+」をクリックで追加できる。
-
AWS_REGION => # Tokyo is ap-northeast-1.
-
AWS_ACCESS_KEY_ID =>
-
AWS_SECRET_ACCESS_KEY =>
-
「Save」をクリック
-
しばらく待つと、反映される
- /// TODO ///