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

創科資訊股份有限公司

lyhcode
October 23, 2016

 創科資訊股份有限公司

關於創科資訊敏捷軟體開發團隊與 Amazon Web Services (AWS) 軟體開發與培訓服務。

lyhcode

October 23, 2016
Tweet

More Decks by lyhcode

Other Decks in Business

Transcript

  1. 獺ᑀ虻懱 䌕 ဳ 敟 誢 ૡ 萬 × 䋿 擅

    硵 ഠ 樄 咳 ౯㮉傶մ禂൉׀敟誢樄咳๐率牧۱ೡ礍 䯤憒㴟牏ದ蔩觎㺔牏抓纷璢懺膏䌕礯क़ ۱樄咳牧㪔Ӭ䋿擅硵ഠ敟誢樄咳ොဩ牐
  2. 㿁褧෈玕 獺ᑀ虻懱㿁褧ጱԆᥝ౮㹓傶敟誢樄咳ᘏ牧۱ೡ礍䯤䒍牏羬翄獤ຉ 䒍牏䌕礯妿ቘ膏纷ୗ戔懯䒍牧ݚक़犖磪褰碻൉׀౯㮉㶧ۗጱದ蔩 觎㺔膏 UI / UX 戔懯觎㺔牐 ౯㮉൉׀樄硯ୗૡ֢绚樌牧౮㹓ݢ犥Ӟ蚏哴眐Ի窕懵抷牧౲ฎݱ ᛔ䌕ஞ蒂ቘಋ螲ૡ֢牐౯㮉嘦狒樄咳ᘏ犋ᤩଗ硑牧ֺই襎扖獤秚

    ౲䷱磪毆夹ጱ䨝捍牧犥姘瞱ྯ෭臑অጱૡ֢制眲牐獺ᑀ虻懱ጱफ़ ֎綍ᛗݢ犥螡䢔ᛔ૩ቘమጱૡ֢ࣳ眲牧ֺই物ࣁ疑ૡ֢牏螐蚣ૡ ֢౲螲絑蝿Ӯኴ螲ૡ֢牐 ౯㮉൉׀妔樄咳ᘏ獅᪃ጱ䋊聜虻რ牧㪔嘦狒蝽ک㺔氂碻牧褰碻᮷ 磪妿涢掘੄ጱ虻窼फ़֎㶧ۗ薹究牐౯㮉犖蝚螂䌘क़樄硯ጱ肞䨝牧 䔶玕樄咳ᘏԏ樌ጱ妿涢獤Ձ膏Ի窕牐
  3. ౯㮉᯿憙敟誢樄咳窕纷 ౯㮉䟖አ膏碻ק蝱ጱ樄咳ොဩ牏礍䯤现ૡٍ牧Ի՞ߝ搡ๅঅጱ敟誢牐篷 抷䌕礯ጱ憒秇य़౲ੜ牧ᶎ䌘ྯ稞ਮ䜛甛蜃ጱ犨率牧౯㮉᮷䁎瞱ਠ珿ጱ敟 誢樄咳窕纷牧ܨֵฎᮎ犚፡犋کጱ奞℄牐 ֵአ Git 粚๜矒ګૡٍ牧砇蟴 Pull-Request Workflow牧㪔苽䋿 Code

    Review ګଶ牐 Version Control 䋿擅介手詴㵕ጱ樄咳ොୗ牧۱ೡ Unit Test牏 Integration Test 膏 Functional Test 缛牐 Test-Driven Development 砇蟴 Jenkins CI 缛ૡٍ蝱ᤈ Daily Build牧۱ೡᛔ㵕 玕ୌᗝ牏介手膏რ嘨獤ຉ缛牐 Continuous Integration 㶧ۗਮ䜛憒㴟膏䁆ᤈ疥敟誢蟂ᗟکݢ覎ጱ襇ᒒ๐率牧 ֺই Amazon Web SerivcesҁAWS҂缛牐 Cloud Deployment
  4. 璢懺ݳ֢फ़֎ 襎蝰෈玕Ԫ禂 虻懱ૡ禂ᒽ蝱䨝 http://devopssummit.ithome.com.tw/workshop/jenkins/index.html ̓iThomë́Continuous Integration with Docker 䋿䜗拻璤 http://www.iiiedu.org.tw/ites/JKS.htm

    ̓虻ᒽ䨝ҁ玖玟҂̈́DevOps: Jenkins 砇蟴 Docker 瞱媲碉ݳ䋿率紑 http://taichung.iiiedu.org.tw/dse333.html ̓虻ᒽ䨝ҁӾ玟҂̈́粚๜矒ګ膏瞱媲碉ݳᛔ㵕玕介手䋿率ֵአ砇蟴 Jenkins 膏 樄咳䋿䜗抓纷
  5. ౯㮉ٍ猋ग़ଙጱ Amazon Web Services 襇ᒒ樄咳䋿䜗妿涢牧 ݢ犥㶧ۗਮ䜛獅獤ڥአ襇ᒒ螀ᓒ癲㬵ጱঅ蒂牧蝡㪔犋ݝฎ疥 ֑๐瑊硯ک AWS EC2 ᘒ૪牐ℂ礍䯤憒㴟ک纷ୗ䋿֢牧౯㮉

    螀አ AWS 掘੄Ӭ䔶य़ጱ虻რ牧಑蝨绐ࢴݢ覎ጱ敟誢羬翄牐 ౯㮉ݢ㶧ۗਮ䜛䋿褬䛑አෝ敟誢樄咳ጱ AWS ๐率۱ೡ物 EC2, S3, RDS, CloudFront, Elastic BeansTalk, Lambda, Route53, SES, SQS, Elastic Transcoder, ElastiCache, DynamoDBꔇ缛牐
  6. Video Files (.mp4, .avi, .m4v, …) AWS S3 Bucket HTML5

    Form Direct Upload to S3 AWS Lambda Microservices Trigger Lambda API with AWS API Gateway AWS Elastic Transcoder Transcoded Video files and thumbnails Streaming Video (.mp4, .webm, .flv, …) 䛑አ礯ֺ物 ֵአ S3 ୌ䯤篷਻ᰁ褖ګጱग़甿誢䲆礯Ӥ㯽羬翄牧 砇蟴 S3 Direct Upload 仂੝ EC2 㯽蜍窕ᰁ牧㪔ֵ አ Elastic Transcoder 蝱ᤈԀ窕୽粙旉嘨牧犥现ֵ አ Lambda 䋿匍篷֑๐瑊礍䯤牐 猻讨物 • 蚏ྍ౮๜禅犵牪狅ᆙ䋿褬ֵአᰁ硩揲 • 姘虁ᓕቘ਻ฃ牪൉׀裾碻樌绐ࢴݢ覎ጱ๐率 AWS ਮ䜛礯ֺ薹ຉ
  7. ౯㮉ٍ猋ग़ଙጱ PHP牏.NET 膏 Java 樄咳妿涢牪֕ ฎℂ 2012 ଙ樄ত牧౯㮉樄তࣁ战ग़䌕礯Ӿֵአ Node.js 樄咳牧㪔Ӭ犋䥁ࣁݣ傀വ皞

    Node.js ፘ橕ದ 蔩牐 ౯㮉螀አ Node.js 樄咳战ग़ṛ硳胼翕ᒊ牧۱ೡ螡抓羬 翄牏ᤈ㵕襎珶牏獉਻ᓕቘ羬翄膏ᇔ肥翕䛑አ牐౯㮉犖 啻薹 Node.js ࣁ AWS 襇ᒒ蟂ᗟ䛑አ纷ୗጱ禅य़猻 玊牧۱ೡֵአๅ੝ጱ EC2 虻რ膏螕ݳ Lambda 篷֑ ๐瑊礍䯤ጱ䋿匍牐 Node.js ୌ䯤 襇ᒒ䛑አ纷ୗ మ啻薹ๅग़橕ෝ Node.js 膏 AWS 䛑አ樄咳ጱ䋿褬礯ֺ牧稭蜰肥媒獺ᑀ虻懱牐
  8. ၣ१ӻ୕ක೯ࣩԷ • Ԇᥝ礍䯤傶 Node.js / Sails 膏 MySQL • ਮ蕣玕樄咳ጱ獮盅ݣ羬翄ਠ獊ፘ਻

    AWS 襇ᒒ礍䯤 • 䟖አ EC2 (t2.micro) + Ubuntu Linux Server • 䲆礯Ӥ㯽ᛗ S3 㱪ਂ • ֵአ Route53 ᓕቘऒݷ • 砇蟴 CloudFront ൉׀ CDN ਂ玲猻玕 • 砇蟴 SES ๐率䋿֢ E-mail 䨝㹓蝢Ꭳ膏襎ৼ䁭 • 橕棎ਁ矾疨膏ᐒᗭ甿誢猻玕 • 薹究旰ၚ㵕य़ᰁՈᄤݶ碻倵薩翕ᒊ㺔氂 LFP 詂碘詂࿜䋿涢ਰ ਮ蕣玕詂࿜Ꭳݷߝ粞牧ኧ獺ᑀ虻懱㶧ۗ Web 膏 App 憒㴟现ୌᗝ牐