SlideShare une entreprise Scribd logo
1  sur  13
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

Contenu connexe

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

amazinx introduction (image server with aws & nginx)

  • 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. GUI
  • 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. 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
  • 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. 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. 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/
  • 10. 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
  • 11. 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
  • 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. so . . . http://6109.hidepiy.com/255/image-server-with-aws-nginx

Notes de l'éditeur

  1. 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