0
1

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 1 year has passed since last update.

AMIから新規インスタンスを起動したらミドルウェアが勝手に更新されてた話

Posted at

docker v18がインストール済みのEC2インスタンスについて、v20にアップデートしようと思い、検証のためにAMIを作成後インスタンスを作成した
起動後すぐはv18のままだったが、5分くらいするとv20になるという事象が発生

なぜかと思い色々と調べたら、どうやらデフォルトでは初回起動時にyum update --securityが実行されるようだった
しっかりドキュメントにも記載がありました
https://aws.amazon.com/jp/amazon-linux-ami/faqs/

/etc/cloud/cloud.cfgを編集
repo_upgrade: security
↓
repo_upgrade: none

ちなみに、「repo_upgrade: all」という設定もある

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?