15. The Cloud Era
• Everything in the cloud is a good way to start
• Azure v.s. AWS, dochi?
16. From Azure to AWS
• Azure is good for Microsoft users
• MSSQL rocks there
• In our case, AWS is a good choice
• Keep the decision right is important
17. API 架構簡介
• Load Balancer
• HTTPS certificate
• API Servers
• EC2 Instances
• Auto Scaling
• Database
• RDB MySQL Instance
• ElastiCache
18. 我們遇過的問題
• How to deploy?
• CodeDeploy v.s. createAMI
• ELB in the front
• HTTPS certificate maintenance
• SPDY? HTTP/2?
20. 我們遇過的問題
• CDN route
• You cannot control where it goes
• Object Invalidation
• Manually invalidation
• Make sure how it works if it is your fist time
21. Push notification
• SNS
• Push notification solution
• Use with Cognito
• Some issues you might ran into
• Topic v.s. Endpoints
• CloudWatch log streams
22. 環境建置
• Keep everything isolated
• Dev: Development only, internal
• Testing: Testing purpose, internal
• Staging: Testing purpose, same as production
• Production: DO NOT TOUCH!