Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IDC 1도 모르는 개발자가 DevOps를 만났을때

IDC 1도 모르는 개발자가 DevOps를 만났을때

  • Login to see the comments

IDC 1도 모르는 개발자가 DevOps를 만났을때

  1. 1. Agenda 1. Who am I? 2. The main problems we’ve solved - Multi-Region deployment - MSA (Orchestration, Service discovery, CI/CD, Secret management) - SPA 3. Conclusion
  2. 2. Mathpresso - Backends Dev (Django) MyMusicTaste - DataOps MyMusicTaste - DevOps Who am I?
  3. 3. Managed Service
  4. 4. Agenda 1. Who am I? 2. The main problems we solved - Multi-Region deployment - MSA (Orchestration, Service discovery, CI/CD, Secret management) - SPA 3. Conclusion
  5. 5. Multi-region deployment Top 5 countries our users are in are from all different continents. MMT is a truly global service.
  6. 6. Multi-region deployment Database was our major concern for us and multi region deployment
  7. 7. Multi-region deployment
  8. 8. Multi-region deployment
  9. 9. Multi-region deployment
  10. 10. Multi-region deployment
  11. 11. MSA
  12. 12. MSA Applications in the chaos
  13. 13. MSA
  14. 14. MSA
  15. 15. MSA Polyglot programming API Gateway registration Getting secrets from vault cluster Xray integration …..etc..…
  16. 16. MSA
  17. 17. MSA
  18. 18. MSA
  19. 19. MSA Fully managed container service
  20. 20. MSA Motivation to move to Fargate
  21. 21. MSA Constraints of Fargate
  22. 22. MSA Cost of Fargate ECS cluster with 342 running tasks 26 container instances of type m4.xlarge
  23. 23. MSA Cost of Fargate ECS: $3,806.40/month Fargate: $4,930.87/month A 30% increment in cost for a similarly-sized cluster.
  24. 24. MSA Service discovery
  25. 25. MSA CI/CD Build new Image of application Push the latest image to ECR Inject configurations to terraform Create new revision task definition Update ECS Service
  26. 26. MSA Secret management
  27. 27. MSA
  28. 28. MSA
  29. 29. MSA Getting secrets when the application is initialized
  30. 30. SPA
  31. 31. SPA The problems with s3 web hosting… CORS, OG, SEO …. Etc Should we build our server side rendering system?
  32. 32. SPA Lambda@Edge
  33. 33. SPA Lambda@Edge CloudFront (mymusictaste.com) SPA bucket ALB Ordered cache behaviour Default cache behaviour
  34. 34. SPA CloudFront (mymusictaste.com) Viewer request Viewer response Check headers for recognizing bots Build response made of OG or SEO data If request is from bots
  35. 35. SPA CloudFront (mymusictaste.com) SPA bucket Origin request Origin response Check the URI is for JS files Change the URI from the path requested by user to index.html If the URI is not for JS files
  36. 36. SPA CloudFront (mymusictaste.com) SPA bucket Origin request Origin response Check the URI is for JS files Change the URI from the path requested by user to index.html If the URI is not for JS files
  37. 37. Agenda 1. Who am I? 2. The main problems we solved - Multi-Region deployment - MSA (Orchestration, Service discovery, CI/CD, Secret management) - SPA 3. Conclusion
  38. 38. Conclusion
  39. 39. Conclusion
  40. 40. Conclusion
  41. 41. Conclusion scale out of teams ……
  42. 42. Conclusion
  43. 43. Conclusion
  44. 44. Conclusion Thanks for listening!

×