起動時に Linux インスタンスでコマンドを実行する - Amazon Elastic Compute Cloud

起動時に Amazon Linux インスタンスにユーザーデータを渡します。