2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Elastic Beanstalk で Amazon Linux AMI とAmazon Linux 2 の違い

Last updated at Posted at 2020-06-10

フック

Amazon Linux AMI

カスタムプラットフォームフック - AWS Elastic Beanstalk

/opt/elasticbeanstalk/hooks/ 

Amazon Linux 2

Elastic Beanstalk Linux プラットフォームの拡張 - AWS Elastic Beanstalk

ソースバンドルの .platform/hooks/

無視するファイル

Amazon Linux AMI

.gitattributes を使う。

.gitattributes
.gitattributes export-ignore
.gitignore export-ignore

Amazon Linux 2

.ebignore を使う。 EB CLI の設定 - AWS Elastic Beanstalk

.ebignore
.gitattributes
.gitignore

環境変数

Amazon Linux AMI

/opt/elasticbeanstalk/support/envvars

Amazon Linux 2

/opt/elasticbeanstalk/deployment/env

export $(sudo cat /opt/elasticbeanstalk/deployment/env) 
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?