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

초보 서버 개발자의 AWS 회고

mingrammer
January 11, 2017

초보 서버 개발자의 AWS 회고

AWS로 처음 서버 아키텍쳐를 설계해본 경험을 회고하고 공유합니다.

mingrammer

January 11, 2017
Tweet

More Decks by mingrammer

Other Decks in Technology

Transcript

  1. AWS ഥҊ
    MinJae Kwon (@mingrammer)
    2017.01.11

    View full-size slide

  2. Name
    ӂ޹੤ (MinJae Kwon)
    Nickname
    @mingrammer
    Email
    [email protected]
    Who
    Backend Developer
    Blog
    https://mingrammer.com
    Facebook
    https://facebook.com/mingrammer
    Github
    https://github.com/mingrammer

    View full-size slide

  3. ޖट ഥҊ?
    AWSܳ ࢎਊೞӝ ੹ী ঌও؊ۄݶ જওਸ Ѫٜ
    җѢ੄ ইఃఫ୛ ѐࢶߑߨ

    View full-size slide

  4. ୐ झఋ౟স
    ٸח ؀೟Ү 2೟֙ 2೟ӝ

    View full-size slide

  5. ਢ झ౟ܻ߁ ӝ߈੄ Әਲ਼ Үਭ ࢲ࠺झ

    View full-size slide

  6. Web Application
    Server
    User
    Streaming
    resources

    View full-size slide

  7. ೡ ઴ ইחѱ Flask ߆ী হਵפ Flaskܳ ॳ੗!
    Ӕؘ ࢲߡח যڌѱ ೞ૑

    View full-size slide

  8. Google App Engine
    AWS
    Azure
    Heroku
    Server Hosting

    View full-size slide

  9. ղо ೙ਃೠѱ ޤ૑?

    View full-size slide

  10. ਢ গ೒ܻா੉࣌ ࢲߡ
    ౵ੌ झషܻ૑
    झ౟ܻ߁ ੋ௏٬ ࢲߡ
    ؘ੉ఠ߬੉झ
    ݫੌ݂ ࢲ࠺झ
    ߓನо एਕঠೣ
    ѐߊী ૘઺ೡ ࣻ ੓ח ജ҃

    View full-size slide

  11. Google App Engine
    AWS
    Azure
    Heroku
    Server Hosting

    ࢲ࠺झب ݆Ҋ ۨಌ۠झب ݆਷ AWS ࢶఖ

    View full-size slide

  12. But …
    ೐۽؋࣌ ѐߊ ҃೷ হ਺
    ࢲߡ ѐߊ ҃೷ ੸਺
    ѐߊ੗ 1ݺ

    View full-size slide

  13. ইఃఫ୛ х੉ উ১

    View full-size slide

  14. 2~3׳ উী ಽझఖ ਢࢲ࠺झ + ইఃఫ୛ ݽف ѐߊ೧ঠೣ

    View full-size slide

  15. ੌױ ೧ࠁ੗

    View full-size slide

  16. AWS Elastic
    Beanstalk
    Amazon

    RDS
    ߓನо ए਍ Elastic Beanstalkܳ ࢎਊ
    ਋ࢶ ਢࢲߡ৬ ؘ੉ఠ߬੉झܳ فҊ ..

    View full-size slide

  17. झషܻ૑ب فҊ ..
    AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    S3

    View full-size slide

  18. ੉৴ AWS ॳחѢ بݫੋب Route53
    AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    S3
    Amazon

    Route 53

    View full-size slide

  19. S3۽ झ౟ܻ߁ਸ যڌѱ ҳഅೞ૑ .. ?

    View full-size slide

  20. Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    +
    AWSח ࢎیੑפ׮. ׮ ੓਺ ..

    View full-size slide

  21. CloudFront۽ ੿੸ ౵ੌө૑ ݽف ࢲࡂೞ੗!
    AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    Route 53
    Amazon

    S3
    Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    ৔࢚ झ౟ܻ߁਷ ਬܐ੉޲۽ ੽Ӕ ઁೠਸ ف੗!

    View full-size slide

  22. ੉ݫੌب ࠁղঠೞפ SESܳ ॳ੗
    AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    Route 53
    Amazon

    S3
    Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    Amazon
    SES

    View full-size slide

  23. ॉ֎ੌਸ ٜ݅যঠ ೞחؘ ੉޷૑ ೐۽ࣁयী दр੉ Ѧܿ

    View full-size slide

  24. Lambdaܳ ࢎਊ೧ ੉޷૑ ೐۽ࣁयਸ ਢࢲߡ৬ ܻ࠙
    AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    Route 53
    Amazon

    S3
    Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    Amazon
    SES
    AWS
    Lambda

    View full-size slide

  25. ٯ ੉ۧѱ݅ ҳࢿ೧ࢲ ੌױ ୭ઙ ইఃఫ୛о ৮ࢿؽ

    View full-size slide

  26. AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    Route 53
    Amazon

    S3
    Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    Amazon
    SES
    AWS
    Lambda

    View full-size slide

  27. ѐߊ੉ ׮ ՘աтૉ਺ ..
    ৔࢚ ஶబஎ ઁҕী ޙઁо ࢤѹ
    ࢎসਸ ੽ѱؽ
    Fxxking

    View full-size slide

  28. Ӓؘ۠ Ӓ ৬઺ী ইఃఫ୛ ޙઁо ߊѼؽ
    ࢎস਷ ੽ѱ غ঻૑݅ Ӓېب ೠ ߣ ࠙ࢳ೧ࠅ о஖ח ੓যࠁ৓਺

    View full-size slide

  29. AWS Elastic
    Beanstalk
    Amazon

    RDS
    Amazon

    Route 53
    Amazon

    S3
    Amazon
    CloudFront
    Amazon Elastic 

    Transcoder
    Amazon
    SES
    AWS
    Lambda
    Beanstalk ࢲߡী ࠢয ੓ח Admin ࢲߡо
    Publicೠ ৔৉ী ਤ஖
    DB ژೠ Publicೠ ৔৉ী ਤ஖
    Lambdaܳ زӝ੸ਵ۽ प೯दఃҊ ੓਺
    SSL ޷੸ਊ
    য়షझாੌ݂ ߂ ഛ੢ࢿ ޷Ҋ۰

    View full-size slide

  30. DB ژೠ Publicೠ ৔৉ী ਤ஖
    Beanstalk ࢲߡী ࠢয ੓ח Admin ࢲߡо
    Publicೠ ৔৉ী ਤ஖
    Public/Private Subnetਸ ܻ࠙

    View full-size slide

  31. Private subnet
    Public subnet
    Web service server
    instance
    Admin web server
    instance
    RDS DB instance
    user
    Admin
    VPN

    View full-size slide

  32. Lambdaܳ زӝ੸ਵ۽ प೯दఃҊ ੓਺
    AWS Elastic
    Beanstalk
    Amazon

    S3
    AWS
    Lambda
    ਢࢲߡо Lambda ઙܐܳ ؀ӝ
    AWS Elastic
    Beanstalk
    Amazon

    S3
    AWS
    Lambda
    S3 ੉߮౟ܳ ഝਊೠ ࠺زӝ ୊ܻ
    ৮ܐ റ ॉ֎ੌ ੷੢

    View full-size slide

  33. SSL ޷੸ਊ
    certificate manager
    ACM

    View full-size slide

  34. য়షझாੌ݂ ߂ ഛ੢ࢿ ޷Ҋ۰
    ই૒ ۠டب উ೮ӝী DB ੉઺ച, য়షझாੌ݂, ࠗೞ࠙࢑١਷ য়ߡ ইఃఫ୛݂੉ۄ ౸ױؽ
    (ࢎप ݏח૑ח ݽܰѷ਺)
    Ӓ ٸ ׼द ࢚ടীࢶ ইఃఫ୛੄ ޙઁ ۄҊח ࢤп੉ উٞ

    View full-size slide

  35. ୊਺ ࢸ҅೧ࠄ ইఃఫ୛ۄ
    ੉ ৻੄ ޙઁب ݆ਸ ࣻ ੓਺

    View full-size slide

  36. ইఃఫ୛݂ਸ ೞӝ ੹ী ঌওѢա ੓঻ਵݶ જওਸ Ѫٜ

    View full-size slide

  37. ইఃఫ୛ ҳઑী ؀ೠ ӝࠄ ૑ध
    ௿ۄ਋٘ ࠁউ ૑ध
    AWS ࢲ࠺झٜী ؀ೠ ੉೧
    ਢࢲ࠺झ ҳઑী ؀ೠ ੉೧
    ֎౟ਕ௼ী ؀ೠ ੉೧৬ ૑ध
    ҃೷ ੓ח ݭష ѐߊ੗ա ইఃఫ౟
    AWS ழޭפ౭ (׼दূ ށۋ਺)

    View full-size slide

  38. റӝ
    ইఃఫ୛ח য۵׮.
    ҕࠗ৬ ҃೷੉ ݆੉ ೙ਃೠ ࠙ঠੋ٠.
    ؊ ա਷ ইఃఫ୛ܳ ঌ۰઱दݶ хࢎೞѷणפ׮.

    View full-size slide

  39. MinJae Kwon (@mingrammer)
    2017.01.11
    хࢎ೤פ׮

    View full-size slide