owned this note changed 7 years ago
Linked with GitHub

AWS 如何幫助客戶從零開始到一億日活躍移動用戶 ( AWS x INTOWOW 實戰分享 )

tags: 2018, R1
位置: R1
講者:葉俊廷


Internet 101:Request and Response

What about 100,000,000 unique users per day ?
開16台伺服器就好?

Let's talk about efficiency

三個要點

  • Simple
  • Velocity
  • Easy to manage

一個人搞定1億日活的平台

Servers

Everybody knows 3 tier
但是現實是到處著火

Let's talk about

The serverless stack
Mobile apps > Internet > Elastic load balancing > AWS Fargate >

用Container就不用去管底層的EC2是怎樣
用Lambda也是Serverless,不需要管server
儲存的部份就靠S3或NoSQL都行

intowow 分享

  • 影音廣告變現
  • 透過整合intowow SDK滿足廣告變現

Phase 1

開一台一台的EC,把所有service 寫在一台EC裡面
擴展困難

Phase 2

  • Container services (ECS+Fargate)
  • Isolated Environmennts(VPC)
  • Infrastructure as Code(CloudFormation)

以Service為單位,用VPC隔離

難題

  • AWS Resources 難管理,人工手動已經難負荷
  • Designing permission control takes great time and effort
  • CI/CD plan became an extra burden for developers
  • 成本分析困難

Phase 3

  • 多AWS Account
    • 性質相近Service 放在一個Account運行,成本分析相對容易
      ®
  • Centralized DevOps Framework
    AWS Organizations
    集中管理account

master account : 根據不同性質獨立創建

  • devops account
    ci/cd 管理
    application account

用Python 寫了一些api,來簡化Account管理

總結
Multi-Account on aws

Select a repo