• Save
amazinx introduction (image server with aws & nginx)
Upcoming SlideShare
Loading in...5
×
 

amazinx introduction (image server with aws & nginx)

on

  • 2,280 views

http://6109.hidepiy.com/255/image-server-with-aws-nginx

http://6109.hidepiy.com/255/image-server-with-aws-nginx

Statistics

Views

Total Views
2,280
Views on SlideShare
1,450
Embed Views
830

Actions

Likes
0
Downloads
0
Comments
0

6 Embeds 830

http://6109.hidepiy.com 822
http://webcache.googleusercontent.com 2
http://cache.yahoofs.jp 2
http://www.slashdocs.com 2
https://www.google.de 1
http://www.docshut.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Nginx is noted to be a good server for sites that need fast, efficient reverse proxies or serving of static content because Nginx is event-based it doesn't need to spawn new processes or threads for each request, so its memory usage is very low http://www.wikivs.com/wiki/Apache_vs_nginx

amazinx introduction (image server with aws & nginx) amazinx introduction (image server with aws & nginx) Presentation Transcript

  • amazinx
  • 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)
  • GUI
  • 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. )
  • 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 http://docs.amazonwebservices.com/gettingstarted/latest/awsgsg-freetier/TestDriveFreeTier.html
  • 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
  • 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
  • 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 http://joeandmotorboat.com/2008/02/28/apache-vs-nginx-web-server-performance-deathmatch/
  • image server
  • simple ex. 1+ Just use S3 - we can host website on Amazon Simple Storage Service doc : http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteHosting.html movie : http://awsdocvideos.s3.amazonaws.com/S3/HostingWebsites/S3_Hosting_Website.html
  • simple ex. 2+ CloudFront in front of S3 or web server - speeds up distribution of your web content doc : http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html CloudFront or or EC2
  • 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
  • so . . .http://6109.hidepiy.com/255/image-server-with-aws-nginx