SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
IDCフロンティアのクラウドをフル活用する
IDCF 3-Tierモデルの解説
株式会社IDCフロンティア
ビジネス推進本部 新基盤開発部
金井 崇
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
自己紹介
金井 崇(かない たかし)
所属:株式会社IDCフロンティア ビジネス推進本部 新基盤開発部
業務:
クラウドサービスを開始した2009年からインフラの設計・構築・運
用を担当。現在はRightScaleを利用したマルチクラウド対応のた
めのServerTemplate設計、インフラの統合にも従事。
Twitter :@anikundesu
Facebook: https://www.facebook.com/anikundesu
ブログ :クラウド時代のPowerShell (http://www.takanyan.net/)
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
伝えたいこと
1. 「3-Tier Web」デプロイメントとは何か
2. 「IDCF 3-Tier」デプロイメントを設計しました
⇒RightScaleとIDCFクラウドAPIについて理解が深まります。
3. ServerTemplateを作る時は運用を考慮すべし
2
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
1. 「3-Tier Web」デプロイメントとは
• RightScaleで提供されるServerTemplateの多くは3-Tierの構成要素
• RightScaleのドキュメント・チュートリアルも充実
• 多くのWeb系システムは3-Tier構成かその応用。
・・・Web : FrontEndサーバ and/or Load Balancer
・・・ App : BackEndサーバ(PHP, Java Tomcatなど)
・・・ DB : データベースサーバ
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
RightScale社設計の3-Tier Webデプロイメント
IDCF Cloud
App Server 1
Load Balancer1
(HA Proxy)
Load Balancer2
(HA Proxy)
Service User
App Server 2 App Server N・・・・・・・
Global IP1
Volume Volume
Master DB Slave DB
S3, CloudFiles
Replication
Secondary Storage
Backups(Snapshot)
Git, SVN, S3
Application Code
Dump Data
Backup
Global IP2
Contents
Data
DB Dump Data
AdministratorExternal Dynamic DNS
Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 5
外部システムへの依存
• DBの切り替えのための外部DDNSサービス
• Applicationコード保存のためのGit/SVN/S3
• DBバックアップのためのS3
いろんな契約が必要で面倒
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
いやだ!
6
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
アタマを使って
考えた
7
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
IDCF Cloud
2. IDCF 3Tier Webデプロイメント
App Server 1
LB/FW
CloudStack VR
LB/FW
CloudStack VR
Service User
App Server 2 App Server N・・・・・・・
Global IP
Volume Volume
Master DB Slave DB
Volume
Contents Store
(SSH Storage)
Replication
Secondary Storage
Backups(Snapshot)
ServiceAdministrator
Contents DataUser Access
Application
Code
Dump Data
Backup
NSUpdate
Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 9
全部IDCFクラウド内で
• 外部DDNSサービス ⇒内部DDNS
• Applicationコード保存 ⇒SSH Storage Server
• DBバックアップ ⇒ SSH Storage Store
これらの機能を1VMで提供
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
データ配置
10
SSH Storage Server
追加ディスク : /home/data
Webアプリケーションコード
( webapps/($APPLICATION)/以下)
DBダンプデータ
( dump/(prefix)-(日時)-[master|slave].gz)
Application Server Database Server
追加ディスク : /mnt
Webアプリケーションコード
( /home/webapps/($APPLICATION)/以下)
DBデータ
( mysql/以下)
RightScriptの中でscpダウンロードを実施
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
デモ:Webコンテンツの更新
<手順>
1. SSH Storageに新しいコンテンツファイルを展開
2. Application Server全部に新しいコンテンツを配布
3. Databaseへのアクセス情報をApplication Serverに設定
<ポイント>
11
運用時に利用しそうなScriptも予め作成して
ServerTemplateに組み込む
Copyright(C) 2012 IDC Frontier Inc. All rights reserved.
参考情報
• IDCF 3-Tierの構築手順書(日本語)
http://support.rightscale.com/@api/deki/files/5887/=IDCF_3-Tier_Tutorial(Japanese)_Rev2.pdf
• IDCF 3-Tierの構築手順書(英語)
http://support.rightscale.com/09-Clouds/IDC_Frontier/Tutorials/3_Tier_Setup_with_IDC_Frontier
• IDCFクラウドのRightScaleサポート情報(英語)
http://support.rightscale.com/09-Clouds/IDC_Frontier
• さわって納得!RightScaleでサーバー管理が大きく変わる
http://ascii.jp/elem/000/000/681/681394/
12

Contenu connexe

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

IDCFクラウドをフル活用するIDCF 3-Tierモデル(RightScale)

  • 1. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. IDCフロンティアのクラウドをフル活用する IDCF 3-Tierモデルの解説 株式会社IDCフロンティア ビジネス推進本部 新基盤開発部 金井 崇
  • 2. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 自己紹介 金井 崇(かない たかし) 所属:株式会社IDCフロンティア ビジネス推進本部 新基盤開発部 業務: クラウドサービスを開始した2009年からインフラの設計・構築・運 用を担当。現在はRightScaleを利用したマルチクラウド対応のた めのServerTemplate設計、インフラの統合にも従事。 Twitter :@anikundesu Facebook: https://www.facebook.com/anikundesu ブログ :クラウド時代のPowerShell (http://www.takanyan.net/)
  • 3. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 伝えたいこと 1. 「3-Tier Web」デプロイメントとは何か 2. 「IDCF 3-Tier」デプロイメントを設計しました ⇒RightScaleとIDCFクラウドAPIについて理解が深まります。 3. ServerTemplateを作る時は運用を考慮すべし 2
  • 4. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 1. 「3-Tier Web」デプロイメントとは • RightScaleで提供されるServerTemplateの多くは3-Tierの構成要素 • RightScaleのドキュメント・チュートリアルも充実 • 多くのWeb系システムは3-Tier構成かその応用。 ・・・Web : FrontEndサーバ and/or Load Balancer ・・・ App : BackEndサーバ(PHP, Java Tomcatなど) ・・・ DB : データベースサーバ
  • 5. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. RightScale社設計の3-Tier Webデプロイメント IDCF Cloud App Server 1 Load Balancer1 (HA Proxy) Load Balancer2 (HA Proxy) Service User App Server 2 App Server N・・・・・・・ Global IP1 Volume Volume Master DB Slave DB S3, CloudFiles Replication Secondary Storage Backups(Snapshot) Git, SVN, S3 Application Code Dump Data Backup Global IP2 Contents Data DB Dump Data AdministratorExternal Dynamic DNS
  • 6. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 5 外部システムへの依存 • DBの切り替えのための外部DDNSサービス • Applicationコード保存のためのGit/SVN/S3 • DBバックアップのためのS3 いろんな契約が必要で面倒
  • 7. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. いやだ! 6
  • 8. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. アタマを使って 考えた 7
  • 9. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. IDCF Cloud 2. IDCF 3Tier Webデプロイメント App Server 1 LB/FW CloudStack VR LB/FW CloudStack VR Service User App Server 2 App Server N・・・・・・・ Global IP Volume Volume Master DB Slave DB Volume Contents Store (SSH Storage) Replication Secondary Storage Backups(Snapshot) ServiceAdministrator Contents DataUser Access Application Code Dump Data Backup NSUpdate
  • 10. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 9 全部IDCFクラウド内で • 外部DDNSサービス ⇒内部DDNS • Applicationコード保存 ⇒SSH Storage Server • DBバックアップ ⇒ SSH Storage Store これらの機能を1VMで提供
  • 11. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. データ配置 10 SSH Storage Server 追加ディスク : /home/data Webアプリケーションコード ( webapps/($APPLICATION)/以下) DBダンプデータ ( dump/(prefix)-(日時)-[master|slave].gz) Application Server Database Server 追加ディスク : /mnt Webアプリケーションコード ( /home/webapps/($APPLICATION)/以下) DBデータ ( mysql/以下) RightScriptの中でscpダウンロードを実施
  • 12. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. デモ:Webコンテンツの更新 <手順> 1. SSH Storageに新しいコンテンツファイルを展開 2. Application Server全部に新しいコンテンツを配布 3. Databaseへのアクセス情報をApplication Serverに設定 <ポイント> 11 運用時に利用しそうなScriptも予め作成して ServerTemplateに組み込む
  • 13. Copyright(C) 2012 IDC Frontier Inc. All rights reserved. 参考情報 • IDCF 3-Tierの構築手順書(日本語) http://support.rightscale.com/@api/deki/files/5887/=IDCF_3-Tier_Tutorial(Japanese)_Rev2.pdf • IDCF 3-Tierの構築手順書(英語) http://support.rightscale.com/09-Clouds/IDC_Frontier/Tutorials/3_Tier_Setup_with_IDC_Frontier • IDCFクラウドのRightScaleサポート情報(英語) http://support.rightscale.com/09-Clouds/IDC_Frontier • さわって納得!RightScaleでサーバー管理が大きく変わる http://ascii.jp/elem/000/000/681/681394/ 12