Cloud Computing ECE7650. Cloud Computing Case Study  At one extreme, sharing basic IT infrastructure  E.g Amazon’s EC2: an EC2 instance appears physical.

Slides:



Advertisements
Similar presentations
Lecture13 Intro. to Google App Engine Keke Chen Based on Guido van Rossums presentation.
Advertisements

Ivan Pleština Amazon Simple Storage Service (S3) Amazon Elastic Block Storage (EBS) Amazon Elastic Compute Cloud (EC2)
Ed Duguid with subject: MACE Cloud
Gold Sponsors Bronze Sponsors Silver Sponsors Taking SharePoint to the Cloud Aaron Saikovski Readify – Software Solution Specialist.
University of Notre Dame
Take your CMS to the cloud to lighten the load Brett Pollak Campus Web Office UC San Diego.
1 NETE4631 Cloud deployment models and migration Lecture Notes #4.
Cloud Computing Brandon Hixon Jonathan Moore. Cloud Computing Brandon Hixon What is Cloud Computing? How does it work? Jonathan Moore What are the key.
Infrastructure as a Service (IaaS) Amazon EC2
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 6 2/13/2015.
Overview Of Microsoft New Technology ENTER. Processing....
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
B UILDING M ULTI - TIER W EB A PPLICATIONS IN V IRTUAL E NVIRONMENTS.
Platform as a Service (PaaS)
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 21, 2011 Windows Azure—Overview.
Google App Engine Guido van Rossum Stanford EE380 Colloquium, Nov 5, 2008.
Plan Introduction What is Cloud Computing?
SharePoint Farm On Azure IAAS Prepared By : Prakhar Rastogi Premier Field engineer Microsoft India.
Cloud Computing using AWS C. Edward Chow. Advanced Internet & Web Systems chow2 Outline of the Talk Introduction to Cloud Computing AWS EC2 EC2 API A.
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Cloud Computing for the Enterprise November 18th, This work is licensed under a Creative Commons.
Cloud Computing Lesson 2: Basic Architecture Course Module by David S Platt Harvard University Extension School Lecture by Nilanjan Banerjee.
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over the Internet. Cloud is the metaphor for.
Lecture 8 – Platform as a Service. Introduction We have discussed the SPI model of Cloud Computing – IaaS – PaaS – SaaS.
Components of Windows Azure - more detail. Windows Azure Components Windows Azure PaaS ApplicationsWindows Azure Service Model Runtimes.NET 3.5/4, ASP.NET,
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
Meet with the AppEngine Márk Gergely eu.edge. What is AppEngine? It’s a tool, that lets you run your web applications on Google's infrastructure. –Google's.
Amazon Web Services BY, RAJESH KANDEPU. Introduction  Amazon Web Services is a collection of remote computing services that together make up a cloud.
Mostafa Abdollahi Mazandaran University Of Science And Technology January 2011.
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Webscale Computing Mike Culver Amazon Web Services.
Presented by: Mostafa Magdi. Contents Introduction. Cloud Computing Definition. Cloud Computing Characteristics. Cloud Computing Key features. Cost Virtualization.
Plan  Introduction  What is Cloud Computing?  Why is it called ‘’Cloud Computing’’?  Characteristics of Cloud Computing  Advantages of Cloud Computing.
How AWS Pricing Works Jinesh Varia Technology Evangelist.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
CLOUD WITH AMAZON. Amazon Web Services AWS is a collection of remote computing services Elastic Compute Cloud (EC2) provides scalable virtual private.
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Microsoft Cloud Computing. Topics to be covered 1.Environmental Features of windows azure 2.What is Cloud Computing 3.Roles in Cloud Computing 4.Benefits.
Launch Amazon Instance. Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) provides resizable computing capacity in the Amazon Web Services (AWS) cloud.
Cloud Computing from a Developer’s Perspective Shlomo Swidler CTO & Founder mydrifts.com 25 January 2009.
Alfresco Enterprise on Azure Shah Rahman Founder and CEO, CloudlyIO.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Yue Zhou. Overall of cloud computing Definition of Could Computing Characteristics and Advantages Type of Services Current Leaders: Google, Amazon, Microsoft,
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
INTRODUCTION TO AMAZON WEB SERVICES (EC2). AMAZON WEB SERVICES  Services  Storage (Glacier, S3)  Compute (Elastic Compute Cloud, EC2)  Databases (Redshift,
SEMINAR ON.  OVERVIEW -  What is Cloud Computing???  Amazon Elastic Cloud Computing (Amazon EC2)  Amazon EC2 Core Concept  How to use Amazon EC2.
Platform as a Service (PaaS)
Unit 3 Virtualization.
Platform as a Service (PaaS)
Dr.S.Sridhar, Director, RVCT, RVCE, Bangalore
Platform as a Service (PaaS)
Platform as a Service.
Dr.S.Sridhar, Director, RVCT, RVCE, Bangalore
The Improvement of PaaS Platform ZENG Shu-Qing, Xu Jie-Bin 2010 First International Conference on Networking and Distributed Computing SQUARE.
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Introduction to Cloud Computing
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Cloud Computing BY: Udit Jain.
Outline Virtualization Cloud Computing Microsoft Azure Platform
AWS Cloud Computing Masaki.
Saranya Sriram Developer Evangelist | Microsoft
MS AZURE By Sauras Pandey.
Presentation transcript:

Cloud Computing ECE7650

Cloud Computing Case Study  At one extreme, sharing basic IT infrastructure  E.g Amazon’s EC2: an EC2 instance appears physical HW, users can control nearly the entire sw stack, from the kernel upwards  At the other extreme, sharing application domain- specific platforms  E.g. Google AppEngine, a platform for building and hosting web applications on Google Web servers. Limited range of applications are supported,  In the middle, sharing programming environments  Microsoft’s Azure written using.NET libraries, and compiled to the Common Langurage Runtime (CLR). Cloud Computing2

Amazon Web Services  AWS is a collection of remote computing services that together make up a cloud computing platform, offered over the Internet by Amazon.com.  List of AWS products  Amazon Elastic Compute Cloud (EC2) provides scalable virtual private servers using Xen.  Amazon Simple Storage Service (S3) provides Web Service based storage.  Amazon SimpleDB allows developers to run queries on structured data. It provide "the core functionality of a database."  Amazon Elastic MapReduce allows developers to easily and cheaply process vast amounts of data. It uses a hosted Hadoop framework running on the web-scale infrastructure of EC2 and Amazon S3.  Amazon Virtual Private Cloud (VPC) creates a logically isolated set of Amazon EC2 instances which can be connected to an existing network using a VPN connection.  And More… Cloud Computing3

Amazon’s EC2  Amazon Elastic Compute Cloud (EC2)  Web service that provides resizable compute capacity in the cloud  An EC2 instance appears physical HW, provides users complete control over nearly entire sw stack, from the kernel upwards  Load Variety of operating system  Install Custom applications  Manage network access permission  Run image using as many/few systems as you desire C. Wayne StateCloud Computing4

Amazon’s EC2 features  Elastic capacity  Elastic resource config/reconfig; Elastic num of instances  Completely Control  Root access/access to console output/data store/ reboot  Reliable  Multiple locations  Elastic IP addresses  Secure  Firewall config  Virtual Private Cloud  Performance  Auto Scaling  Auto local balancing Cloud Computing5

Amazon’s EC2 Instances  On-Demand Instances  Pay for capacity without long-term commitment  Reserved Instances  Standard Instances  Micro Instances  High-Memory Instances  High-CPU Instances  High-I/O instance  High Storage Instances  Spot Instances  Bit on unused Amazon EC2 capacity, run those instances for as long as their bid exceeds the current Spot Prices C. Wayne StateCloud Computing6

Amazon’s EC2 Usages  Create an Amazon Machine Image (AMI) containing your applications, libraries, data and associated configuration settings. Or use pre-configured, templated images to get up and running immediately.  Choose the types of instances and OS, then start, terminate, and monitor as many instances of your AMI as needed, using the web service APIs or the variety of management tools provided.  Determine whether you want to run in multiple locations, utilize static IP endpoints, or attach persistent block storage to your instances.  Pay only for the resources that you actually consume, like instance-hours or data transfer.  Cloud Computing7

Amazon’s S3  Amazon Simple Storage Service (S3)  Storage for the Internet.  Features  Unlimited Storage  Highly scalable in terms of storage, request rate and concurrent users  Reliable Store redundant data in multiple facilities and on multiple devices  Secure Flexibility to control who/how/when/where to access the data  Performance Choose region to optimize for latency/minimize costs  Work with other AWS products  EC2/Elastic MR/Amazon Import/Export… C. Wayne StateCloud Computing8

Example : online photo processing service  Photo operation  red eye reduction/cropping/customization/re-coloring/teeth whitening, etc  Procedure  Web server receive request  Put request message in the queue  Pictures stored in S3  Multiple EC2 instances run photo processing  Put back in the queue  Return Cloud Computing9

Google’s AppEngine  A platform for building and hosting web applications on Google data servers.  support Python/Java  Upload and ready to run  No need to maintain your own servers, easy to scale as your traffic and storage grow  Kevin Gibbs, App Engine Tech Lead “AppEngine is a system that exposes various pieces of Google’s scalable infrastructure so that you can write server-side applications on top” Cloud Computing10

AppEngine Does One Thing Well  AppEngine handles HTTP(S) requests, nothing else  Think RPC: request in, processing, response out  Dynamic web serving, with full support for common web technologies  App configuration is dead simple  No performance tuning needed  Everything is built to scale  “infinite” number of apps, requests/sec, storage capacity  Automatic scaling  Automatic management  Load balancing/monitoring/scaling  Local development Environment: simulation  Google AppEngine Software Development Kit Cloud Computing11

AppEngine Service  URLFetch fetch web resources/services  Images  manipulate images: resize, rotate, flip, crop  Google Accounts  Allow users to sign in their product by using G account  Mail  Send message using Google infrastructure.  XMPP  send instant messages  Datastore  managing data objects  Memcache  Distributed in-memory data cache in front of constant storage Cloud Computing12

App Enginer Sandbox  Appl run in a secure environment that provides limited access to the underlying OS.  Allow AppEngine to distribute web requests for the application across multiple servers; Start and stop servers to meet traffic demands  Isolates your appl in its own secure, reliable environment that is independent of the hw, OS, and physical location of the web server Cloud Computing13

App Enginer Sandbox  Limited Access:  Appl can only access other computers on the Internet through provided URL fetch and API  Cannot write to file system, can read file uploaded by the appl; The app must use the App Engine datastore for all data that persists between requests  Run in response to a web request, and must return response data within 30 seconds. A request handler cannot spawn a sub-process or execute code afte the response has been sent. Cloud Computing14

App Engine Architecture (python) Cloud Computing15 Python VM process stdlib app memcache datastore mail images urlfech stateful APIs stateless APIs req/resp

App Engine Architecture Cloud Computing16

Why Not LAMP?  Linux, Apache, MySQL/PostgreSQL, Python/Perl/PHP/Ruby  LAMP is the industry standard  But management is a hassle:  Configuration, tuning  Backup and recovery, disk space management  Hardware failures, system crashes  Software updates, security patches  Log rotation, cron jobs, and much more More Important… Cloud Computing17

Automatic Scaling  Low-usage apps: many apps per physical host  High-usage apps: multiple physical hosts per app  Stateless APIs are trivial to replicate  Datastore built on top of Bigtable; designed to scale well  Abstraction on top of Bigtable Cloud Computing18

Automatic Scaling  You don’t need to configure your resource needs  One CPU can handle many requests per second  Apps are hashed onto CPUs:  One process per app, many apps per CPU  Creating a new process is a matter of cloning a generic “model” process and then loading the application code (in fact the clones are pre-created and sit in a queue)  The process hangs around to handle more requests (reuse)  Eventually old processes are killed (recycle)  Busy apps (many QPS query per sec) get assigned to multiple CPUs  This automatically adapts to the need as long as CPUs are available Cloud Computing19

AppEngine’s Resource Limit QuotaLimit Apps per developer10 Time per request30 sec Files per app1,000 HTTP response size10 MB Datastore item size1 MB Appl code size150 MB Cloud Computing20 QuotaFree Quota s per day2,000 BW in per day10,000 MB BW out per day10,000 MB Secure BW in per day2,000 MB Secure BW out per day2,000 MB CPU megacycles per day200,000,000 HTTP Requests per Day1,333,328* Datastore API calls per day10,368,000* Data stored1 GB URLFetch API calls per day657,084*

AppEngine Development Demo  XNwac XNwac Cloud Computing21

Microsoft’s Azure  Cloud service platform hosted in MS data centers, including an OS, Windows Azure, and a set of developer services like.NET services, Live services, and SQL data services  Window Azure: serving as the development, service hosting, data storage and service management environment Cloud Computing22

Components of Azure Compute , Storage , Fabric Controller , Content Delivery Network (CDN) , Connect Cloud Computing23

Compute Cloud Computing24  Web role: web-based application  Worker role: various windows-based code  VM role: Windows Server image, customized software installations on OS will be kept.

Compute  Submit an application with configuration of type and number of instances  Fabric controller creates VM and runs the code  Requests through HTTP/HTTPS/TCP are load balanced across all instances without affinity.  Exposed API that allows  automatically scale up and down.  application logging  Monitoring resource usage: CPU/storage Cloud Computing25

Storage: Blob, Table and Queue Cloud Computing26  Blob  Simple unstructured hierarchy: each container holds one or more blobs, which is up to terabyte  Access from URI:  Basic storage

Storage: Blob, Table and Queue  Tables  Structured storage.  Stored in a group of entities that contain properties.  Entity with different num of properties in various types.  Not relational tables, support massively scalable applications. Cloud Computing27

Storage: Blob, Table and Queue  Queues  Provide a way for communication between instances Cloud Computing28 Three replications for all kinds

Fabric Controller Cloud Computing29  All Azure application and data reside in Microsoft data center  All Azure components are managed by the fabric controller.

Fabric Controller  Distributed application that’s replicated across machines.  It owns all of the resources: computer, switches, load balancers and is aware of each azure application  Autonomic management  Monitoring the system status  Optimizing hardware utilization  Create VMs and intelligent deployment  Update instances without shutdown  Managing the OS for Web and Work roles Cloud Computing30

Content Delivery Network  The CDN stores copies of a blob at sites closer to the clients that use it  Servers store videos, Flash, HTML5… Cloud Computing31

Connect  Effectively connecting on-premises environments with Windows Azure  Installing a Endpoint Agent on each on-premises machines and communication through IP-level connection  Azure applications appears to be on the same IP network as the on-premises machines. Cloud Computing32

Case Study 1  Large scale web applications with occasional huge spikes and background processing.  Video sharing site  Deployment  A number of web instances based on demand  Table storage for information  Many works for processing  Blobs storage for large data set Cloud Computing33

Case Study 2  Parallel processing applications  Financial modeling at a bank  New drug testing simulations in a pharmaceutical company  Deployment  Web role for access interface  Many workers for processing  Large data set stored in blobs Cloud Computing34

Case Study 3  Using storage from an on-premises or hosted application  Archive old  User log file  Deployment  Connect on-premises application with Azure Cloud Computing35

Case Study Cloud Computing36