EEDC. Scalability Study of web apps in AWS. Execution Environments for Distributed Computing

Similar documents
Scalable Application. Mikalai Alimenkou

Razvoj Java aplikacija u Amazon AWS Cloud: Praktična demonstracija

ur skills.com

AWS Performance Tuning

Thing Big: How to Scale Your Own Internet of Things.

Netop Environment Security. Unified security to all Netop products while leveraging the benefits of cloud computing

The Cloud as a Computing Platform: Options for the Enterprise

CLOUD COMPUTING WITH AWS An INTRODUCTION. John Hildebrandt Solutions Architect ANZ

AIST Data Symposium. Ed Lenta. Managing Director, ANZ Amazon Web Services

Amazon Elastic Beanstalk

Introduction to AWS in Higher Ed

How AWS Pricing Works May 2015

TECHNOLOGY WHITE PAPER Jan 2016

Scaling in the Cloud with AWS. By: Eli White (CTO & mojolive) eliw.com - mojolive.com

Cloud Computing with Amazon Web Services and the DevOps Methodology.

TECHNOLOGY WHITE PAPER Jun 2012

A Comparison of Clouds: Amazon Web Services, Windows Azure, Google Cloud Platform, VMWare and Others (Fall 2012)

Scalable Architecture on Amazon AWS Cloud

Primex Wireless OneVue Architecture Statement

Last time. Today. IaaS Providers. Amazon Web Services, overview

Using ArcGIS for Server in the Amazon Cloud

How AWS Pricing Works

Using ArcGIS for Server in the Amazon Cloud

How To Manage An Orgsync Database On An Amazon Cloud 2 Instance

Amazon Web Services Primer. William Strickland COP 6938 Fall 2012 University of Central Florida

Cloud and the future of Unemployment Sean Rhody, CTO Capgemini Government Solutions

Last time. Today. IaaS Providers. Amazon Web Services, overview

The Scenario: Priority Matrix for Cloud Computing

How To Use Aws.Com

CLOUD COMPUTING & DIGITAL CUSTOMER EXPERIENCE. Nicola Previati Territory Manager Italy

Preparing Your IT for the Holidays. A quick start guide to take your e-commerce to the Cloud

Cloud Computing Benefits for Educational Institutions

Cloud computing - Architecting in the cloud

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

Scalability in the Cloud HPC Convergence with Big Data in Design, Engineering, Manufacturing

GIS and the Cloud. Richard Cantwell

Microservices on AWS

Amazon Web Services Annual ALGIM Conference. Tim Dacombe-Bird Regional Sales Manager Amazon Web Services New Zealand

Service Organization Controls 3 Report

AWS IaaS Services. Methods Digital GCloud Service Definition

Introduction to Cloud computing. Viet Tran

Chapter 3 Cloud Infrastructure. Cloud Computing: Theory and Practice. 1

!"#$%&'()*'+),-./)0' 9##+':,%-.;),0'

Amazon Web Services Student Tutorial

Amazon Web Services: a Case Study Course: Business Process for IT Services 2012, EPFL

CONNECTRIA MANAGED AMAZON WEB SERVICES (AWS)

Développement logiciel pour le Cloud (TLC)

HADOOP BIG DATA DEVELOPER TRAINING AGENDA

Running Oracle Applications on AWS

Public Cloud Offerings and Private Cloud Options. Week 2 Lecture 4. M. Ali Babar

Enterprise Cloud Computing with AWS. for internal partner use only

How To Scale A Server Farm

Introduction to DevOps on AWS

Introduction to Cloud Computing on Amazon Web Services (AWS) with focus on EC2 and S3. Horst Lueck

Amazon Web Services. Elastic Compute Cloud (EC2) and more...

Getting Started with SAP BI on AWS

ArcGIS for Server: In the Cloud

AWS Directory Service. Simple AD Administration Guide Version 1.0

SOC on Amazon Web Services (AWS) What You Need To Know Understanding the regulatory roadmap for SOC on AWS

Fault-Tolerant Computer System Design ECE 695/CS 590. Putting it All Together

Service Organization Controls 3 Report

Web Application Deployment in the Cloud Using Amazon Web Services From Infancy to Maturity

Opsview in the Cloud. Monitoring with Amazon Web Services. Opsview Technical Overview

Getting Started with AWS. Web Application Hosting for Linux

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

LONDON. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

PCI on Amazon Web Services (AWS) What You Need To Know Understanding the regulatory roadmap for PCI on AWS

Background on Elastic Compute Cloud (EC2) AMI s to choose from including servers hosted on different Linux distros

Cloud Compu)ng. [Stephan Bergemann, Björn Bi2ns] IP 2011, Virrat

AWS Cloud for HPC and Big Data

PV213 Enterprise Information Systems in Practice 07 - Architecture of the EIS in the cloud

Building. Applications. in the Cloud. Concepts, Patterns, and Projects. AAddison-Wesley. Christopher M. Mo^ar. Cape Town Sydney.

Innovative Geschäftsmodelle Ermöglicht durch die AWS Cloud

Architecture Statement

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

EXECUTIVE SUMMARY CONTENTS. 1. Summary 2. Objectives 3. Methodology and Approach 4. Results 5. Next Steps 6. Glossary 7. Appendix. 1.

Introduction to Amazon Web Services! Leo Senior Solutions Architect

Designing Apps for Amazon Web Services

Getting Started with AWS. Computing Basics for Linux

Amazon Web Services Yu Xiao

Big Data on AWS. Services Overview. Bernie Nallamotu Principle Solutions Architect

Systems Integration in the Cloud Era with Apache Camel. Kai Wähner, Principal Consultant

DLT Solutions and Amazon Web Services

Design for Failure High Availability Architectures using AWS

Web Application Hosting in the AWS Cloud Best Practices

/ Cloud Computing. Recitation 5 September 29 th & October 1 st 2015

Making Your ColdFusion Apps Highly Available. Brian Klaas Johns Hopkins Bloomberg School of Public Health

Cloud Computing In Reality: Experience sharing in cloud solution developments and evaluations

ColdFusion 10 in the Amazon AWS Cloud. Sven Ramuschkat tecracer GmbH

Infrastructure Clouds for Science and Education: Platform Tools

Scaling Applications on the Cloud

Logentries Insights: The State of Log Management & Analytics for AWS

Cloud Computing For Bioinformatics

Amazon AWS in.net. Presented by: Scott Reed

Transcription:

EEDC Execution Environments for Distributed Computing 34330 Master in Computer Architecture, Networks and Systems - CANS Scalability Study of web apps in AWS Sergio Mendoza sergio.mendoza@est.fib.upc.edu

Outline Introduction Common web application architectures Going Large-Scale on AWS Scalability Study Conclusions 2

Outline Introduction Scalability Context Motivation Common web application architectures Going Large-Scale on AWS Scalability Study Conclusions 3

Introduction Scalability Context 1. You have an idea 2. You implement that idea 3. You want to share/sell that idea 4

Introduction Scalability Context 1. You have an idea 2. You implement that idea 3. You want to share/sell that idea 5

Introduction Scalability Context 1. You have an idea 2. You implement that idea 3. You want to share/sell that idea Will the project succeed? How many persons will use it? How many hardware will I need? 6

Introduction Scalability Context 1. You have an idea 2. You implement that idea 3. You want to share/sell that idea Will the project succeed? How many persons will use it? How much hardware will I need? 7

Introduction Motivation Avoid financial risks How will you avoid financial risks? With Cloud s help Just paying for what I use 8

Outline Introduction Common web application architectures Running on a Single Server Running a Separate DB & Media Server Implementing Load Balancing & Redundancy Going Large-Scale Going Large-Scale on AWS Scalability Study Conclusions 9

Common web application architectures Running on a Single Server Web application implemented in Django 10

Common web application architectures Running a Separate DB & Media Server 11

Common web application architectures Implementing Load Balancing and Redundancy 12

Common web application architectures Going Large-Scale 13

Outline Introduction Common web application architectures Going Large-Scale on AWS Think Large-Scale from the beginning Principles of Elastic Cloud Architecture AWS Large-Scale design Scalability Study Conclusions 14

Going Large-Scale on AWS Thinking Large-Scale Users can scale exponentially any time Your system must be prepared to handle it 15

Going Large-Scale on AWS Thinking Large-Scale Users can scale exponentially any time Your system must be prepared to handle it Why don t think Large-Scale from the beginning? (IAAS provider manage resources on-demand!!) 16

Principles of Elastic Cloud Architecture The Web Application has to be Resistant to reboot and re-launch Stateless Installable into an AMI (Amazon Machine Images) Web Server 17

Principles of Elastic Cloud Architecture The Web Application has to be Resistant to reboot and re-launch Stateless Installable into an AMI (Amazon Machine Images) Web Server User 18

Principles of Elastic Cloud Architecture The Web Application has to be Resistant to reboot and re-launch Stateless Installable into an AMI (Amazon Machine Images) Other Linux (400) Ubuntu (262) Windows (78) Red Hat (36) Cent OS (33) OpenSolaris (19) Fedora (18) Amazon Linux (9) Web Application OpenSUSE (7) Debian (6) Gentoo (5) 19

AWS Large-Scale design Objective Design scalable architecture in Amazon 20

AWS Large-Scale design Rules to follow: 1. Put as much as possible in AWS managed services 2. Put the rest in your own EC2 instances AWS will take care of scaling and availability!!! 21

AWS Large-Scale design Rules to follow: 1. Put as much as possible in AWS managed services 2. Put the rest in your own EC2 instances AWS YOU will take care of scaling and availability!!! 22

AWS Large-Scale design Choosing the services Compute Amazon Elastic Compute Cloud (EC2) Amazon Elastic MapReduce Auto Scaling Elastic Load Balancing Content Delivery Amazon CloudFront Database Amazon Relational Database Service (RDS) Amazon DynamoDB Amazon SimpleDB Amazon ElastiCache Deployment & Management AWS Identity and Access Management (IAM) Amazon CloudWatch AWS Elastic Beanstalk AWS CloudFormation Application Services Amazon CloudSearch Amazon Simple Workflow Service (SWF) Amazon Simple Queue Service (SQS) Amazon Simple Notification Service (SNS) Amazon Simple Email Service (SES) Networking Amazon Route 53 Amazon Virtual Private Cloud (VPC) AWS Direct Connect Storage Amazon Simple Storage Service (S3) Amazon Elastic Block Store (EBS) AWS Import/Export AWS Storage Gateway 23

AWS Large-Scale design AWS Elastic Compute Cloud (EC2): Virtual Machine Instances Different instances can run the same image Elastic capacity Reliable environment 24

AWS Large-Scale design AWS Auto-Scaling: Switches ON/OFF EC2 VM instances Configurable mininum/maximum number of instances Scales Up&down EC2 Instances EC2 Instances 25

AWS Large-Scale design AWS Elastic Load Balancing Setup the EC2 instances: Manual attaching of EC2 instances Automatic attaching with Auto-Scaling 26

AWS Large-Scale design AWS CloudWatch: Monitores AWS (EC2, RDS, EBS, ) Configurable Frequencies (every 1 min, 5 mins, ) Metrics (%CPU, DiskReadBytes, DiskWriteBytes ) Statistics Configurable Alarms 27

AWS Large-Scale design AWS Simple Storage Service (S3): Scalable storage Redundant storage Download files by: HTTP/HTTPS Web Service (REST & SOAP) BitTorrent Serving static files from S3 is cheaper&faster than from EC2 28

AWS Large-Scale design Large-Scale system on AWS Amazon EC2 Auto Scaling Elastic Load Balancing Amazon RDS Amazon CloudWatch Amazon S3 29

Outline Introduction Common web application architectures Going Large-Scale on AWS Scalability Study Conclusions 30

Studying Scalability Testing the web application 1. Load & performance tests with JMeter Web (HTTP, HTTPS) SOAP Database 2. Verify JMeter results 3. Verify CloudWatch statistics 4. Conclude how well Web Application scales 31

Studying Scalability Suggestion: Don t stress servers infinitely Amazon resources are infinite! Your cash probably not! 32

Outline Introduction Common web application architectures Going Large-Scale on AWS Scalability Study Conclusions 33

Conclusions The Cloud is for scalable Web Applications Each Web Applications has a specific architecture Adequate architecture pattern can save a lot of money Storing/moving data could be more expensive than running EC2 instances Be careful with AWS! Everything has a price! 34

EEDC Execution Environments for Distributed Computing 34330 Master in Computer Architecture, Networks and Systems - CANS Scalability Study of web apps in AWS Sergio Mendoza sergio.mendoza@est.fib.upc.edu