SlideShare una empresa de Scribd logo
1 de 14
AWS Start-Up Conference 6/2010 Effective Cloud Computing at Amazon: The benefits and the challenges. joshua@adcloudmedia.com
Challenges – What can you expect? System issues Reasonable OS selections for most. Various Linux distributions are available including: Fedora, Gentoo, openSUSE, Ubuntu, Debian, Redhat Enterprise.  Other options include OpenSolaris and Windows. No BSD distributions though. Some vendors don’t keep builds current (Fedora 8?  Really?) In most cases, you can update system binaries to recent builds.  It is nonetheless moderately inconvenient and can be a time consuming process. Some do stay current.  Ubuntu, for example, stays up to date. A number of Amazon Partner provided images are provided by various software vendors. Oracle, MySQL images, IBM DB2, Informix AMIs. Apache, IIS/ASP.NET, Websphere AMIs. No custom kernel builds. But you can build kernel modules. These may be useful if you’re implementing some sort of clustering filesystem across your instance nodes, or any other lower level implementation. Redhat Enterprise beta is nice but it does have additional costs apart from Amazon EC2 instance costs.  Large server deployments may become significantly more expensive.
Challenges – What can you expect? Mail (SMTP) issues. Amazon IP blocks are on many blacklists.   Why?   Relay your SMTP mail through a third party host.  Not a huge deal, but an inconvenience regardless. Service providers for this - usually cheap and provide other helpful options like Anti Spam and Virus filtering for your inbound mail too. Depending on your business or application, your servers being associated with an IP blacklist may have an adverse effect on your business apart from your mail.    Various web proxies and security appliances implement blacklist filtering.   Some even use IP blacklists related to spam for HTTP filtering. Amazon is actively addressing the issue So it should be fixed soon.
Challenges – What can you expect? Elastic Load Balancer issues. Client (Source) IP address in HTTP requests come to you as the Elastic Load Balancer IP.   Reference the HTTP X-FORWARDED-FOR header for the actual client IP address. Be wary of possible HTTP request header forgery.   Amazon Load Balancers will append to HTTP X-FORWARDED-FOR request headers; not overwrite them. Client (Source) IP address in an HTTPS configured Elastic Load Balancer not readily available in the HTTP header. Elastic Load Balancers configured for HTTPS use don’t work at the HTTP protocol level (man in the middle issues) and use TCP instead.  Referencing the Source IP address can be tricky but is possible using cookies/sessions before the HTTPS connection is established.  Possibly there are other methods. Apache, lighttpd, nginx Log File Formats to store X-FORWARDED-FOR address.
Don’t panic Despite a few of the previously mentioned  inconveniences - the technology is sound, stable and actively supported and widely used across the globe by a huge community of users and contributors.
Benefits Seamless scaling for your application’s demand.    Easily handle massive volume at peak times and automatically scale down during slower periods.  Know your traffic patterns. Cheap. Cheaper if you do it right. Even cheaper if you pre-pay instances too. You have to keep your eye on these expenses.  Optimize your servers for the purpose of running as few as possible.
Benefits Amazon Elastic Load Balancing Other major cloud service vendors don’t offer load balancing.  Managing your own redundant load balancers involves overhead (and paranoia). Hold up well under extreme conditions – our peak was 330 million HTTP requests in one day earlier this month. Super cheap.  $0.025 per hour. API interaction with Elastic Load Balancers. Use shell scripts or code to perform tasks related to your load balancer and it’s associated amazon server instances.
Benefits Custom Image Builds Build your custom image (AMI) and deploy it across your network with ease. Roll back to previous image builds if there is a problem.  Easily test and deploy your server optimizations. You can do all of this with a small shell script.
Benefits APIs EC2 API Manage your EC2 instances – spawn new instances, terminate existing instances, manage your keys, security groups, … Shell scripts implement the API too.  Easy for non-programmers who have basic Linux shell scripting skills. Elastic Load Balancer (ELB) API Manage your Load Balancers easily, their configurations, their associated instances easily. Shell scripts implement the API too.  Easy for non-programmers. Lots of cool uses of the API in existing applications. The AWS Management console. ElasticFox– a Firefox Plugin allows you to manage your EC2 instances and spawn new ones, among other things. Many others.
Benefits EBS Volumes Easily add more storage to your instance as needed. EBS Volumes are block devices that attach to your instance as a device (/dev/sdc).  Format it yourself with your filesystem preferences and mount it where you prefer. Unmount it and move it to different instances But only in the same zone. I/O rates are significantly higher than the default filesystem on instances.  Good for MySQL, … or any critical data that is accessed frequently. If your instance is terminated, the data on your EBS volume is still available and can be mounted somewhere else.
Various Tips Embrace the EC2/ELB API and their equivalent shell scripts.   They will make your life easy. Packages for the shell scripts are available for quick install under most Linux distributions. Use them to perform actions on initial instance startup. You can use wget to fetch various instance properties from Amazon (instance ID, …) Fine tune your image builds for deployments Keep an ‘image building server’ running to update your custom image builds as necessary. Optimize, test, rebuild, … Rsync – essential tool.    When you build a custom AMI it will have your source tree (at the time you build it), if you deploy updates to your source tree, new images you spin up will have old code.  Rsync your source tree at boot time to make sure. SSH – essential tool.    Use private key authentication and automate maintenance or statistics related actions as needed.
Cloud Computing: Doing it wrong. 50 ssh sessions open on your desktop: bad.
Cloud Computing: Doing it right Spin up an instance and never worry about it.    It should automatically join a load balancer and serve requests. It should have current source trees for your application - thanks to rsync. Your MySQL replication should magically succeed with your refined custom image build. There are some tricks to this, but you have some options. It is worth mentioning that Amazon now has a relational database service (Amazon RDS) with supported database engines such as MySQL.  It will actually provide asynchronous replication for you. Or various equivalent issues for your own application.  The point is that things should be automatic and they should work again and again. Pay attention.  Use scripts with the EC2/ELB API’s to monitor the status of your instances so you can uncover any issues that need resolution. Also to kill servers you don’t need. Or to spin up servers because you need more. Debug servers that have a problem so you can fix it and build an updated AMI if necessary. For example, check the number of HTTPD processes running. Or the number of MySQL threads running. Or the amount of space left on your instance partitions. Or …
Thanks! Download this presentation and some example scripts from http://adcloudmedia.com/AWS-Startup/ Poll a load balancer and query the status of server instances associated with it. Associate the current instance ID with a load balancer (useful for startup RC scripts). Disassociate instances from a load balancer and terminate them (useful for shutdown RC scripts).

Más contenido relacionado

Destacado

Continuous Integration and Deployment Best Practices on AWS
 Continuous Integration and Deployment Best Practices on AWS  Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS Amazon Web Services
 
High Availability Websites: part two
High Availability Websites: part twoHigh Availability Websites: part two
High Availability Websites: part twoAmazon Web Services
 
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...Amazon Web Services
 
AWS Customer Presentation - qlik Tech
AWS Customer Presentation - qlik TechAWS Customer Presentation - qlik Tech
AWS Customer Presentation - qlik TechAmazon Web Services
 
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWS
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWSAWS Summit Stockholm 2014 – T3 – disaster recovery on AWS
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWSAmazon Web Services
 
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and Future
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and FutureAWS Customer Presentation - NASA JPL Pervasive Cloud Now and Future
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and FutureAmazon Web Services
 
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012AWS Customer Presentation: Washington Post - AWS NYC Summit 2012
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012Amazon Web Services
 
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014Amazon Web Services
 
AWS Webcast - Intro to DevOps: Using Amazon RDS with AWS OpsWorks
AWS Webcast - Intro to DevOps:  Using Amazon RDS with AWS OpsWorksAWS Webcast - Intro to DevOps:  Using Amazon RDS with AWS OpsWorks
AWS Webcast - Intro to DevOps: Using Amazon RDS with AWS OpsWorksAmazon Web Services
 
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWS
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWSAWS Summit Stockholm 2014 – T4 – Continuous integration on AWS
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWSAmazon Web Services
 
High Availability Websites: part one
High Availability Websites: part oneHigh Availability Websites: part one
High Availability Websites: part oneAmazon Web Services
 
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWS
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWSAWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWS
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWSAmazon Web Services
 
AWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the CloudAWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the CloudAmazon Web Services
 
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...Amazon Web Services
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSAmazon Web Services
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAmazon Web Services
 
Pre-launch Checklist for Going Production on AWS
Pre-launch Checklist for Going Production on AWS Pre-launch Checklist for Going Production on AWS
Pre-launch Checklist for Going Production on AWS Amazon Web Services
 

Destacado (20)

Continuous Integration and Deployment Best Practices on AWS
 Continuous Integration and Deployment Best Practices on AWS  Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Keynote - Werner Vogels
Keynote - Werner Vogels Keynote - Werner Vogels
Keynote - Werner Vogels
 
High Availability Websites: part two
High Availability Websites: part twoHigh Availability Websites: part two
High Availability Websites: part two
 
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...
AWS Public Sector Symposium 2014 Canberra | Getting Started with AWS for Gove...
 
AWS Customer Presentation - qlik Tech
AWS Customer Presentation - qlik TechAWS Customer Presentation - qlik Tech
AWS Customer Presentation - qlik Tech
 
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWS
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWSAWS Summit Stockholm 2014 – T3 – disaster recovery on AWS
AWS Summit Stockholm 2014 – T3 – disaster recovery on AWS
 
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and Future
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and FutureAWS Customer Presentation - NASA JPL Pervasive Cloud Now and Future
AWS Customer Presentation - NASA JPL Pervasive Cloud Now and Future
 
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012AWS Customer Presentation: Washington Post - AWS NYC Summit 2012
AWS Customer Presentation: Washington Post - AWS NYC Summit 2012
 
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014
(GAM304) How Riot Games re:Invented Their AWS Model | AWS re:Invent 2014
 
AWS Webcast - Intro to DevOps: Using Amazon RDS with AWS OpsWorks
AWS Webcast - Intro to DevOps:  Using Amazon RDS with AWS OpsWorksAWS Webcast - Intro to DevOps:  Using Amazon RDS with AWS OpsWorks
AWS Webcast - Intro to DevOps: Using Amazon RDS with AWS OpsWorks
 
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWS
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWSAWS Summit Stockholm 2014 – T4 – Continuous integration on AWS
AWS Summit Stockholm 2014 – T4 – Continuous integration on AWS
 
High Availability Websites: part one
High Availability Websites: part oneHigh Availability Websites: part one
High Availability Websites: part one
 
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWS
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWSAWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWS
AWS Summit Stockholm 2014 – B3 – Integrating on-premises workloads with AWS
 
AWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the CloudAWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the Cloud
 
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...
(BAC208) Bursting to the Cloud: Deploying a Hybrid Cloud Storage Solution wit...
 
AWS Webcast - Disaster Recovery
AWS Webcast - Disaster RecoveryAWS Webcast - Disaster Recovery
AWS Webcast - Disaster Recovery
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Aws Security Overview
Aws Security OverviewAws Security Overview
Aws Security Overview
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
Pre-launch Checklist for Going Production on AWS
Pre-launch Checklist for Going Production on AWS Pre-launch Checklist for Going Production on AWS
Pre-launch Checklist for Going Production on AWS
 

Más de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Último

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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...Miguel Araújo
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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.pptxHampshireHUG
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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 organizationRadu Cotescu
 

Último (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 

AWS Customer Presentation - adcloud

  • 1. AWS Start-Up Conference 6/2010 Effective Cloud Computing at Amazon: The benefits and the challenges. joshua@adcloudmedia.com
  • 2. Challenges – What can you expect? System issues Reasonable OS selections for most. Various Linux distributions are available including: Fedora, Gentoo, openSUSE, Ubuntu, Debian, Redhat Enterprise. Other options include OpenSolaris and Windows. No BSD distributions though. Some vendors don’t keep builds current (Fedora 8? Really?) In most cases, you can update system binaries to recent builds. It is nonetheless moderately inconvenient and can be a time consuming process. Some do stay current. Ubuntu, for example, stays up to date. A number of Amazon Partner provided images are provided by various software vendors. Oracle, MySQL images, IBM DB2, Informix AMIs. Apache, IIS/ASP.NET, Websphere AMIs. No custom kernel builds. But you can build kernel modules. These may be useful if you’re implementing some sort of clustering filesystem across your instance nodes, or any other lower level implementation. Redhat Enterprise beta is nice but it does have additional costs apart from Amazon EC2 instance costs. Large server deployments may become significantly more expensive.
  • 3. Challenges – What can you expect? Mail (SMTP) issues. Amazon IP blocks are on many blacklists. Why? Relay your SMTP mail through a third party host. Not a huge deal, but an inconvenience regardless. Service providers for this - usually cheap and provide other helpful options like Anti Spam and Virus filtering for your inbound mail too. Depending on your business or application, your servers being associated with an IP blacklist may have an adverse effect on your business apart from your mail. Various web proxies and security appliances implement blacklist filtering. Some even use IP blacklists related to spam for HTTP filtering. Amazon is actively addressing the issue So it should be fixed soon.
  • 4. Challenges – What can you expect? Elastic Load Balancer issues. Client (Source) IP address in HTTP requests come to you as the Elastic Load Balancer IP. Reference the HTTP X-FORWARDED-FOR header for the actual client IP address. Be wary of possible HTTP request header forgery. Amazon Load Balancers will append to HTTP X-FORWARDED-FOR request headers; not overwrite them. Client (Source) IP address in an HTTPS configured Elastic Load Balancer not readily available in the HTTP header. Elastic Load Balancers configured for HTTPS use don’t work at the HTTP protocol level (man in the middle issues) and use TCP instead. Referencing the Source IP address can be tricky but is possible using cookies/sessions before the HTTPS connection is established. Possibly there are other methods. Apache, lighttpd, nginx Log File Formats to store X-FORWARDED-FOR address.
  • 5. Don’t panic Despite a few of the previously mentioned inconveniences - the technology is sound, stable and actively supported and widely used across the globe by a huge community of users and contributors.
  • 6. Benefits Seamless scaling for your application’s demand. Easily handle massive volume at peak times and automatically scale down during slower periods. Know your traffic patterns. Cheap. Cheaper if you do it right. Even cheaper if you pre-pay instances too. You have to keep your eye on these expenses. Optimize your servers for the purpose of running as few as possible.
  • 7. Benefits Amazon Elastic Load Balancing Other major cloud service vendors don’t offer load balancing. Managing your own redundant load balancers involves overhead (and paranoia). Hold up well under extreme conditions – our peak was 330 million HTTP requests in one day earlier this month. Super cheap. $0.025 per hour. API interaction with Elastic Load Balancers. Use shell scripts or code to perform tasks related to your load balancer and it’s associated amazon server instances.
  • 8. Benefits Custom Image Builds Build your custom image (AMI) and deploy it across your network with ease. Roll back to previous image builds if there is a problem. Easily test and deploy your server optimizations. You can do all of this with a small shell script.
  • 9. Benefits APIs EC2 API Manage your EC2 instances – spawn new instances, terminate existing instances, manage your keys, security groups, … Shell scripts implement the API too. Easy for non-programmers who have basic Linux shell scripting skills. Elastic Load Balancer (ELB) API Manage your Load Balancers easily, their configurations, their associated instances easily. Shell scripts implement the API too. Easy for non-programmers. Lots of cool uses of the API in existing applications. The AWS Management console. ElasticFox– a Firefox Plugin allows you to manage your EC2 instances and spawn new ones, among other things. Many others.
  • 10. Benefits EBS Volumes Easily add more storage to your instance as needed. EBS Volumes are block devices that attach to your instance as a device (/dev/sdc). Format it yourself with your filesystem preferences and mount it where you prefer. Unmount it and move it to different instances But only in the same zone. I/O rates are significantly higher than the default filesystem on instances. Good for MySQL, … or any critical data that is accessed frequently. If your instance is terminated, the data on your EBS volume is still available and can be mounted somewhere else.
  • 11. Various Tips Embrace the EC2/ELB API and their equivalent shell scripts. They will make your life easy. Packages for the shell scripts are available for quick install under most Linux distributions. Use them to perform actions on initial instance startup. You can use wget to fetch various instance properties from Amazon (instance ID, …) Fine tune your image builds for deployments Keep an ‘image building server’ running to update your custom image builds as necessary. Optimize, test, rebuild, … Rsync – essential tool. When you build a custom AMI it will have your source tree (at the time you build it), if you deploy updates to your source tree, new images you spin up will have old code. Rsync your source tree at boot time to make sure. SSH – essential tool. Use private key authentication and automate maintenance or statistics related actions as needed.
  • 12. Cloud Computing: Doing it wrong. 50 ssh sessions open on your desktop: bad.
  • 13. Cloud Computing: Doing it right Spin up an instance and never worry about it. It should automatically join a load balancer and serve requests. It should have current source trees for your application - thanks to rsync. Your MySQL replication should magically succeed with your refined custom image build. There are some tricks to this, but you have some options. It is worth mentioning that Amazon now has a relational database service (Amazon RDS) with supported database engines such as MySQL. It will actually provide asynchronous replication for you. Or various equivalent issues for your own application. The point is that things should be automatic and they should work again and again. Pay attention. Use scripts with the EC2/ELB API’s to monitor the status of your instances so you can uncover any issues that need resolution. Also to kill servers you don’t need. Or to spin up servers because you need more. Debug servers that have a problem so you can fix it and build an updated AMI if necessary. For example, check the number of HTTPD processes running. Or the number of MySQL threads running. Or the amount of space left on your instance partitions. Or …
  • 14. Thanks! Download this presentation and some example scripts from http://adcloudmedia.com/AWS-Startup/ Poll a load balancer and query the status of server instances associated with it. Associate the current instance ID with a load balancer (useful for startup RC scripts). Disassociate instances from a load balancer and terminate them (useful for shutdown RC scripts).