Lets SAAS-ify that Desktop Application



Similar documents
CUMULUX WHICH CLOUD PLATFORM IS RIGHT FOR YOU? COMPARING CLOUD PLATFORMS. Review Business and Technology Series

Cloud computing - Architecting in the cloud

Cloudfork. cloud computing using Smalltalk. Ernest Micklei & Jan van de Sandt ESUG 2009, Brest, France

Développement logiciel pour le Cloud (TLC)

Cloud Computing. Chapter 1 Introducing Cloud Computing

Scalable Architecture on Amazon AWS Cloud

Cloud Computing. Adam Barker

ur skills.com

Cloud Computing. Chapter 1 Introducing Cloud Computing

White Paper on CLOUD COMPUTING

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

Session 3. the Cloud Stack, SaaS, PaaS, IaaS

When talking about hosting

NCTA Cloud Architecture

Cloud Computing. Chapter 1 Introducing Cloud Computing

CLOUD COMPUTING & WINDOWS AZURE

ArcGIS for Server: In the Cloud

Building Success on Acquia Cloud:

Cloud Computing. Chapter 1 Introducing Cloud Computing

Cloud Computing Now and the Future Development of the IaaS

TECHNOLOGY WHITE PAPER Jan 2016

TECHNOLOGY WHITE PAPER Jun 2012

Research Paper Available online at: A COMPARATIVE STUDY OF CLOUD COMPUTING SERVICE PROVIDERS

Open Cloud System. (Integration of Eucalyptus, Hadoop and AppScale into deployment of University Private Cloud)

Outline. What is cloud computing? History Cloud service models Cloud deployment forms Advantages/disadvantages

Cloud Computing Summary and Preparation for Examination

Middleware and Web Services Lecture 11: Cloud Computing Concepts

Introduction What is the cloud

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

Cloud Computing: Making the right choices

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

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

MANAGE YOUR AMAZON AWS ASSETS USING BOTO

Using Cloud Services for Test Environments A case study of the use of Amazon EC2

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

An Introduction to Cloud Computing Concepts

The Scenario: Priority Matrix for Cloud Computing

How AWS Pricing Works May 2015

OTM in the Cloud. Ryan Haney

Migration Scenario: Migrating Batch Processes to the AWS Cloud

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

How AWS Pricing Works

CHAPTER 8 CLOUD COMPUTING

Virtualization Technologies in SCADA/EMS/DMS/OMS. Vendor perspective Norman Sabelli Ventyx, an ABB company

Getting Started with Cloud Computing: Amazon EC2 on Red Hat Enterprise Linux

Cloud Computing 101 Dissipating the Fog 2012/Dec/xx Grid-Interop 2012

Modeling Public Pensions with Mathematica and Python II

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

Cloud Computing For Bioinformatics

Cloud Computing An Elephant In The Dark

Choosing the Right Cloud Provider for Your Business


MoMoD-Cloud Movie Mobile on Demand by Cloud

Amazon Cloud Storage Options

Ø Teaching Evaluations. q Open March 3 through 16. Ø Final Exam. q Thursday, March 19, 4-7PM. Ø 2 flavors: q Public Cloud, available to public

SECURE BACKUP SYSTEM DESKTOP AND MOBILE-PHONE SECURE BACKUP SYSTEM HOSTED ON A STORAGE CLOUD

Amazon AWS in.net. Presented by: Scott Reed

Technology and Cost Considerations for Cloud Deployment: Amazon Elastic Compute Cloud (EC2) Case Study

Storage Options in the AWS Cloud: Use Cases

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

Deploying ArcGIS for Server Using Esri Managed Services

Contents. What is Cloud Computing? Why Cloud computing? Cloud Anatomy Cloud computing technology Cloud computing products and market

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

Cloud Models and Platforms

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

Data Centers and Cloud Computing. Data Centers

A Comparative Study Of Cloud Environments and the Development of a Framework for the Automatic Deployment of Scalable Cloud-Based Applications

Deploying ArcGIS for Server using Managed Services

VIRTUALIZATION IS NOT THE CLOUD AN ANALYSIS OF THE GAPS BETWEEN VIRTUALIZATION AND CLOUD COMPUTING

Cloud Computing Services and its Application

Servers. Servers. NAT Public Subnet: /20. Internet Gateway. VPC Gateway VPC: /16

Efficient Network Marketing - Fabien Hermenier A.M.a.a.a.C.

Rapid Application Development

THE WINDOWS AZURE PROGRAMMING MODEL

Cloud Computing an introduction

Cloud Computing Paradigm Shift. Jan Šedivý

Have We Really Understood the Cloud Yet?

Enhancing Operational Capacities and Capabilities through Cloud Technologies

Cloud Computing & Hosting Solutions

Unisys Cost Schedule. Unisys Cost Schedule. Page 1

Cloud Computing and Internet Services. Wei-Ying Ma ( 马 维 英 博 士 ) Principal Researcher, Research Area Manager Microsoft Research Asia

Scalable Application. Mikalai Alimenkou

Platforms in the Cloud

BI in the Cloud Sky is the limit

Chapter 9 PUBLIC CLOUD LABORATORY. Sucha Smanchat, PhD. Faculty of Information Technology. King Mongkut s University of Technology North Bangkok

Intro to AWS: Storage Services

NCTA Cloud Operations

AVLOR SERVER CLOUD RECOVERY

Clouds for Different Services

Cloud Panel Service Evaluation Scenarios

A programming model in Cloud: MapReduce

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

DLT Solutions and Amazon Web Services

International Journal of Scientific & Engineering Research, Volume 6, Issue 4, April ISSN

E-Business Technology

Amazon Web Services Building in the Cloud

Overview. The Cloud. Characteristics and usage of the cloud Realities and risks of the cloud

2) Xen Hypervisor 3) UEC

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

CLOUD COMPUTING. When it's smarter to rent than to buy.. Presented by Anand Tirumani

Transcription:

Lets SAAS-ify that Desktop Application Chirag Jog Clogeny 1

About me o Chirag Jog o Computer Science Passout, PICT o Currently CTO at Clogeny Technologies. o Working on some cutting-edge Products in Cloud Computing. o chirag.jog@gmail.com 2

Agenda o Traditional Web Setup o Difference between IaaS, PaaS and SaaS o Different ways to SaaS ify o Advantages of PaaS o Real life Scenario o Advantages of IaaS o Using IaaS to SaaS ify o Using Amazon Web Services as an example for deployment o Improving Business Logic o Conclusion 3

Traditional Web 1.0 setup Source : http://onsaas.net/wp-content/uploads/2008/06/iaas-paassaas.png 4

IaaS http://www.keithpij.com/home/tabid/36/ctl/terms/default.aspx 5

PaaS 6

SaaS 7

Different ways to SaaS ify SaaS SaaS SaaS Shared Infrastructure Platform As A Service Infrastructure As A Service Hosting companies and solutions. AppEngine, Force.com Amazon s AWS, Rackspace 8

Different ways to SaaS ify SaaS SaaS SaaS Shared Infrastructure Platform As A Service Infrastructure As A Service Hosting companies and solutions. AppEngine, Force.com Amazon s AWS, Rackspace 9

Advantages of PaaS o Developers can focus on development and innovation without worrying about the infrastructure. o No up-front investment in hardware and software means lower risk. o Developers only need a PC and an Internet connection to start building applications. o The PaaS provider manages upgrades, patches, and other routine system maintenance. o PaaS upgrades will not break the applications running on it. o Obvious Advantages of Cloud i.e scalability, reliability etc 10

Real Life!! o Application already developed in pre-cloud days. o Developed for Desktop Environments. o Depend on specific libraries that PaaS solutions do not provide. o Using PaaS would require re-writing major chunks of code. o Problems with re-write: o Existing Code has been stabilized over months and years. o Extensive testing needs to be done. o Time to Market takes a drastic hit. o Specific library support might been missing. 11

Real Example of Application o Code written entirely in C/C++ Language. o Using math libraries for doing complex calculations. o Results generated in terms of Graphs and Charts. o Desire to have wider customer reach. o Want to hook up this application to a portal. 12

Different ways to SaaS ify SaaS SaaS SaaS Shared Infrastructure Platform As A Service Infrastructure As A Service Hosting companies and solutions. AppEngine, Force.com Amazon s AWS, Rackspace 13

Advantages of IaaS o Well-tested environment available. o Directly deploy the existing application onto the Cloud Server with no modifications. o All required dependencies can be resolved easily by installing required libraries. o Minimal modifications to convert the existing solution to Client-Server model. o Easily provide a front-end from web portal or such. 14

Using IaaS to SaaS ify the App o Scenario : Stand-alone Desktop Application o Steps involved are: o Convert stand-alone application to serverapplication model. o Introduce Cloud Element. o Add business logic via Cloud o Link Portal /outside world interface to this system. o Test!! 15

Client-Server Architecture LAMP Stack 16

Cloud Component Web Server Amazon EC2 Cloud Amazon Web Services: 1. Elastic Computing. 2. Simple Queue Service (SQS) 3. Simple Storage Service. (S3) 4. Automatic Scaling. (AS) 17

Using Amazon Web Services o Elastic Compute (EC2) o Simple Queue Service (SQS) o Simple Storage Service (S3) o Automatic Scaling (AS) 18

Amazon Simple Queue Service(SQS) o Distributed Queue System enabling web services applications to communicate. o Queue acts as an unlimited buffer No Producer- Consumer Problem. o Multiple writers and readers o Variable message size o Unlimited queues and messages o Access control o Redundant infrastructure 19

Amazon Simple Queue Service(SQS) API o CreateQueue Creates a queue with specific QueueName. o SendMessage send message (PUSH) o ReceiveMessage receive message from queue (PULL) o DeleteQueue Delete a queue (All messages in the queue lost) 20

Amazon Simple Storage Service(S3) o Useful for file serving (multimedia, documents) reducing load on compute servers. o Storage for the internet. o Makes web-scale computing easier. o Data is stored in buckets. o Data is stored or retrieved using a key, value pair. o Simple REST/SOAP Apis to retrieve and store data. o Access Control. 21

Amazon Simple Storage Service(S3) basic APIs o PUT Bucket Creates a new bucket o Creates samplebucket.s3.amazonaws.com o GET Bucket Lists information about bucket. o PUT object put object into the bucket o GET object retrieve object o DELETE object Deletes the object o DELETE bucket delete associated attributes or the buckets themselves 22

Web Server Simple Cloud Design Queue request to Server using SQS Store result Blob in S3 Queue response back to client using SQS EC2 Server instance runs the software/application 23

Improving Business Logic o Auto scalability to load balance. o Multiple classes of users. o Top Class user does not have to wait. o Lower class users request is queued. o Extension : Multiple queues to service multiple classes 24

Amazon Automatic Scaling(AS) o Automatically add compute capacity when application usage rises and remove it when usage drops. o Predefined triggers and thresholds. o Triggers are based on parameters like bandwidth usage or CPU Utilization. o Triggers are based on data collected from Amazon s CloudWatch Monitoring Tool. o Works across multiple Availability zones. 25

Amazon Automatic Scaling(AS) API o as-create-launch-config Create a group of EC2 instances of which the application will run. o as-create-auto-scaling-group - This call sets the parameters that governs when and how to scale up and down an Auto Scaling group. o as-create-or-update-trigger Create the triggers to indicate when to scale up or down. 26

Improving Business Logic Support Multiple Classes of Users. Use Amazon s Automatic Scaling (AS) 27

Costs! o Cheapest EC2 Linux Instance - $0.085/hour o Amazon s Auto scaling is free. Charges only for using Amazon s CloudWatch. o Amazon s SQS o No charges for the first 100,000 Amazon SQS Requests. o $0.01 per 10,000 Amazon SQS Requests o Amazon s S3 o Storage Used: $0.15 per GB-Month of storage. o Network Data Transferred: $0.20 per GB of data transferred. 28

Reducing Vendor Tie-in o Reduce dependency on vendor specific services. o Replace SQS with Apache ActiveMQ o Replace CloudWatch with Hyperic o Implement your own Auto Scaling Logic. 29

Conclusion Effectively deploy your application without major modifications. Run the application is original environment itself. Add some more useful business logic to service different class of users. Obvious Advantages of Cloud Computing applicable Pay only for what you use. Scale up/down based on load Design to make system more robust 30

Questions and Comments 31