SlideShare a Scribd company logo
1 of 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).

More Related Content

Viewers also liked

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
 

Viewers also liked (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
 

More from 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
 

More from 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
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

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