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.

The use of aws in the countryside

1,704 views

Published on

AWSKRUG & JAWS-UG Meetup day #01
Day2(Technical Day)で話したスライドです。

Published in: Technology
  • Be the first to comment

The use of aws in the countryside

  1. 1. The use of AWS in the countryside heptagon inc. Takuya tachibana
  2. 2. profile Takuya Tachibana (31) Live in Misawa/Aomori Leader of JAWS-UG in 2016 Heptagon inc. CEO acebook.com/biatunky Favorite AWS Service AWS Lambda
  3. 3. Aomori 2.5H
  4. 4. Aomori
  5. 5. Aomori
  6. 6. Good place but very countryside…
  7. 7. So we have Small and medium-sized enterprises as customer.
  8. 8. What is countryside projects • Less Less Traffic… • Small Small budget… • Do not stop the server always !! • Need backup!!! • Need security!!!!
  9. 9. Why do we choose AWS at countryside projects? • Stability of infrastructure • Safe security • Dependable support • Scalable infrastructure • Use a variety of functions in options
 (Backup, Redundancy,Security…)
  10. 10. Our ingenuity 1、We use actively t2.family in production. 2、We use Lambda for Pay-per-use of CPU. Amazon EC2 t2 AWS Lambda Amazon EC2
  11. 11. Amazon EC2 t2 t2 family 1、We use actively t2.family in production.
  12. 12. Feature of t2.family Cheap Cost-effectiveness is excellent . Fast(but…) During you have CPU credits it operates at a high speed . If you use all of CPU credits, very very slow…
  13. 13. How much can withstand the access ? I created environment 100 domains in t2micro instance. AmazonLinux/apache/postfix/dovecot/mysql (Optimized parameters) WEB  Wordpress:50 domains  staticsite:50 domains  installed Simple content. Mail  1account / domains 100 account(domains) in total
  14. 14. Conditions of stress test Service Per 1domain Entire server Per 1hour WEB 100PV/day 10000PV/day 1PV/6sec Send emails 10/day 1000/day 1message/1mim Receive emails 100/day 10000/day 1mesage/6sec Pop3 access 1access/5mim 100access/5min 1access/3sec Verification is successful unless reduce CPU credit. h"p smtp smtp-auth pop3 Stress test c3.large t2.micro
  15. 15. Result Stress Test CPU Credit
  16. 16. and more In peacetime you earn credits . So It is possible to burst. You must do monitoring CPU Credits!! It is recommended stress test before use . If the credit is not enough, you should change instance size or family.
  17. 17. AWS Lambda 2、We use Lambda for Pay-per-use of CPU.
  18. 18. Use case 1:Statistical processing with Lambda 1、Upload master data 2、Statistical processing on Lambda 3、Generate the results file to S3. 4、Notify to user with SNS 5、Download the results file
  19. 19. • Easy operation thanks to full-managed service • Provide a complete pay- per-use • Auto scale out if data increase Use case 1:Statistical processing with Lambda
  20. 20. Use case 2:Input Cloudwatch metrics to zabbix
  21. 21. CPU load average Switch to lambda Use case 2:Input Cloudwatch metrics to zabbix
  22. 22. • CPU Offload with Lambda  (at little cost.) • Auto scall out 
 if monitored instance increase Use case 2:Input Cloudwatch metrics to zabbix
  23. 23. I want to get maintenance information! (not emails) Use case 3 : Notify maintenance information to Slack by Lambda It is hard to manage several AWS account.
  24. 24. Use case 3 : Notify maintenance information to Slack by Lambda
  25. 25. Conclusion • There is an appropriate AWS usage in countryside. • T2.family and Lambda which you can use the resources at low cost is a strong ally in countryside ! • Please give gently to the countryside of people .
  26. 26. 감사합니다

×