Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Green Grid and Cloud

Green Grid and Cloud

5059d3f370ad7e1f4d8de4be79ae1a2c?s=128

rvirus0817

July 16, 2011
Tweet

Transcript

  1. Green Grid and Cloud ૯߹θϛφʔϧൃදձ 2011-07-16 1

  2. ϝϯόʔ঺հ • 1B10090175 ҆ୡɹྋ • 1B10090231 ౉ลɹকଠ • 1B10090475 ࠃౡɹ߁ଠ

    2
  3. Ϋϥ΢υͱ͸ • ΠϯλʔωοτΛϕʔεͱͨ͠ίϯϐϡʔ λͷར༻ܗଶͰ͋Δ • Ϣʔβ͸ίϯϐϡʔλॲཧΛωοτϫʔ Ϋܦ༝ͰαʔϏεͱͯ͠ར༻͢Δ Ҿ༻ݩɹhttp://www.atmarkit.co.jp/fnetwork/rensai/5mincloud/01.html 3

  4. Ϋϥ΢υͷ֊૚ • IaaS(Infrastructure as a Service) OS,VMM,Hardware • PaaS(Platform as

    a Service) Middleware(apache, MySQL, PHP, Java) • SaaS(Software as a Service) App(Gmail, Google Doc) 4
  5. ϓϥΠϕʔτΫϥ΢υͷ࢖͍ํ(1/3) • Elasticfox ɹGUIͰΫϥ΢υ؀ڥͷઃఆ͕Ͱ͖Δ ɹRSA҉߸ํࣜͱ͍͏ެ։伴҉߸ͷͻͱͭ ɹAmazon EC2ͱޓ׵ੑͷ͋ΔEucalyptusΛ࢖༻ ʢAmazonࣾͷ֤छΫϥ΢υͷAPIͱޓ׵ੑΛ࣋ͬͯ ͍Δʣ 5

  6. Elasticfoxͷૢ࡞ը໘ 6

  7. ϓϥΠϕʔτΫϥ΢υͷ࢖͍ํ(2/3) • Eucalyptusͱ͸Ϋϥ΢υج൫Λߏங͢ΔͨΊ ͷOSS • Amazonͱಉ౳ͷΫϥ΢υ؀ڥ͕ߏஙͰ͖Δ • Amazon EC2্ͷαʔϏεΛEucalyptusͰߏ ஙͨ͠ϓϥΠϕʔτΫϥ΢υʹҠ͢͜ͱ͕

    Ͱ͖ɺٯ΋Ͱ͖Δ 7
  8. ϓϥΠϕʔτΫϥ΢υͷ࢖͍ํ(3/3) • sshೝূ ɹPuttyΛ༻͍ͯϩάΠϯ͢Δ 8

  9. sshͷ઀ଓखॱ ssh Gateway server Node server ssh ΫϥΠΞϯ τ 9

  10. JavaαʔϒϨοτ • JavaͷΠϯετʔϧ ɹ $ yum install java gcc-java •

    TomcatͷΠϯετʔϧ ɹ$ yum install tomcat5 ɹςετϑΝΠϧΛ࡞੒ͯ͠ಈ࡞֬ೝ • JDBCυϥΠόͷΠϯετʔϧ ɹ$ yum install postgresql-jdbc 10
  11. ࣗ࡞WebΞϓϦͷΠϯετʔϧ • ϓϥΫςΟεᶛʢ৘ใՊֶܥʣͰ࡞੒ͨ͠ ItemSearchSampleΛ༻͍ͨ • TomcatͷԼʹઃஔ • ItemSearchSample͸JavaͰهड़͞Εͨ঎඼ ݕࡧͷwebΞϓϦ 11

  12. Ϋϥ΢υͷ՝୊ • OSͷ্ʹԾ૝Ϛγϯɺ͞Βʹͦͷ্ʹWeb αʔόʔɺͦͯͦ͠ͷ্ͰWebΞϓϦΛಈ ͔͢ܗࣜͰ͸ແବ͕ଟ͍ • ͜ͷແବΛແ͘͢ʹ͸Ͳ͏͢Ε͹͍͍͔ʁ 12

  13. ܰྔΫϥ΢υͷఏҊ • ແବΛখͯܰ͘͞͠ྔͳΫϥ΢υ΁ • ͍ܰΫϥ΢υΛ࢖͏͜ͱͰεέʔϧΛେ͖͍͚ͯ͘͠Δ • ύϑΥʔϚϯεͷ޲্͕ظ଴Ͱ͖Δ • ܰྔΫϥ΢υʹ͢Δ͜ͱͰPaaSʹ͓͍ͯ͸ैདྷͷ10ഒɺ 100ഒͷΫϥΠΞϯτ͕઀ଓͰ͖Δ͜ͱ͕ظ଴Ͱ͖Δ

    13
  14. ࠓޙͷల๬ • JavaΛ༻͍ͯܰྔΫϥ΢υΛ࡞͍ͬͯ ͘ • OS΍VMM()ͷ෦෼Λແ͍ͯ͘͘͠ • σʔλϕʔε͸key-valueܕΛ͔ͭ͏ 14