Help us understand the problem. What is going on with this article?

ElasticBeanstalk の eb コマンド ver3 を試す

More than 5 years have passed since last update.

インストール

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-getting-set-up.html#eb_cli3-install-with-pip

$ sudo pip install awsebcli

$ eb --version
EB CLI 3.2.2 (Python 2.7.6)

アプリケーションの作成

$ cd /path/to/project/

$ eb init <アプリ名> --platform PHP

環境(Environment)の作成

$ eb create <環境名> \
    --cname     <CNAME> \
    --platform  PHP \
    --tier      webserver \
    --vpc.securitygroups <securitygroup> \
    --instance_profile   <IAMロール> \
    --keyname            <SSHキーの名前> \
    --instance_type      t2.micro \

ドキュメント

http://docs.aws.amazon.com/ja_jp/elasticbeanstalk/latest/dg/eb-cli3.html

mercari
フリマアプリ「メルカリ」を、グローバルで開発しています。
https://tech.mercari.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away