{"id":22681,"date":"2016-09-30T00:36:57","date_gmt":"2016-09-29T15:36:57","guid":{"rendered":"http:\/\/twitter-781518131319549953-post"},"modified":"2017-08-24T01:44:04","modified_gmt":"2017-08-23T16:44:04","slug":"aws-eb-spring-boot-flat-ui","status":"publish","type":"post","link":"https:\/\/arison.jp\/blog\/2016\/09\/30\/aws-eb-spring-boot-flat-ui\/","title":{"rendered":"AWS EB+Spring boot+flat UI"},"content":{"rendered":"<p>\u6700\u8fd1\u3001\u30a2\u30d7\u30ea\u958b\u767a\u304b\u3089\u9060\u3056\u304b\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u4eca\u6708\u3057\u3063\u304b\u308a\u3068\u958b\u767a\u3057\u307e\u3057\u305f\u3002<br \/>\nAWS EB +Spring boot+\u30d5\u30e9\u30c3\u30c8UI \u3002<br \/>\nJava8\u306bHTML5\u3068CSS3\u306bJquery \u3068\u304bd3.js\u3068\u304b\u3002\u3082\u3046\u3001\u304a\u3058\u3055\u3093\u306b\u306f\u9650\u754c(\u7b11)\u3002<br \/>\n\u697d\u3057\u30441\u30f6\u6708\u3060\u3063\u305f\u3002<br \/>\n<!--more--><\/p>\n<hr \/>\n<h4>AWS EB<\/h4>\n<p>AWS EB\u306fAWS Elastic Beanstalk\u306e\u3053\u3068\u3002AWS\u306f\u30a2\u30de\u30be\u30f3 \u30a6\u30a7\u30d6 \u30b5\u30fc\u30d3\u30b9\u306e\u3053\u3068\u3002<br \/>\nElastic \u306f\u3001\u67d4\u8edf\u306a\u3068\u304b\u3001\u4f38\u7e2e\u81ea\u5728\u306a\u3000\u306a\u610f\u5473\u3089\u3057\u3044\u3002<br \/>\nBeanstalk\u3000\u306f\u8c46\u306e\u6728\u3002\u30b8\u30e3\u30c3\u30af\u3068\u8c46\u306e\u6728\u306f\u300cJack and the Beanstalk\u300d<\/p>\n<p>\u4eca\u56de\u3001AWS\u81ea\u4f53\u306f\u3058\u3081\u3066\u4f7f\u3063\u305f\u3051\u3069\u3001\u30a4\u30f3\u30d5\u30e9\u9762\u3092\u3042\u307e\u308a\u6c17\u306b\u305b\u305a\u3001\u30a2\u30d7\u30ea\u958b\u767a\u306b\u6ce8\u529b\u3067\u304d\u308b\u306e\u306f\u3042\u308a\u304c\u305f\u3044\u3002<br \/>\nAWS\u5229\u7528\u3059\u308b\u3068\u3001\u3042\u3063\u3068\u3044\u3046\u9593\u306b\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u3001\u5916\u90e8\u516c\u958b\u304c\u3067\u304d\u3066\u3001\u7121\u6599\u67a0\u4f7f\u3048\u308b\u3057\u3001\u683c\u5b89\u3060\u3063\u305f\u3002<\/p>\n<p>Elastic Beanstalk\u306fJava\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3057\u305f\u3093\u3060\u3051\u3069\u3001<br \/>\nSpringBoot\u306e\u5834\u5408\u3001\u304d\u3061\u3093\u3068\u30a2\u30d7\u30ea\u3067\u8d77\u52d5\u3059\u308b\u304b\u5fc3\u914d\u3060\u3063\u305f\u3051\u3069\u554f\u984c\u306a\u304f\u30a2\u30d7\u30ea\u516c\u958b\u3067\u304d\u305f\u3002<\/p>\n<p>\u306f\u307e\u3063\u305f\u3068\u3053\u308d\u306f\u3001\u4f55\u7b87\u6240\u3082\u3042\u3063\u305f\u3051\u3069\u30fb\u30fb\u30fb<\/p>\n<p>\u30fbEC2\u306e\u6642\u523b\u8a2d\u5b9a\u3068\u8a00\u8a9e\u8a2d\u5b9a\u3002<br \/>\n\u3000\u3053\u308c\u306f\u30b0\u30b0\u30ec\u30d0\u3059\u3050\u306b\u89e3\u6c7a\u3002<br \/>\n\u30fbRDS(mySQL)\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u5468\u308a\u3002RDS\u69cb\u7bc9\u3057\u305f\u5f8c\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u30bb\u30c3\u30c8\u3092\u3057\u3066\u518d\u8d77\u52d5\u3057\u306a\u3044\u3068\u3002<br \/>\n\u3000\u3053\u308c\u306f\u30b0\u30b0\u30ec\u30d0\u3059\u3050\u306b\u89e3\u6c7a\u3002<br \/>\n\u30fbnginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u306e\u30dd\u30fc\u30c8\u304c5000\u3060\u3063\u305f\u3053\u3068\u3002\u3053\u3053\u304c\u4e00\u756a\u3001\u306f\u307e\u3063\u3066\u305f\u304b\u3082\u3002<br \/>\n\u3000Spring boot\u306e\u5834\u5408\u306fport=5000\u3067\u3044\u3051\u305f\u3002<\/p>\n<p>\u30fbRDS\u63a5\u7d9a\u7528\u306e\u74b0\u5883\u5909\u6570\u306e\u53d6\u5f97<br \/>\n  RDS_HOSTNAME\u306e\u74b0\u5883\u5909\u6570\u304c\u53d6\u308c\u306a\u3044\u3063\u3066\u601d\u3063\u3066\u305f\u3089\u3001<br \/>\n\u3000System.getProperty System.getenv\u306e2\u30d1\u30bf\u30fc\u30f3\u3067\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u304c\u3042\u3063\u305f\u3002<br \/>\n\u3000Java SE \u74b0\u5883\u3067\u306f\u3001System.getenv()<br \/>\n\u3000Tomcat \u74b0\u5883\u3067\u306f\u3001\u74b0\u5883\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001System.getProperty() <\/p>\n<p>\u6c17\u306b\u3057\u3066\u3044\u305f\u306e\u306f\u8ab2\u91d1\u5468\u308a\u3002<br \/>\n\u30001\u30f6\u6708\u5229\u7528\u3057\u305f\u3051\u3069\u3001\u307b\u3068\u3093\u3069\u7121\u6599\u67a0\u3067\u5229\u7528\u3067\u304d\u305f\u3002\u6027\u80fd\u9762\u306f\u5fae\u5999\u3060\u3063\u305f\u3051\u3069\u4ed5\u65b9\u306a\u3044\u3002<\/p>\n<hr \/>\n<h4>Spring boot<\/h4>\n<p>\u3082\u3046\u3001\u30ca\u30cb\u3053\u306e\u9ed2\u9b54\u8853\u3002\u7c21\u5358\u306bWeb\u30b5\u30fc\u30d3\u30b9\u4f5c\u308c\u308b\u3057\u3002<br \/>\n\u30b0\u30b0\u308c\u3070\u306a\u3093\u3067\u3082\u51fa\u6765\u305d\u3046\u306a\u6c17\u304c\u3059\u308b\u3002<br \/>\n\u300c\u8eca\u304c\u52d5\u3044\u3066\u3044\u308b\u539f\u7406\u77e5\u3089\u306a\u3044\u3051\u3069\u8eca\u306f\u901f\u3044\u3002\u5230\u7740\u5730\u306b\u3042\u3063\u3068\u3044\u3046\u9593\u306b\u7740\u3044\u305f\u3002\u3084\u3063\u305f\uff01\u300d<br \/>\n\u3063\u3066\u611f\u3058\u3002<\/p>\n<p>\u307b\u3068\u3093\u3069\u8a2d\u5b9a\u4e0d\u8981\u306a\u3093\u3060\u3002<br \/>\nTomcat\u3044\u3089\u306a\u3044\u3093\u3060\u3002\u7c21\u5358\u306bREST\u4f5c\u308c\u308b\u3057\u3002<br \/>\nSQL\u306e\u8a18\u8ff0\u3044\u3089\u306a\u3044\u3093\u3060\u3002\u30e1\u30bd\u30c3\u30c9\u540d\u3060\u3051\u3067\u52dd\u624b\u306b\u30c7\u30fc\u30bf\u3068\u3063\u3066\u304d\u3066\u304f\u308c\u308b\u3093\u3060\u3002<br \/>\nhtml\u3067\u4f5c\u3063\u305f\u7d19\u829d\u5c45\u305d\u306e\u307e\u307e\u5229\u7528\u3067\u304d\u308b\u3093\u3060\u3002thymeleaf\uff08\u30bf\u30a4\u30e0\u30ea\u30fc\u30d5\uff09\u3059\u3054\u3044\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u51e6\u7406\u306f<s>Spring Boot\u30cf\u30f3\u30ba\u30aa\u30f3\u306e\u30d1\u30af\u30ea<\/s>\u3067\u3042\u3063\u3068\u3044\u3046\u9593\u3060\u3002<br \/>\nSpring Boot\u30cf\u30f3\u30ba\u30aa\u30f3 \u2014 Spring Boot\u30cf\u30f3\u30ba\u30aa\u30f3 1.0.0-SNAPSHOT documentation<br \/>\nhttp:\/\/jsug-spring-boot-handson.readthedocs.io\/en\/latest\/<\/p>\n<p>\u3068\u304b\u3001Spring boot\u95a2\u4fc2\u306a\u3044\u3051\u3069\u3001Lombok\uff08\u30ed\u30f3\u30dc\u30c3\u30af\uff09\u3067Getter, Setter \u306e\u81ea\u52d5\u751f\u6210\u3067\u697d\u30c1\u30f3\u3002<br \/>\n\u3044\u3064\u306e\u307e\u306b\u304bJava 8\u306b\u306a\u3063\u3066\u3044\u308d\u3093\u306a\u8a18\u8ff0\u3067\u304d\u308b\u3002<br \/>\n\u81ea\u5206\u306e\u4e2d\u306eJava\u306f\u62e1\u5f35For\u6587\u5f53\u305f\u308a\u3067\u3068\u307e\u3063\u3066\u307e\u3057\u305f\u3002<br \/>\ntry\u7bc0\u3067\u30ea\u30bd\u30fc\u30b9\u7cfb\u30af\u30e9\u30b9\u306eclose\u304c\u4e0d\u8981\u306b\u306a\u308btry-with-resources\u306f\u3081\u3093\u3069\u3044\u8a18\u8ff0\u304c\u4e0d\u8981\u306b\u306a\u3063\u3066\u4fbf\u5229\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u3082\u3046\u30fb\u30fb\u30fb\u50d5\u306e\u77e5\u3063\u3066\u305fJava\u304c\u77e5\u3089\u306a\u3044Java\u306b\u3002\uff08\u3082\u3068\u3082\u3068\u77e5\u3063\u3066\u306a\u304b\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3002\uff09<\/p>\n<hr \/>\n<h4>\u30d5\u30e9\u30c3\u30c8UI \uff08Flat UI\uff09<\/h4>\n<p>Twitter Bootstrap\u3092\u30d9\u30fc\u30b9\u3068\u3057\u305f\u30d5\u30e9\u30c3\u30c8\u306a\u30c7\u30b6\u30a4\u30f3\u306eUI\u30ad\u30c3\u30c8\u30fbFlat UI\u3092\u5229\u7528\u3057\u3066\u307f\u305f\u3002<br \/>\n<a href=\"http:\/\/designmodo.github.io\/Flat-UI\/\" target=\"_blank\">http:\/\/designmodo.github.io\/Flat-UI\/<\/a><\/p>\n<p>\u306a\u3093\u304b\u30d5\u30e9\u30c3\u30c8UI \u306a\u753b\u9762\u3092\u4f5c\u308d\u3046\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u307f\u305f\u3002<br \/>\n\u4f55\u6c17\u306b\u7d75\u306e\u304b\u3051\u306a\u3044\u81ea\u5206\u306f\u3001\u30b0\u30ea\u30d5\u30a2\u30a4\u30b3\u30f3\u304c\u3042\u308b\u306e\u304c\u3046\u308c\u3057\u3044\u3002<\/p>\n<hr \/>\n<p>d3.js<\/p>\n<p>\u4eca\u56de\u3001\u3061\u3087\u3063\u3068\u5909\u308f\u3063\u305fUI\u30c7\u30b6\u30a4\u30f3\u3092\u63a1\u7528\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u5229\u7528\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>Force-Directed Graph &#8211; bl.ocks.org<br \/>\n<a href=\"http:\/\/bl.ocks.org\/mbostock\/4062045\" target=\"_blank\">http:\/\/bl.ocks.org\/mbostock\/4062045<\/a><\/p>\n<p>\u306a\u3093\u304b\u3001\u3053\u308c\u4f7f\u3063\u305f\u3089\u904e\u3054\u305d\u3046\u306a\u753b\u9762\u3067\u304d\u305d\u3046\u3068\u601d\u3063\u3066\u3084\u3063\u3066\u307f\u305f\u3002<\/p>\n<p>D3.js &#8211; Data-Driven Documents<br \/>\n<a href=\"https:\/\/d3js.org\/\" target=\"_blank\">https:\/\/d3js.org\/<\/a><\/p>\n<hr \/>\n<p>\u4eca\u56de\u306f\u3044\u308d\u3044\u308d\u3068\u5b66\u3079\u308b\u6a5f\u4f1a\u304c\u3042\u308a\u3001\u4e45\u3057\u3076\u308a\u306e\u30a2\u30d7\u30ea\u958b\u767a\u3092\u697d\u3057\u3093\u3067\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u305f\u3002<br \/>\n\u7279\u306bAWS\u3092\u696d\u52d9\u3067\u4f7f\u7528\u3059\u308b\u7d4c\u9a13\u306f\u3042\u308a\u304c\u305f\u304b\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u3001\u30a2\u30d7\u30ea\u958b\u767a\u304b\u3089\u9060\u3056\u304b\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u4eca\u6708\u3057\u3063\u304b\u308a\u3068\u958b\u767a\u3057\u307e\u3057\u305f\u3002 AWS EB +Spring boot+\u30d5\u30e9\u30c3\u30c8UI \u3002 Java8\u306bHTML5\u3068CSS3\u306bJquery \u3068\u304bd3.js\u3068\u304b\u3002\u3082\u3046\u3001\u304a\u3058\u3055\u3093\u306b\u306f\u9650\u754c( [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"status","meta":{"footnotes":""},"categories":[6,4],"tags":[780,144,703,63],"class_list":["post-22681","post","type-post","status-publish","format-status","has-post-thumbnail","hentry","category-programming","category-diary","tag-aws","tag-css","tag-java","tag-web","post_format-post-format-status"],"_links":{"self":[{"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/posts\/22681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/comments?post=22681"}],"version-history":[{"count":0,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/posts\/22681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/media\/25005"}],"wp:attachment":[{"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/media?parent=22681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/categories?post=22681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arison.jp\/blog\/wp-json\/wp\/v2\/tags?post=22681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}