[Graduate Project] Drupal Upgrade & Docker Deploy

Cf6d8219ae9edc7620396d0f8ae7bc38?s=47 Yun Chen
November 15, 2015

[Graduate Project] Drupal Upgrade & Docker Deploy

Weco SLS - Drupal Framework(Apache,php,mysql)
Cloud Deploy - Meteor Framework(Node.js,Mongodb)、Docker、Nginx

Cf6d8219ae9edc7620396d0f8ae7bc38?s=128

Yun Chen

November 15, 2015
Tweet

Transcript

  1. Cloud 疌䋊聜ଘݣ 襇ᒒ蟂ᗟ๐率 賴程偉 陳允禎 鄭仁舜 楊容智

  2. Outline 牨㵕秚 牨疌䋊聜๐率 牨襇ᒒ蟂ᗟ๐率 牨碻纷膏獤ૡ 牨๚㬵疻磭 牨絑ह膏܋羷ದ蔩 牨礍䯤膏樄咳窕纷 2

  3. 㵕秚 牨疌䋊聜Բ牏مଙ๚蝱ᤈ໐ஞ܋羷 牨虻რ磪褖牧૶磭胼磪绐ਧ螀ᤈ絑ह 牨盅媲姘虁牏秚瑊旉ᑏ槹移ṛ 3

  4. 疌䋊聜๐率 Drupal๐率ᓕቘૡٍ Drush https://github.com/drush-ops/drush Drupal ൉׀Command-line秇ୗ盠蝧蝱ᤈ 牨翕ᒊ戔ਧ 牨秇奲砺֢ 牨ֵአᘏᓕቘ 牨ๅ碝牏܋羷膏姘虁

    + Shell 4
  5. 疌䋊聜๐率 Drush ܋羷ྍ詽 1. 䲒礚秇奲ࣁ Drupal 7 ጱ制丆 2. ๅ碝ک

    Drupal 6 磧碝ৼ粚๜ 3. ᓕቘ㹓ጭ獈 4. 姘虁秇ୗ 5. 毆戔Ԇ氂 6. ؊አ໐ஞ秇奲犥क़ጱ秇奲 7. ᑏᴻܻ๜戔ਧ 8. 㳫ᴻ礬ፓ袅犥क़ጱ䲆礯 9. 狒ኸ匍磪ጱ秇奲ܨ׎犋ፘ਻ 10. ӥ斉 Drupal 7 磧碝粚๜ 11. ᯿碝戔ਧ .htaccess ޾ robots.txt 12. 疥settings.php䲆礯狕硬౮ፘ਻Drupal7 13 .ๅ碝໐ஞጱ虻碘䓚蔭㻌 14. 猋犩虻碘䓚 15. 玲դ犥现ๅ碝覍໐ஞ秇奲޾Ԇ氂 5
  6. ? ? ? ? ? ? ? ? ? ?

    襇ᒒ蟂ᗟ๐率 6
  7. 襇ᒒ蟂ᗟ๐率 Cloud Deploy Base on: Full Stack Framework

  8. 襇ᒒ蟂ᗟ๐率 8 IaaS Service Deploy an SSD cloud server in

    55 seconds.
  9. 襇ᒒ蟂ᗟ๐率 9 My Machine 1 CPU/ 1GB Memory 30GB SSD

    2TB Transfer $10/mon
  10. 襇ᒒ蟂ᗟ๐率 10 Passport Token: Crypt + Salt Vaild for 30days

    Machine Status CPU,Mem Usage> 80% Service not response Restart Machine Service
  11. 襇ᒒ蟂ᗟ๐率 11 VM → Docker ↓ MB↓ GB↑ Size: seconds↓

    Minutes↑ Time: less↓ More↑ Cost:
  12. 襇ᒒ蟂ᗟ๐率 12 Docker Public Registry Drupal WordPress IPython Notebook R

    Studio …etc
  13. 襇ᒒ蟂ᗟ๐率 13 Docker Private Registry Nginx: Account,Password Support HTTPS

  14. 襇ᒒ蟂ᗟ๐率 Deploy Deploy Call API Create Machine Use

  15. 15 襇ᒒ蟂ᗟ๐率 https://github.com/chenyunchen/Meteor-Autodeploy ̣Star & Join Us ! master develop

    feature/registry feature/init
  16. 16 襇ᒒ蟂ᗟ๐率 JS ls coffee HTML jade haml CSS less

    sass CSS JS HTML CSS JS HTML Compiler牏Combine minify
  17. 碻纷膏獤ૡ 17 ੆؃ ӣ์ ࢥ์ Բ์ 疌䋊聜 ໐ஞ܋羷 疌䋊聜 虻碘旉ᑏ

    襇ᒒ蟂ᗟ ๐率礍戔 疌䋊聜碝ी 虻რ緳矒 ~
  18. 碻纷膏獤ૡ 18 م์ 犊์ 獌์ Ԝ์ ܈์ ܈Ӟ์ 疌䋊聜 ۑ胼狕盋

    疌䋊聜 粚ᶎ戔懯 疌䋊聜 RWD 襇ᒒ蟂ᗟ ๐率礍戔 ᐺՈ狜䓚 ๐率礍戔 襇ᒒ蟂ᗟ 氃क़ۑ胼
  19. 碻纷膏獤ૡ 19 獤蟴殻ፓ 揗揣ݶ䋊 疌䋊聜 - ໐ஞ܋羷膏虻碘旉ᑏ 檔ر囃牏蚅纷狰牏蟞Ռ膘牏䮉਻ฬ 疌䋊聜 -

    粚ᶎ戔懯膏ۑ胼狕盋 蚅纷狰牏䮉਻ฬ ֑๐瑊礍戔膏姘虁 檔ر囃牏蟞Ռ膘 襇ᒒ蟂ᗟ๐率 - 礍戔膏粚ᶎ戔懯 檔ر囃 وݶ執懿膏෈կ砰䌃 檔ر囃牏蚅纷狰牏蟞Ռ膘牏䮉਻ฬ
  20. ๚㬵疻磭 20 牨൉׀疌䋊聜ֵአᘏๅے׎ഠጱۑ胼 牨硬珿Օᶎ犥ᒧݳֵአᘏ磧֯誢涢 牨൉׀ग़ݣ秚瑊蟂ᗟ犥ڥ虻რ獤蟴 牨碝ी瑽蔭԰㵕虏ᓕቘ㹓盠蝧ԧ薹蟂ᗟ制丆