LoginSignup
1
0

More than 5 years have passed since last update.

Windows Server で動的コンテンツを EC2 + RDS で作ってみるの巻

Posted at

目的

検証用のアプリケーションを作成する

目標

Web 動的コンテンツから、RDS Mysql へデータ書き込みを行う

環境

EC2 t2.miclo WindowsServer2016
Eclipse 4.7 Oxygen の Windows 64bit Full Edition Java
Tomcat 8

その他、下のサイト参照
https://qiita.com/hatakkkk/items/cb8dd22041d75952c8d7

Eclipse 動かすのに t2.miclo は小さいかも。。。

JDBC の導入

お勉強用に下のサイトを参考にした
http://web.sfc.wide.ad.jp/~tinaba/tutorials/mysql-j/
https://qiita.com/ononoy/items/4961ce6d5b12aff6c108
https://www.qoosky.io/techs/d2beb9dc80

Mysql の JDBCドライバについて、Aamazon から情報が提供されているようなので、下のサイトを確認する。
https://docs.aws.amazon.com/ja_jp/elasticbeanstalk/latest/dg/java-rds.html

Mysql のJDBC ドライバをインストールする

下のサイトから、"mysql-connector-java-5.1.45.zip" をダウンロードする
https://dev.mysql.com/downloads/file/?id=474258

「あれ?ダウンロードが始まらないな?」というときは、
Web サイトの中央下付近にある文章"No thanks, just start my download." をクリック

今日はここまで。

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