Scalable Application. Mikalai Alimenkou http://xpinjection.com 11.05.2012



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

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

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

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

ur skills.com

AWS Performance Tuning

Introduction to AWS in Higher Ed

Amazon Elastic Beanstalk

Scalable Architecture on Amazon AWS Cloud

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

How AWS Pricing Works May 2015

The Cloud as a Computing Platform: Options for the Enterprise

AWS IaaS Services. Methods Digital GCloud Service Definition

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

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

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

How AWS Pricing Works

TECHNOLOGY WHITE PAPER Jan 2016

How To Use Aws.Com

Design for Failure High Availability Architectures using AWS

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

TECHNOLOGY WHITE PAPER Jun 2012

Enterprise Cloud Computing with AWS. for internal partner use only

Getting Started with SAP BI on AWS

Cloud Computing with Amazon Web Services and the DevOps Methodology.

CONNECTRIA MANAGED AMAZON WEB SERVICES (AWS)

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

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

Amazon Web Services Student Tutorial

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

Using ArcGIS for Server in the Amazon Cloud

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

Storage Solutions in the AWS Cloud. Miles Ward Enterprise Solutions Architect

Microservices on AWS

Introduction to Amazon Web Services! Leo Senior Solutions Architect

Introduction to DevOps on AWS

Amazon EC2 Product Details Page 1 of 5

Primex Wireless OneVue Architecture Statement

The Scenario: Priority Matrix for Cloud Computing

Amazon Web Services. Lawrence Berkeley LabTech Conference 9/10/15. Jamie Baker Federal Scientific Account Manager AWS WWPS

Designing Apps for Amazon Web Services

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

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

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

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

Service Organization Controls 3 Report

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

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

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

There Are Clouds In Your Future. Jeff Barr Amazon Web (Twitter)

Cloud Computing Benefits for Educational Institutions

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

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

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

AWS Cloud for HPC and Big Data

Running Oracle Applications on AWS

Développement logiciel pour le Cloud (TLC)

Migration Scenario: Migrating Batch Processes to the AWS Cloud

Intro to AWS: Storage Services

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

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

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

Innovative Geschäftsmodelle Ermöglicht durch die AWS Cloud

Managed Amazon Web Services

AWS Account Setup and Services Overview

How To Choose Between A Relational Database Service From Aws.Com

Storage Options in the AWS Cloud: Use Cases

Learning Management Redefined. Acadox Infrastructure & Architecture

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

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

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

MarkLogic Server. MarkLogic Server on Amazon EC2 Guide. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

Cloud computing - Architecting in the cloud

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

Expand Your Infrastructure with the Elastic Cloud. Mark Ryland Chief Solutions Architect Jenn Steele Product Marketing Manager

MICROSTRATEGY ON AWS

OTM in the Cloud. Ryan Haney

Shadi Khalifa Database Systems Laboratory (DSL)

Amazon Simple Notification Service. Developer Guide API Version

Web Application Hosting in the AWS Cloud Best Practices

AWS Benefits, Regions & Across. Paul Yung Head of Territory Development HK, Macau & TW pyung@amazon.com

AWS Directory Service. Simple AD Administration Guide Version 1.0

How To Set Up Wiremock In Anhtml.Com On A Testnet On A Linux Server On A Microsoft Powerbook 2.5 (Powerbook) On A Powerbook 1.5 On A Macbook 2 (Powerbooks)

Cloud Computing For Bioinformatics

Deep Dive: Infrastructure as Code

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

Introduction to Cloud computing. Viet Tran

Service Organization Controls 3 Report

Amazon Cloud Storage Options

Transcription:

Scalable Application Development on AWS Mikalai Alimenkou http://xpinjection.com 11.05.2012

Background Java Technical Lead/Scrum Master at Zoral Labs 7+ years in software development 5+ years of working by Agile methodologies Expert in Agile engineering practices Founder and coach at XP Injection Organizer of Selenium Camp, JEEConf, XP Days Ukraine, IT Brunch conferences

No Future!

Cloud computing Scale capacity on demand Turn fixed costs into variable costs Clean APIs and conceptual models Always available Cost-effective Reduced time to market Focus on product

Interesting startup Completely in Java Customer wants to use AWS New project arrived

AWS structure Elastic Compute Cloud (EC2) Elastic Map Reduce (EMR) Auto Scaling Elastic Load Balancing Simple Storage Service (S3) Elastic Block Store (EBS) Import/Export Storage Gateway SimpleDB DynamoDB Relational Database Service (RDS) ElastiCache Compute Storage Database Route 53 Virtual Private Cloud (VPC) Direct Connect CloudFront Networking Simple Queue Service (SQS) Simple Notification Service (SNS) Simple Email Service (SES) Simple Workflow Service (SWS) CloudSearch App Services CloudWatch Elastic Beanstalk CloudFormation Identity and Access Management (IAM) Deployment

Why Java? Runs everywhere Full technological stack Lots of tools for scalability Many frameworks for cloud development

EC2 quick introduction $.08-$2.4 per server hour $.05 - $.12 per GB data transfer

Simple boot model Instant-store AMI Stateless Cheaper Better IO Easier to scale EBS boot AMI Stateful Stop/start support Quick migration Faster loading AMI Instance Cloud

Different API access levels AWS management console AWS console tools REST API clients Plugins to IDEs and browsers

Elasticfox my superhero!

Everything on AWS Infrastructure Testing Staging Production Monitoring

Easy and reliable server configuration with AMI No work for system administrator Any number of servers available No waits for hardware More experimenting and testing Easy security model Happiness

Look ma, no hands!

What about money?

EC2 charging model

What I have for such money? Testing Server DB Server Production Server

Ways to save money Good and responsible team Reuse instances when possible rounding usage time Release instances when not more needed Monitor and control running instances Use reserved instances for continuously running jobs

EC2 physical distribution

Hourly payment is invisible Instances are virtual Same type of machine, but different performance Instance not immediately available Images creation require magical skills No multicast messaging

Amazon cares about you and other people

Everything is unreliable Retry policies everywhere Timeouts for all operations Automatic recovery

EBS quick introduction Raw data volumes from 1GB to 1TB Replicated automatically Snapshots to S3 May be used with different instances

EBS architecture

EBS fault tolerance

EBS cost model Not so cheap Additional costs for snapshots in S3

EBS!= hard drive Slow for time critical tasks Bottleneck for Lucene indexing and DB Use parallel EBS volumes Separate data storage between EC2 instances Don t use RDS Limited to 1TB Virtual RAID Data distribution

S3 quick introduction $.055 - $.125 per GB month storage $.05 - $.12 per GB data transfer

Load balancing with JMS or AMQP JMS and AMQP are very scalable and flexible Costs are less than SQS (Simple Queue Service) Configurable load balancing

Deployment options

Self-distributed system Host manager works via Java AWS API Centralized deployment Code distribution to EC2 hosts

Reduce coupling to AWS

Conclusions AWS is great for startups or research projects AWS increases development speed in times It is easy to create scalable and highly available Java application on AWS Development, testing and production may be done on AWS AWS save development costs AWS support Agile developmernt approaches

Useful books

@xpinjection http://xpinjection.com mikalai.alimenkou@xpinjection.com