60
Introduction to Cloud Computing 成成成成成成成成成成成成 成成成 成成

Introduction to Cloud Computing 成大計算機與網路中心主任 謝錫堃 教授

Embed Size (px)

Citation preview

Introduction to Cloud Computing

成大計算機與網路中心主任謝錫堃 教授

What is Cloud Computing?

Cloud Computing

• a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources – Networks– Servers – Storage – Applications– Services

資料庫

資料庫資料庫計算

儲存

服務軟體

網路

網路設施

Cloud Service Model

• Software as a Service (SaaS)– Google Search, Google Map, Yahoo Calendar,

Apple Store, Face Book, You Tube, Gaming

• Platform as a Service (PaaS)– Google App Eng (Virtual Platform)

• Infrastructure as a Service (IaaS)– Amazon EC2 (Virtual Servers)– Amazon S3 (Virtual Storage)

Cloud Deployment models

• Private cloud• Public cloud• Hybrid cloud

Cloud Computing Technologies

• Distributed computing• Consolidation• Web-based software• Virtualization• Web services• Data Center

Cloud Deployment Approach

• Consolidation->Virtualization-> Automation (storage) (server) (management)

大學為何需要私有雲 ?– 資料安全– 技術自主– 在地服務

使用大學雲的好處– 隨需即用,使用者無須採購實體機器與管理財

產– 減少使用者系統建置、維護與管理之負擔– 系統展延性高– 系統可用度高

簡介提供大學雲之”缺點”

– 管理模式改變只管技術 ---> 除了技術,尚需導入收費機制

– 服務品質需提升高效能高可靠度

High Availability高安全性

資料安全網路安全

簡介大學雲之部署

– 專業機房電力系統空調PUE

– ConsolidationPC ServersStorage

– Virtualization– Automation

推動大學雲 (Iaas) 之條件– 每年計畫總數– 初期建置之經費– 使用者付費觀念與制度之建立– 營運模式之建立

成功大學雲之架構專業機房

– 雙變電所供電、雙發電機、雙 UPS 迴路、雙電源– 分散式空調

高可靠度– 採高可用度 (HA) 系統架構– 重要資料異地備份

Consolidation– X86-based PC Server 、 NAS

VirtualizationAutomation (Mcloud)

成功大學資料中心

高可用度系統架構

成功大學雲之服務SaaS (Software as a Service)

–成功入口、校務 E 服務、行事曆、 Webmail…PaaS (Platform as a Service)

– MPI 、 Web Platform…IaaS (Infrastructure as a Service)

– 虛擬伺服器、虛擬 PC 、虛擬儲存 ..

Cloud Services in NCKU

• Software as a Service (SaaS)– 成功入口、 Web Mail, Moodle, ePortfolio, 公文線

上簽核 , 網路差勤 , 網路選課 , 網路選填志願 … .

• Platform as a Service (PaaS) X• Infrastructure as a Service (IaaS)

– virtual servers – virtual PC – virtual PC Class Room – virtual storage

Web Mail, Moodle, ePortfolio, 公文線上簽核, 網路差勤, 網路選課, 網路

選填志願, ….

SaaS

PaaS XVirtual Server, Virtual PC, Virtual Classroom, Virtual

Storage

IaaS

NCKU Cloud

IaaS in NCKU

• Virtual Server Service – Create virtual servers on-demand

• Advantages– Saving energy, space and money– Promoting system availability– Dynamic resource allocation

» Memory » Storage

Storage server

PC

Campus-Net

Mobile device

Real servers

Data CenterCenter server

Department server

Virtual servers

IaaS in NCKU

• Virtual PC Service– Yet another PC in NCKU Cloud

• Advantages– Access the virtual PC anytime, anywhere via Internet– Operate the same desktop platform even if at different places – Run site-only-licensed software from outside campus– Access campus-constrained databases, e.g. IEEE Xplore, from

outside campus– Breaking hard disk or losing computer won’t lose files– Run multiple OSs, Windows 7, Windows XP, Linux….

• Disadvantages– Hard to run games or 3D software

IaaS in NCKU

• Virtual PC Class Room– Provisioning virtual PCs in PC class rooms for

departments• Advantages

– Lower investment» Thin clients

– Easy to manage

Virtual PCs

Storage server

Campus Network

Real servers

PC class room

Thin clients

IaaS in NCKU

• Virtual Storage Service– Provisioning Internet Folder among real and

virtual PCs• Advantages

– Transparently, automatically backup files to the folder– Synchronize files among multiple PCs immediately– Always get the latest file version, regardless of which PC– Access the files in the folder without connecting to Internet– Share files among users

Jeff’s iFolder

Jeff’’s iFolder

Virtual PC

iFolderservers

Storage server

Jeff’s iFolder

access Jeff’s iFolder

through browser

JFK airport

Home

Internet

Mobile device

Jeff’s iFolder

Real PC in the office

Scenario #1 – Virtual Machine (VM) Service

Scenario #2 – Peak Load Service Quality Guaranteed Service

NCKU Website

1. User uses the service

1. User uses the service

NCKU WebsiteNCKU WebsiteSLASLA

•Home page loads in less than 6s•Login transactions complete within 6s•Display student info less than 5s•Student registration transactions complete within 8s•Uptime 99.9%•…

Scenario #2 – Peak Load Service Quality Guaranteed Service

NCKU Website

1. User uses the service

1. User uses the service

2. MCloud monitors the APPLICATION

performance of the service

2. MCloud monitors the APPLICATION

performance of the service

What are the What are the Key Performance Indicators Key Performance Indicators

for the application?for the application?

•% CPU Utilization•Memory Pages/Sec•% Disk Time •SQL User Connections•SQL Target Server Memory (KB)•ASP.NET Requests/Sec•ASP.NET Requests Queued•…

Scenario #2 – Peak Load Service Quality Guaranteed Service

NCKU Website

1. User uses the service

1. User uses the service

2. MCloud monitors the APPLICATION

performance of the service

2. MCloud monitors the APPLICATION

performance of the service

3. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

3. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

• Define the Performance Counter Threshold• Define the Provisioning Rules• According to the predefined Threshold & Rules to

provision

Scenario #2 – Peak Load Service Quality Guaranteed Service

NCKU Website

1. User uses the service

1. User uses the service

2. MCloud monitors the APPLICATION

performance of the service

2. MCloud monitors the APPLICATION

performance of the service

3. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

3. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

4. MCloud provision extra capacity

4. MCloud provision extra capacity

Billing by usageBilling by usage

•By Transactions / Day•By Users / Day

Scenario #3 – Applications with Deadline Service

Research Applications (eg:BLAST)

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

Research ApplicationResearch ApplicationSLASLA

•Data Size•Time•…

Scenario #3 – Applications with Deadline Service

Research Applications (eg:BLAST)

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

2. MCloud provision and configure a Research Application service

based on Service Plan

2. MCloud provision and configure a Research Application service

based on Service Plan

Application Status NotificationApplication Status Notification

•Progress Per Interval•…

Scenario #3 – Applications with Deadline Service

Research Applications (eg:BLAST)

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

2. MCloud provision and configure a Research Application service

based on Service Plan

2. MCloud provision and configure a Research Application service

based on Service Plan

3. MCloud monitors the BUSINESS performance

of the service

3. MCloud monitors the BUSINESS performance

of the service

Scenario #3 – Applications with Deadline Service

Research Applications (eg:BLAST)

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

3. MCloud monitors the BUSINESS performance

of the service

3. MCloud monitors the BUSINESS performance

of the service

2. MCloud provision and configure a Research Application service

based on Service Plan

2. MCloud provision and configure a Research Application service

based on Service Plan

4. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

4. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

Scenario #3 – Applications with Deadline Service

Research Applications (eg:BLAST)

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

1. PI/Co-PI submit a selected Research Application Service Plan

associated to a Charge Account

3. MCloud monitors the BUSINESS performance

of the service

3. MCloud monitors the BUSINESS performance

of the service

5. MCloud provision extra capacity

5. MCloud provision extra capacity

2. MCloud provision and configure a Research Application service

based on Service Plan

2. MCloud provision and configure a Research Application service

based on Service Plan

4. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

4. NCKU Cloud Service trigger MCloud

provisioning services based on Service Plan’s

SLA

總結成功的大學雲需要校方與教師支持成功大學的雲即將對全校開啟服務