SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Empfohlen

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)
 

Empfohlen (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

Hinweis der Redaktion

  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