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.

amazinx introduction (image server with aws & nginx)


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

amazinx introduction (image server with aws & nginx)

  1. 1. amazinx
  2. 2. AWS+ Cloud service - IaaS & PaaS+ So many solutions - ELB (Elastic Load Balancer) : vertual server - EC2 (Elastic Compute Cloud) - S3 (Simple Storage Service) - RDS (Relational Database Service) - Route 53 : DNS system - SWF (Simple Workflow Service) …+ Easy to Use anytime you want - just make an account, then click some on Management Console (you can make a program to avoid such operations)
  3. 3. GUI
  4. 4. EC2 instances+ Micro ($0.027 / h) 613 MB memory Up to 2 EC2 Compute Units (for short periodic bursts) I/O Performance: Low+…+ Cluster compute eight extra large ($2.400 / h) 60.5 GB of memory 88 EC2 Compute Units (2 x Intel Xeon E5-2670 , eight-core "Sandy Bridge" architecture) 3370 GB of instance storage I/O Performance: Very High (10 Gigabit Ethernet) (6000 yen / month for full “personal” use, we can get the relevant VPS for 1000yen /month, I guess. )
  5. 5. Free Tier+ new AWS user can get these free use each month for one year - 750 hours of EC2 Micro instance usage - 750 hours of Elastic Load Balancing plus 15 GB data processing - 30 GB of Amazon Elastic Block Storage (EBS) plus 2 million IOs and 1 GB snapshot storage -…+ So, without any payment, you can run - 1 Micro instance for a full year without stop or - 4500 Micro instance for 10 min / every month Why don’t u try it ? Getting Started Guide AWS Free Usage Tier
  6. 6. Nginx+ HTTP and reverse proxy server (also supports SMTP, POP3, IMAP)+ aiming high performance - low memory usage - simultaneous connection - asynchronous event driven server (like Lighttpd) not thread or process oriented+ limited functions - no Dynamic Shared Object of Apache
  7. 7. remarks“Apache is like Microsoft Word,it has a million options but you only need six.Nginx does those six things,and it does five of them 50 times faster than Apache.” - Chris Lea @ WordCamp SF 2008
  8. 8. performance+ at certain situation (just copied from the site...orz) - CENTOS 5.1 - Dual 2.4GHz Xeon CPUs - 4GB RAM - RAID5 (4 x 15k disks) - Server and test client were connected via a consumer grade 10/100 switch - Keepalive turned on and with timeout of 15 seconds - GZIP turned on Apache vs Nginx : Web Server Performance Deathmatch
  9. 9. image server
  10. 10. simple ex. 1+ Just use S3 - we can host website on Amazon Simple Storage Service doc : movie :
  11. 11. simple ex. 2+ CloudFront in front of S3 or web server - speeds up distribution of your web content doc : CloudFront or or EC2
  12. 12. but+ suppose - I (you?) don’t know, which size of images are suit for the target web page… - so many devices, so many display size, so many design changes, do we have to prepare so many types of image continuously ??? more useful system is needed. : dynamically respond requested image without any upload operation
  13. 13. so . . .