Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 26, 2011 Amazon Web Services and EC2.

Slides:



Advertisements
Similar presentations
Amazon Web Services: Building Highly Scalable Web Applications Institutional Web Management Workshop July 2007 Jeff Barr Senior Web Services Evangelist.
Advertisements

Creating HIPAA-Compliant Medical Data Applications with Amazon Web Services Presented by, Tulika Srivastava Purdue University.
Cloud computing is used to describe a variety of computing concepts that involve a large number of computers connected through a real-time communication.
Ed Duguid with subject: MACE Cloud
Ed Duguid with subject: MACE Cloud
Welcome To #GWAB 2014 Welcome The Charity The Sponsors The Social Fun Agenda.
University of Notre Dame
Amazon Web Services and Eucalyptus
Take your CMS to the cloud to lighten the load Brett Pollak Campus Web Office UC San Diego.
Cloud Computing Imranul Hoque. Today’s Cloud Computing.
Webscale Computing Mike Culver Amazon Web Services.
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.
Ken Birman. Massive data centers We’ve discussed the emergence of massive data centers associated with web applications and cloud computing Generally.
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.
What is Cloud Computing?. Why call it “Cloud” Computing?
Addition to Networking.  There is no unique and standard definition out there  Cloud Computing is a general term used to describe a new class of network.
INTRODUCTION TO CLOUD COMPUTING Cs 595 Lecture 5 2/11/2015.
An Introduction to Cloud Computing. The challenge Add new services for your users quickly and cost effectively.
Duncan Fraiser, Adam Gambrell, Lisa Schalk, Emily Williams
Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 21, 2011 Windows Azure—Overview.
Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 26, 2011 Windows Azure—Microsoft Cloud Computing Technologies.
Cloud Computing Source:
Cloud Computing: Background and Examples Dr. Adil Yousif University of Science & Technology.
1 Introduction to Cloud Computing Jian Tang 01/19/2012.
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 Saneel Bidaye uni-slb2181. What is Cloud Computing? Cloud Computing refers to both the applications delivered as services over the Internet.
PhD course - Milan, March /09/ Some additional words about cloud computing Lionel Brunie National Institute of Applied Science (INSA) LIRIS.
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.
A MAZON W EB S ERVICES Reza Yousefzadeh 12/9/2014.
Components of Windows Azure - more detail. Windows Azure Components Windows Azure PaaS ApplicationsWindows Azure Service Model Runtimes.NET 3.5/4, ASP.NET,
Introduction To Windows Azure Cloud
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
Introduction to Cloud Computing
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
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.
Amazon Web Services: Amazon Elastic Compute Cloud (Amazon EC2) 陳雪菁 [95C 資管組 P ]
What is the cloud ? IT as a service Cloud allows access to services without user technical knowledge or control of supporting infrastructure Best described.
AWS Amazon Web Services Georges Akpoly CS252. Overview of AWS Amazon Elastic Compute Cloud (EC2) Amazon Simple Storage Service (S3) Amazon Simple Queue.
CLOUD WITH AMAZON. Amazon Web Services AWS is a collection of remote computing services Elastic Compute Cloud (EC2) provides scalable virtual private.
CLOUD COMPUTING. What is cloud computing ? History Virtualization Cloud Computing hardware Cloud Computing services Cloud Architecture Advantages & Disadvantages.
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Web Technologies Lecture 13 Introduction to cloud computing.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Windows Azure Overview for IT Pros Anton Boyko. Intro to Cloud Computing Intro to Windows Azure Cloud Services Web Sites Virtual Machines Workload Options.
Cloud Computing Andrew Stromme and Colin Schimmelfing.
Cloud Computing from a Developer’s Perspective Shlomo Swidler CTO & Founder mydrifts.com 25 January 2009.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
Amazon EC2 & Amazon Web Services (AWS)
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Platform As A Service - service dev & integration platform - JaeHyun.Park ThinkFree Blog- OfficeLog-
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:
HoraSesión 9:00 - 9:30Registro 9:30 – 10:30Empezando con Windows Azure 10:45 – 12:00HOL: Laboratorio – Empezando con Windows Azure 12:00 – 13:15Azure.
Unit 3 Virtualization.
Jeff Barr Senior Web Services Evangelist
Platform as a Service.
Windows Azure Cloud Visit – Ravindra verma.
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Outline Virtualization Cloud Computing Microsoft Azure Platform
Brandon Hixon Jonathan Moore
Saranya Sriram Developer Evangelist | Microsoft
Cloud Computing: Concepts
Presentation transcript:

Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 26, 2011 Amazon Web Services and EC2

Cloud Systems Infrastructure as a Service (IaaS): basic compute and storage resources – E.g., Amazon AWS/EC2, VMWare vCloud Platform as a Service (PaaS): cloud application infrastructure – E.g. Google App Engine, Salesforce.com, Windows Azure Software as a Service (SaaS): cloud applications – E.g. Google Docs, Microsoft Office Web Companions, Office 365

% of Utilized Server Capacity on Average?6% Economist Survey on IT, 2008 % of Capital Equipment Budget spent on IT in 2000?45% Commerce Department Statistics

Elasticity – Provisioning for Peak Real World Server Utilization Is 5% to 20% Provision for peak? Painful to under-provision Do we know the “peak”? Provisioning for Peak Without Elasticity, Waste Resources (Shaded Areas) During Non-Peak Times Provisioning for Peak Without Elasticity, Waste Resources (Shaded Areas) During Non-Peak Times

1.You pay ONLY for what you use 2.ONLY when you use it 3.With the ability to SCALE up and down on-demand Elasticity – Pay as You Go

Incremental Scalability Traditional in-house IT services is difficult to scale – Large Up-Front Investment – Invest Ahead of Demand – Load is Unpredictable The scaling process should be incremental – But sometimes you cannot predict the growth

Seasonal Spikes

Diurnal, seasonal, and occasional fluctuations “Every year, we take the busiest minute of the busiest hour of the busiest day and build capacity on that, we built our systems to (handle that load) and we went above and beyond that.” * “Yet something went terribly wrong. As procrastinating taxpayers came home from work on the East Coast on Tuesday and began to file their returns, the company's servers began to overload…” -- Scott Gulbransen Intuit Spokesman *

Solution: Integrate users, logic, and data at larger scale Statistical Multiplexing, and more… Scale capacity on demand Turn fixed costs into variable costs Always available, high reliability Follow established APIs and conceptual models Cost-effective Reduced time to market Focus on product & core competencies

10 Amazon Web Services A set of APIs and programming models which give developer- level access to Amazon’s infrastructure and business data Data As A Service Amazon E-Commerce Service Amazon Historical Pricing Search As A Service Alexa Web Information Service Infrastructure As A Service Amazon Elastic Compute Cloud People As A Service Amazon Mechanical Turk Platform As A Service Amazon Simple Queue Service Amazon Simple Storage Service Then…

Pay-as-You-Go Commercially usable and available Monthly billing Self-serve model: – Sign up as developer – Choose services – Agree to service licenses – Enter payment info – Start coding

Amazon Elastic Compute Cloud $.10 per server hour Virtual machine with various OS and pre-installed software packages Elastic Capacity 1.7 GHz x86, 1.7 GB RAM, 160 GB Disk, 250 MB/Second Network Network Security Model Virtual machine with various OS and pre-installed software packages Elastic Capacity 1.7 GHz x86, 1.7 GB RAM, 160 GB Disk, 250 MB/Second Network Network Security Model $.10 - $.18 per GB data transfer

AMI and instances Amazon Machine Image (AMI): – Bootable, pre-defined or user-built – OS: Fedora, Centos, Gentoo, Debian, Ubuntu, Windows Server – Software packages: LAMP, mpiBLAST, Hadoop Instance: – Running copy of an AMI – Launch in less than 2 minutes – Start/stop programmatically

Other Available Configurations Large Instance: $0.40 per instance-hour – 7.5 GB of memory, – 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), – 850 GB of instance storage – 64-bit platform Extra Large Instance: $0.80 per instance-hour – 15 GB of memory, – 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), – 1690 GB of instance storage, – 64-bit platform

Root-level access

Amazon EC2 At Work Startups – Cruxy – Media transcoding – GigaVox Media – Podcast Management Larger businesses: – High-Impact, Short-Term Projects – Development Host Science / Research: – Hadoop / MapReduce – mpiBLAST Load-Management and Load Balancing Tools: – Pound – Weogeo – Rightscale

EC2 SOAP/Query API Images: – RegisterImage – DescribeImages – DeregisterImage Instances: – RunInstances – DescribeInstances – TerminateInstances – GetConsoleOutput – RebootInstances Keypairs: – CreateKeyPair – DescribeKeyPairs – DeleteKeyPair Image Attributes: – ModifyImageAttribute – DescribeImageAttribute – ResetImageAttribute Security Groups: – CreateSecurityGroup – DescribeSecurityGroups – DeleteSecurityGroup – AuthorizeSecurityGroupIngres s – RevokeSecurityGroupIngress

Azure Node Structure A node is a management unit of FC – Contains an FC Agent in Hyper-V root partition – Each role instance runs in Guest OS with GA – FA delegates GAs to handle VM status

Pros and cons Cheap (to begin) Scalable: as (reasonably) many servers as you need Upgrade to more virtual processors Fault tolerant: Failover machines No hardware required, no up-front commitment However, … Random IP Addresses Costs accrue Non-persistent storage

Amazon Simple Storage Service $.15 per GB per month storage $.15 per GB per month storage Object-Based Storage 1 B – 5 GB / object Fast, Reliable, Scalable Redundant, 99.99% Availability Goal Private or Public Per-object URLs & ACLs BitTorrent Support Object-Based Storage 1 B – 5 GB / object Fast, Reliable, Scalable Redundant, 99.99% Availability Goal Private or Public Per-object URLs & ACLs BitTorrent Support $.10 - $.18 per GB data transfer $.01 for 1000 to requests

Amazon Simple Storage Service (S3) Objects: – Opaque data to be stored (1 byte … 5 Gigabytes) – Authentication and access controls Buckets: – Object container – any number of objects – 100 buckets per account / buckets are “owned” Keys: – Unique object identifier within bucket – Up to 1024 bytes long – Flat object storage model Standards-Based Interfaces: – REST and SOAP – URL-Addressability – every object has a URL

S3 SOAP/Query API Objects: – PutObject – PutObjectInline – GetObject – GetObjectExtended – DeleteObject – GetObjectAccessControlPolicy – SetObjectAccessControlPolicy Service: – ListAllMyBuckets Buckets: – CreateBucket – DeleteBucket – ListBucket – GetBucketAccessControlPolicy – SetBucketAccessControlPolicy – GetBucketLoggingStatus – SetBucketLoggingStatus

Windows Azure Storage The Windows Azure storage services provide storage for binary and text data, messages, and structured data – Blob service: storing binary and text data – Queue service: storing messages that may be accessed by a client – Table service: structured storage for non-relational data – Windows Azure drives: mounting an NTFS volume accessible to code running in your Windows Azure service “Programmatic access to the Blob, Queue, and Table services is available via the Windows Azure Managed Library and the Windows Azure storage services REST API” --

Amazon Simple Queue Service SQS

Amazon Simple Queue Service $.10 per 1000 messages Scalable Queuing Elastic Capacity Reliable, Simple, Secure Scalable Queuing Elastic Capacity Reliable, Simple, Secure $.10 - $.18 per GB data transfer

SQS Queues: persistent, named message container – Messages: Up to 256KB of data per message – Messages are stored redundantly across multiple servers and datacenters A reliable, highly scalable hosted distributed queue for storing messages – Scalable: Unlimited number of queues per account Unlimited number of messages per queue – Runs within Amazon's high-availability datacenters Amazon's messaging infrastructure as a web service Platform-agnostic, allowing any computer on the Internet to add or read messages through the defined API

SQS SOAP/Query API Queues: – ListQueues – DeleteQueue – SetVisibilityTimeout – GetVisibilityTimeout Messages: – SendMessage – ReceiveMessage – DeleteMessage – PeekMessage Security: – AddGrant – ListGrants – RemoveGrant

Infrastructure as a Service Compute StoreMessage Elastic Compute Cloud Simple Storage Service Simple Queue Service

Azure Apps– Overview Storage Tables LBLB LBLB Blobs Worker Service Worker Role Managed Interface Call Worker Role Managed Interface Call Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Role IIS as Host Web Role IIS as Host Queues Windows Azure Data Center LBLB LBLB LBLB LBLB The Internet The Internet via TCP or HTTP