Oracle Cloud Platform Oracle Compute Cloud Service 構成ガイド(仮想マシンの作り方)
日本オラクル株式会社 クラウド・テクノロジー事業統括 2016年11月
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
OracleとJavaは、Oracle Corporation 及びその子会社、関連会社の米国及びその他の国における登録商標です。 文中の社名、商品名等は各社の商標または登録商標である場合があります。
以下の事項は、弊社の一般的な製品の方向性に関する概要を説明するものです。また、情報提供を唯一の目的とするものであり、いかなる契約にも組み込むことはできません。以下の事項は、マテリアルやコード、機能を提供することをコミットメント(確約)するものではないため、購買決定を行う際の判断材料になさらないで下さい。オラクル製品に関して記載されている機能の開発、リリースおよび時期については、弊社の裁量により決定されます。
2
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Agenda
•サービス概要
•仮想マシンの仕様と主な機能
•仮想マシン(VM)の作成:Oracle Linux
•仮想マシン(VM)の作成:Windows Server
•仮想マシン(VM)の作成:CentOS
3
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 4
Oracle Compute Cloud Service サービス概要
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle’s Infrastructure as a Service SaaS/PaaS を支える基盤として、Easy, Scalable, Secure な IaaS を提供
Compute Elastic Compute
Network Software-Defined
Storage Elastic Storage
5
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Elastic Compute Cloud Service
• リソースは共有ゾーンに配置
– 他のユーザと共有
• 利用ケース
– 部門、テスト/開発、一般アプリケーション
• サイズ:1 OCPU~
Dedicated Compute Cloud Service
• リソースは専有ゾーンに配置
– 他のユーザから分離
• 利用ケース
– クリティカル・アプリケーション
• サイズ
– 500 OCPU~ (x86), 300 OCPU~ (SPARC)
Compute Cloud Services
6
Elastic Compute
Dedicated Compute
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Elastic Block Storage (Compute Cloud 用ブロックストレージ)
7
Key Features
• 1ボリュームあたり、最小1GB~最大2TB
• 1インスタンス(Compute)あたり、最大10個のボリューム
• 1インスタンス(Compute)あたり、合計最大20TB
• インスタンス作成後、容量の増減が可能
Price (2016年11月現在) • Non-metered Service
容量:1TB($50/Mon)
• Metered Service
容量:1GB($0.05/Mon)
IO Requests:$0.05(1,000,000 Requests/Mon)
Compute Cloud Service
…
Elastic Block Storage
Operating System
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: 技術仕様
Instance Family Shape Name Processor Arch OCPU* Threads Memory
General Purpose OC1 (今後提供) 64 bit 0.25 0.5 1.8 GB
General Purpose OC2 (今後提供) 64 bit 0.5 1 3.75 GB
General Purpose OC3 64 bit 1 2 7.5 GB
General Purpose OC4 64 bit 2 4 15 GB
General Purpose OC5 64 bit 4 8 30 GB
General Purpose OC6 64 bit 8 16 60 GB
General Purpose OC7 64 bit 16 32 120 GB
High Memory OC1M 64 bit 1 2 15 GB
High Memory OC2M 64 bit 2 4 30 GB
High Memory OC3M 64 bit 4 8 60 GB
High Memory OC4M 64 bit 8 16 120 GB
High Memory OC5M 64 bit 16 32 240 GB
8
* OCPU(Oracle CPU) * 1OCPU = 2vCPU
General/High Memoryは同一価格で提供(ex: OC3=OC1M)
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: 対応OS
* 任意の仮想マシンイメージをアップロードして展開可能(Oracle Linux, Solaris x86)
* Marketplace: ウィザードを通じて直接プロビジョニング可能
Oracle Linux & Solaris x86 に加え、多様な Linux Distribution と Windows Server に対応
9
Name Version Provisioning
Oracle Linux 6.4, 6.6, 6.7, 6.8, 7.1, 7.2 標準テンプレートとして利用可能
Ubuntu 12.04, 14.04, 15.10 Marketplace から利用可能
CentOS 6, 7 DL from centos.org (6, 7) | チュートリアル
Debian 8.3 DL from Debian| チュートリアル
Windows Server 2008 R2, 2012 R2 Marketplace からのみ利用可能 | BYOL不可
Solaris x86 11.3 標準テンプレートとして利用可能
2016/11現在
Compute Cloud Service FAQ: http://bit.ly/1T448gE
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Cloud Marketplace
• パートナー/Oracle からソリューション・イメージ提供
• Oracle Applications: EBS, JD Edwards, PeopleSoft, etc
Bitnami
• 100以上のフリーイメージ提供(LAMP Stack等)
ユーザ・イメージ
• ユーザがイメージを作成し、アップロードして利用
• VirtualBox で作成
• VMware仮想マシンを変換
Compute Cloud Service: イメージ利用方法
10
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Oracle Applications
• 3rd-Party / OSS アプリケーション
Oracle Cloud Platform & Marketplace
多様なアプリケーションを Compute Service 展開イメージとして提供
11
Oracle Cloud On Premise
https://cloud.oracle.com/marketplace/
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: 価格情報
• Non-Metered Service (非従量制)
• Metered Service (従量制)
※2016年10月現在、Windows Server ライセンスも従量制料金に含む
※ブロック・ストレージ/データ転送/静的IP の価格はサイトをご覧ください
2016年11月時点
12
https://cloud.oracle.com/compute
製品 価格 メトリック 最小
Oracle Compute Cloud Service - Compute Capacity ¥9,000 1 OCPU/月 -
製品 価格 メトリック 最小
Oracle Compute Cloud Service - Compute Capacity ¥12 1 OCPU/時間 -
Compute Cloud は1CPU/15GB毎に課金
というシンプル体系
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Windows Server に関するFAQ
• Windows Server の料金は – 2016年11月時点で(Linux と同様)、$0.10/hour or $75/month
–ライセンスとサポートが含まれます
• Windows Server のライセンスは持ち込みできますか –いいえ、現時点ではできません
• Windows Server のサポートはどこが提供しますか –オラクルが My Oracle Support を通じて提供します
• その他の Microsoft 製品(SQL Server 等)は持ち込みできますか –はい、Oracle Cloud は、認定クラウド環境になったため、持ち込み可能です
– MS社のライセンスモビリティ・ルールに従います
13
Compute Cloud Service FAQ: http://bit.ly/1T448gE
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: 競合サービスとの比較 (Linux)
14
$0.100 /hour
$0.166 /hour
$0.185 /hour
Compute 1OCPU*
15GB RAM
* OCPU(Oracle CPU) * 1OCPU = 2vCPU
EC2: r3.large 2vCPU
15GB RAM (Linux, US East)
Standard_D11_v2 2Core*
14GB RAM (Linux, US East)
* コア数2倍
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: 競合サービスとの比較 (Windows)
15
$0.100 /hour
$0.291 /hour
$0.330 /hour
Compute 1OCPU*
15GB RAM
* OCPU(Oracle CPU) * 1OCPU = 2vCPU
EC2: r3.large 2vCPU
15GB RAM (Windows, US East)
Standard_D11_v2 2Core*
14GB RAM (Windows, US East)
* コア数2倍
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• サービス概要
– https://cloud.oracle.com/ja_JP/compute
• 価格情報
– https://cloud.oracle.com/compute/pricing
• マニュアル
– 英語: http://docs.oracle.com/cloud/latest/?tab=4
– 日本語:http://docs.oracle.com/cd/E60665_01/index.html?tab=3
• 30日間無償トライアル – https://cloud.oracle.com/ja_JP/tryit
• Oracle IaaS (Infrastructure as a Service):サービス概要のご紹介
– http://www.slideshare.net/oracle4engineer/oracle-iaas-infrastructure-as-a-service
• Oracle Compute Cloud Service:構成ガイド(仮想マシンの作り方)
– http://www.slideshare.net/oracle4engineer/oracle-compute-cloud-service-61181444
参考情報
16
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle’s Infrastructure as a Service SaaS/PaaS を支える基盤として、Easy, Scalable, Secure な IaaS を提供
Compute Elastic Compute
Network Software-Defined
Storage Elastic Storage
競合他社と比較した高いコスト優位性とエンタープライズ・サービス・レベルを両立
17
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 18
Oracle Compute Cloud Service 仮想マシンの仕様と主な機能
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• CPU: 1〜16 Core
• メモリー: 7.5〜240GB RAM
• ネットワーク: パブリックIPの予約割当 / 自動割当
• オーケストレーション(複数VMの一括作成/構成)
• root アクセスが可能
• OS:
• Oracle Linux
• Ubuntu, CentOS, Debian
• Solaris x64
• Windows Server
19
Compute Cloud Service 仮想マシン(VM)の仕様
Oracle Cloud では、サービスを提供するVMのことを「インスタンス」と言います
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス・ファミリ シェイプ名 *OCPU スレッド (仮想CPU)
メモリー
General Purpose OC3 1 2 7.5 GB
General Purpose OC4 2 4 15 GB
General Purpose OC5 4 8 30 GB
General Purpose OC6 8 16 60 GB
General Purpose OC7 16 32 120 GB
High Memory OC1M 1 2 15 GB
High Memory OC2M 2 4 30 GB
High Memory OC3M 4 8 60 GB
High Memory OC4M 8 16 120 GB
High Memory OC5M 16 32 240 GB
仮想マシン(インスタンス) - CPU/メモリー構成 仮想マシンのCPU/メモリー構成は、事前定義されたシェイプ(形状)から選択します
* OCPU は、ハイパー・スレッドを有効にした最新のIntel Xeonプロセッサの物理コアと同等のCPU性能
20
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: ネットワーク - IPアドレス
• 仮想マシン1つにつき、パブリックIPアドレスおよびプライベートIPアドレスが、1つずつ割当てられます
• パブリックIPアドレス
– インターネットからのアクセスが可能
– 仮想マシンに割当てるIPアドレスを、事前に予約可能 - IP予約機能
– 予約していない場合、自動でIPアドレスを割当てることも可能
• プライベートIPアドレス
– Compute Serviceで管理される仮想マシン(Compute Serviceのサービス・コンソールから参照出来る仮想マシン)間でのみアクセス可能なIPアドレス
– Oracle Cloud内に閉じたDNSを使用したホスト名アクセスが可能
21
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
セキュリティ IPリスト
セキュリティ IPリスト
Oracle Cloud (アイデンティティ・ドメイン)
セキュリテイ・リストB セキュリティ・リストA
JCS インスタンス 1 160.34.xxx.xxx
Compute インスタンス 2 160.34.xxx.xxy
DBCS インスタンス 1 160.34.xxx.xxz
DBCS インスタンス 2 160.34.xxx.xyx
セキュリティ・ルール設定例
80
443 1521 22
全てのGlobal IP 0.0.0.0/0
特定のIP範囲 138.99.xxx.0/26
0
http/https VPN or
SSH
SSH
Compute Cloud Service: ネットワーク - アクセス制御 • 仮想マシンをグループ化し、グループ間またはグループと任意IPアドレス間の通信を制御します
– 異なるグループ(セキュリティ・リスト)間では、セキュリティ・ルールに従って特定のポートのみ通信可能
– 同じグループ内では、基本的に全てのポートへのアクセス可能
22
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Compute Cloud Service: ブロック・ストレージ
• 1仮想マシンにつき、最大20TBまでストレージ割当てられます – 1GB 〜 2TB のボリュームを、最大10個まで1仮想マシンに割当て可能
• 2種類のストレージ・プロパティから選択可能します –レイテンシや高いIOPS用: /oracle/public/storage/latency
• データベース・サーバーなどで高いIOPSが必要な場合に選択
–その他(汎用): /oracle/public/storage/default • 通常のストレージ・アクセスの場合に選択
*Webコンソールでは、その他のプロパティも表示されますが、 上記の2つのプロパティ以外の選択は、現在サポートされません
23
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Elastic / Dedicated Compute: 機能一覧 Feature Elastic Compute Dedicated Compute
Hardware Isolation (他の利用者からHW分離) ✔
Availability Domains (複数サイトへの配置) ✔ (今後提供)
Load Balancer as a Service (ロード・バランサー) ✔ (今後提供) ✔ (今後提供)
Backup & Recovery (スナップショット) ✔ ✔
OCPU Pinning (オーバープロビジョニングなし) ✔ ✔
Instance Anti-Affinity (稼働HWの管理) ✔ ✔
Software Defined Network (VPC) ✔ ✔
Virtual Private Network (VPN) ✔ ✔ (HW)
Secure SSH Access (SSHアクセス) ✔ ✔
Dynamic Firewall (ファイアーウォール) ✔ ✔
Lifecycle Management (インスタンス管理) ✔ ✔
Image Management (イメージ管理) ✔ ✔
Monitoring and Alerts (モニタリング・アラート) ✔ ✔
Orchestration Management (トポロジー管理) ✔ ✔
Metering & Quota Management (稼働管理) ✔ ✔
REST API and CLI Tools (API/CLI管理) ✔ ✔
24
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Active VM Recovery (自動フェイルオーバー)
• インスタンス(仮想マシン)がクラッシュした場合、自動的に再起動が行われます
• インスタンス作成時に、高可用性ポリシーを設定します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Storage Volume Snapshot
–ストレージ・ボリュームのバックアップ及びリストアを行うことができます。利用している仮想マシンをバックアップする際はこちらの機能を利用します
• Instance Snapshot
– nonpersistent boot volume(仮想マシンを停止すると内容が削除される起動ディスク)で稼働している仮想マシンの状態を保存することができます
スナップショット機能
26
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
•各メトリックのモニタリング及びアラート設定が可能
•対象メトリック – CPU (%)
– IOStat Read (sectors), IOStat Write (sectors)
– Memory Percent (%), Memory Usage (kb)
– Network Rcvd (b/s), Network Sent (b/s)
モニタリング・アラート機能
27
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Software Defined Network (仮想プライベート・ネットワーク)
28
IP Network 任意のIPアドレスが
利用可能
ネットワークの分離可能
IP Exchange IP Network間の接
続
複数NICへの対応
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Compute Cloud Service 仮想マシン(VM)の作成:Oracle Linux
29
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
仮想マシン(インスタンス)の作成
• Oracle Compute Cloud のウィザードを活用して、以下のようなインスタンスを作成する基本的な手順について解説しています –永続化されたパブリックIPを持つ
–永続化されたOSのブート・ボリュームを持つ
•永続化されたパブリックIPおよびブート・ボリュームを持つことで、インスタンスが再起動しても、クラウド外部からのアクセスおよびOS領域への変更を保持することができるようになります
•作業の流れ –準備1:IP予約の作成、準備2:ブート可能ボリュームの作成
–ウィザードを使用したインスタンス作成
30
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 31
Compute Serviceへアクセス ブラウザからcloud.oracle.comへアクセス
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
クラウド・アカウントから 使用するデータ・センターを選択して 「マイ・サービス」をクリック
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 33
アイデンティティ・ドメインを入力し、「実行」をクリック
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 34
ユーザーとパスワードを入力し、 「サインイン」をクリック
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 35
準備1. IP予約の作成
インスタンスの作成
「Oracle Compute Cloud Service」の 「サービス・コンソール」をクリック
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 36
準備1. IP予約の作成
インスタンスの作成
Compute Cloud サービスコンソールの上部にある ネットワーク タブを選択し、左のメニューから IP予約 を選択します IP予約の作成 ボタンを押してウィザードを起動します IP予約の作成 ボタンを押してウィザードを起動します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 37
準備1. IP予約の作成
インスタンスの作成
立ち上がった パブリックIP予約の作成 モーダルウィンドウで、以下の情報を入力します • 名前 : 任意 • インスタンス : なし その後 作成 ボタンを押して新しいIP予約を作成します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 38
準備1. IP予約の作成
インスタンスの作成
IP予約の作成に成功した旨のメッセージを確認します 作成したIP予約が下のリストに表示され、パブリックIPアドレス が付与されていることを確認します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 39
準備2. ブート可能なストレージ・ボリュームの作成
インスタンスの作成
次に 、OS領域への変更を永続化するための ブート可能なストレージ・ボリューム を作成します 上部の ストレージ タブを選択し、左部の ストレージ・ボリューム メニューを選択します ストレージ・ボリュームの作成 ボ
タンをおしてウィザードを起動します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 40
準備2. ブート可能ボリュームの作成
インスタンスの作成
立ち上がった ストレージ・ボリュームの作成 モーダルウィンドウで、以下の情報を入力します • 名前 : 任意 • ブート・イメージ : 作成したいインスタンスのイメージ
• サイズ : ブートボリュームのサイズを任意で選択
• ストレージ・プロパティ : storage/default または storage/ratency から選択
その後 作成 ボタンを押してストレージ・ボリュームを作成します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 41
準備2. ブート可能ボリュームの作成
インスタンスの作成
ストレージ・ボリュームの作成に成功した旨のメッセージを確認します
作成したストレージ・ボリュームが下のリストに表示されていることを確認します
ストレージ・ボリュームの作成タスクは裏で非同期で実行されます。ステータスが 初期化中 の場合は作成中です 作成が完了すると ステータスが オンライン になります
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 42
1. インスタンスタブからウィザードを起動
インスタンスの作成
次に 、インスタンスを作成していきます 上部の インスタンス タブを選択し、左部の インスタンス メニューを選択します インスタンスの作成 ボタン
をおしてウィザードを起動します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 43
2. ウィザードを使用したインスタンス作成
インスタンスの作成
イメージを選択します
ブート可能ストレージボリュームの作成 ステップで使用したイメージと同じもの を選択してください
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 44
2. ウィザードを使用したインスタンス作成
インスタンスの作成
コンピュート・シェイプ(形状)を選択します 1~16 OCPU と、メモリーの組み合
わせから任意のものを選択してください
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 45
2. ウィザードを使用したインスタンス作成
インスタンスの作成
インスタンスの詳細情報を入力します 以下の項目を入力します • 名前 : 任意(必須) • ラベル : 任意(必須) • 説明 : 任意 • タグ : 任意 • DNSホスト名接頭辞 : 任意(インスタンスのホスト名)
パブリックIPアドレス の値リストから 永続パブリックIP予約 を選択し、
下のボックスで事前ステップに作成しておいたIP予約を選択します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 46
2. ウィザードを使用したインスタンス作成
インスタンスの作成
セキュリティ・リストの作成 ボタンを押します
立ち上がったモーダルウィンドウで、以下の情報を入力します • 名前 : 任意 • インバウンド・ポリシー : 作成するイン
スタンスに対する外部からのアクセスの許可/拒否、特に希望がなければデフォルト(拒否)のまま
• アウトバウンド・ポリシー : 作成するインスタンスから外部へのアクセスの許可/
拒否、特に希望がなければデフォルト(許可)のまま
• 説明 : 任意 その後 作成 ボタンを押します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 47
2. ウィザードを使用したインスタンス作成
インスタンスの作成
SSH公開鍵の追加 ボタンを押します
立ち上がったモーダルウィンドウで、以下の情報を入力します • 名前 : 任意 • 値 : 予め作成したキーペアのうち、 公開鍵の内容をコピー&ペースト
その後 作成 ボタンを押します
鍵に改行が入っていると値の検証でエラーになるため注意してください
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 48
2. ウィザードを使用したインスタンス作成
インスタンスの作成
別ウィンドウで作成した セキュリティ・リスト と SSHキー
が選択されていることを確認します > ボタンを押してウィザードを進めます
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 49
2. ウィザードを使用したインスタンス作成
インスタンスの作成
次のページではストレージ・ボリュームの設定を行います
ここではウィザードが設定するストレージ・ボリュームは使用しませんので、リストに表示されているボリュームの右側のメニューをクリックし、削除 を選択します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 50
2. ウィザードを使用したインスタンス作成
インスタンスの作成
既存のボリュームのアタッチ ボタンを押します 立ち上がったモーダルウィンドウで、以下の情報を入力します • ストレージ・ボリュームのアタッチ : 準備ステップで作成したストレージ・ボリューム • ブート・ドライブ : チェック その後 追加 ボタンを押します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 51
2. ウィザードを使用したインスタンス作成
インスタンスの作成
準備ステップで作成しておいたブート用のストレージ・ボリュームがリストに表示されていることを確認します 問題なければ > ボタンを押してウィザードを進めます
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 52
2. ウィザードを使用したインスタンス作成
インスタンスの作成
入力した情報が正しく表示されていることを確認します 問題がなければ 作成 ボタンを押してインスタンス作成を開始します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 53
2. ウィザードを使用したインスタンス作成
インスタンスの作成
インスタンスの作成は裏で非同期で実行されます オーケストレーション タブを参照すると、作成中のインスタンスに関連するオーケストレーションが作成され、ステータスが 開始中 となっていることが確認できます このステータスが 準備完了 となると、インスタンスの作成が完了しています
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
オーケストレーションが完了すると、「インスタンス」タブに作成したインスタンスが表示されます MyVM右端の( )メニューより「表示」を選択して、仮想マシンの詳細を表示します
x.x.x
54
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
詳細画面から、IPアドレスなどのネットワーク情報が参照可能です。インターネット経由でSSHアクセスする場合は、表示されているパブリックIPアドレス(129.x.x.x)でアクセスします
x.x.x
55
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
仮想マシン(インスタンス)へのアクセス
• ターミナル・ソフトを利用してSSHアクセスします (Windowsの場合はTeraTermやPuttyなどを利用) –接続先IPは、インスタンスの詳細画面で表示されたパブリックIPアドレス
–ユーザー名: opc • opcユーザーはsudo権限があります。$ sudo suコマンド などで、rootユーザーになれます
– SSH Key: インスタンス作成時にしていたSSH Keyの秘密鍵を指定 • 通常は、インスタンス作成時には公開鍵、接続時には対となる秘密鍵を使用します
56
$ ssh -i ~/.ssh/mysshkey [email protected] [opc@testvm ~]$
*接続出来ない場合、社内ファイアウォールなどでSSHアクセスが制限されている 場合があります。社内担当者の方にご確認下さい
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Compute Cloud Service 仮想マシン(VM)の作成:Windows Server
57
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
仮想マシン(VM)の作成:Windows Server
1. Compute ServiceでのWindowsインスタンス作成
2. RDP接続のためのネットワーク設定
3. リモート・デスクトップ・クライアントで接続
4. (オプション)Windowsの日本語化
58
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Compute Serviceでの Windowsインスタンス作成
59
手順は前章をご覧ください。 “Oracle Compute Cloud Service
仮想マシン(VM)の作成:Oracle Linux” 以降では、Windows Server に関するポイントを記載します。
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス作成時のWindowsイメージの選択方法
• イメージを選択する画面で、マーケットプレイスタブをクリックします。
60
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス作成時のWindowsイメージの選択方法
•検索でwindowsと入力すると使用可能なWindowsイメージが表示されますので、使用したいイメージを選択します。
61
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス作成時のWindowsイメージの選択方法
• マーケットプレイス・イメージのインストール画面が表示されます。
• 「パートナ使用条件に合意します。」と「Oracle使用条件に合意します。」 の2つにチェックを入れ、インストールをクリックします。
62
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス作成時のWindowsイメージの選択方法
• 「マーケットプレイス・イメージのインストールが完了し、使用できるようになりました」というコメントが表示されていることを確認後、>ボタンをクリックします。
63
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
リモート・デスクトップ接続の有効化
• インスタンスの詳細入力画面でRDPを有効にし、管理者パスワードを入力します。
64
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
2. リモート・デスクトップ接続のための ネットワーク設定
65
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Windowsの日本語化
1. "Control Panel"から、"Add Language"を選択し、"Japanese"(日本語)を追加
2. 追加後、"Options"を表示、"Download and Install language pack"をクリック
3. 追加/インストール後、“Options”から、プライマリの言語に選択
4. 一旦サインアウトして、再接続
74
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Compute Cloud Service 仮想マシン(VM)の作成:CentOS
85
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
仮想マシン(VM)の作成:CentOS
1. Oracle Storage Cloud Service へ仮想マシンイメージのアップロード (初回のみ)
2. Compute Serviceへの仮想マシンイメージの登録
3. Compute ServiceでのCentOSインスタンスの作成
86
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
事前準備:仮想マシンイメージの入手
•以下のURLからイメージをローカルにダウンロードしてください – CentOS Linux 7 image: http://cloud.centos.org/centos/7/images
• (ex : CentOS-7-x86_64-OracleCloud.raw.tar.gz)
– CentOS Linux 6 image: http://cloud.centos.org/centos/6/images • (ex : CentOS-6-x86_64-OracleCloud.raw.tar.gz)
87
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1. Oracle Storage Cloud Service へ 仮想マシンイメージのアップロード
(初回のみ)
88
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 90
アイデンティティ・ドメイン、ユーザー名、パスワードを入力し、続行を選択します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 91
ローカルにダウンロード済みの仮想マシンイメージを参照し、 アップロードを選択してください
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 92
このようなメッセージが表示されたら、アップロードは完了です
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
2. Compute Serviceへの 仮想マシンイメージの登録
93
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 95
仮想マシンイメージの名前、説明を入力し、アップロードしたイメージ・ファイルを選択して、OKを選択します
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 96
プライベート・イメージの一覧に登録した仮想マシンイメージが追加されれば、登録は完了です
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
3. Compute Serviceでの CentOSインスタンスの作成
97
手順は前章をご覧ください “Oracle Compute Cloud Service
仮想マシン(VM)の作成:Oracle Linux” 以降では、CentOS に関するポイントを記載
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
CentOS ブートボリュームの作成方法
• ブート・イメージのリストに追加されているCentOSイメージを選択します
98
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
インスタンス作成時のCentOSイメージの選択方法
• プライベート・イメージのタブを選択すると追加したブート・イメージが表示されます
99
Top Related