LoginSignup
0
2

More than 5 years have passed since last update.

Spring Bootで作ったJarをAWSのElastic BeanstalkですぐにWebにアップする

Last updated at Posted at 2018-01-12

ゴール

この記事ではSpring BootでコンパイルしてJarを
AWSのElastic Beanstalkで動かす方法を記載

あらかじめ実施しておくこと

AWSのアカウントを取得していること
Spring BootでコンパイルしたJarがあること

手順

1.AWSでElastic Beanstalkを選択
2.新しい環境の作成を選択
3.ウェブサーバー環境を選択
4.プラットフォームにJavaを選択
5.コードのアップロードで予め用意したJarファイルを選択
6.さらにオプションを選択から【ソフトウェア】の更新を選択(※)
7.環境プロパティに「SERVER_PORT」、「5000」を追加
8.環境を作成→作成するまで結構時間がかかる。

(※)6,7の手順は環境作成後でも設定可能

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