LoginSignup
0
0

More than 3 years have passed since last update.

AWSにおけるAuto Scalingでの起動設定で「UserData does not appear to be base64 encoded」というエラーの対策

Last updated at Posted at 2019-07-29

状況

起動設定の作成の際、
「高度な詳細」を開くと、「ユーザデータ」というシェルスクリプトを記述できるところがある。

そこに、任意のものを書いて最後まで行って起動設定の作成をしようとしたら、
「UserData does not appear to be base64 encoded」
とかいうエラーが出た。

なんとなくエラーの原因は察したがとりあえずググった。

ググっても英語の記事しか出てこなったので、自分でなんとか頑張りました。

僕の解決策

エディタでの変換でもいいですが、
オンラインのBase64エンコーダがあったので、
それを使った。
http://www.convertstring.com/ja/EncodeDecode/Base64Encode

上記のサービス使って変換して、変換されたものをaws上でコピペして、
「入力はすでにbase64でエンコード済み」にチェックを入れる。

これで、最後まで進んだら、うまく行った。

感想

aws関連の日本人の記事が少ない

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