Molome infrastructure
-
Upload
jirayut-nimsaeng -
Category
Technology
-
view
449 -
download
1
description
Transcript of Molome infrastructure
![Page 1: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/1.jpg)
MOLOME InfrastructureMOLOME Infrastructure
16 September 201216 September 2012
Jirayut NimsaengJirayut Nimsaeng
![Page 2: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/2.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Who am I?Who am I?
● @winggundamth
● Ubuntu and Android user
● Believe in Open Source
● Geek
● System Engineer at Hua Lampong Co.,Ltd.
● Cloud projects in future plan
![Page 3: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/3.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
MOLOMEMOLOME
![Page 4: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/4.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Why AWS?Why AWS?
● Global
● Performance
● Flexibility
● Reliability
● Scaling
![Page 5: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/5.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Amazon Web Services (AWS) Amazon Web Services (AWS)
● Elastic Compute Cloud (EC2)
● Simple Storage Service (S3)
● Relational Database Service (RDS)
● Elastic Load Balancing (ELB)
● CloudFront
● CloudWatch
![Page 6: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/6.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
MOLO infrastructureMOLO infrastructure
(RDS)Database
(EC2)Web Server
CloudFront
(S3)Images
Web & API
Images
![Page 7: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/7.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Scaling objectivesScaling objectives
● Handle massive concurrent requests
● High Availability
● Automate system as much as possible
● Has disaster recovery plan
● Monitor everything
![Page 8: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/8.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Elastic Load Balancing (ELB)
Scaling the web serverScaling the web server
Web Server 1
CloudWatch
Web Server 2 Web Server 3
CPU > 70%
AMI
Web ServerSkeleton
code + config
CPU < 30%
![Page 9: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/9.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
SG RegionUS Region
Scaling the databaseScaling the database
(EC2)Database
Master
DatabaseSlave 1
DatabaseSlave 2
Web Server Farm DatabaseBackup Slave
replicate
replicateread / write
read
![Page 10: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/10.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: topMonitoring Tools: top
![Page 11: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/11.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: htopMonitoring Tools: htop
![Page 12: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/12.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: iostatMonitoring Tools: iostat
![Page 13: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/13.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: iotopMonitoring Tools: iotop
![Page 14: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/14.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: mytopMonitoring Tools: mytop
![Page 15: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/15.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: innotopMonitoring Tools: innotop
![Page 16: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/16.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Monitoring Tools: muninMonitoring Tools: munin
![Page 17: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/17.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Benchmark Tools: siegeBenchmark Tools: siege
![Page 18: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/18.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
What's next?What's next?
● MongoDB
● Node.js
● More platforms
● Build our own cloud?
![Page 19: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/19.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Coming soon!Coming soon!
![Page 20: Molome infrastructure](https://reader034.fdocuments.net/reader034/viewer/2022052412/559459e91a28ab4c728b45e8/html5/thumbnails/20.jpg)
16 September 2012
Jirayut Nimsaeng
Infrastructure
Question?Question?