SlideShare uma empresa Scribd logo
1 de 64
Baixar para ler offline
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSマイスターシリーズ
Amazon Elastic Compute Cloud
(Amazon EC2) – Windows編
2013.05.29
アマゾンデータサービスジャパン株式会社
ソリューションアーキテクト 渡邉 源太
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
2
今日のAgenda
Amazon EC2 –Windowsインスタンスとは?
Windowsインスタンスの基本
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
3
今日のAgenda
Amazon EC2 –Windowsインスタンスとは?
Windowsインスタンスの基本
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
4
AWSの様々なサービス
お客様のアプリケーション
認証
AWS IAM
モニタリング
Amazon
CloudWatch
Web管理画面
Management
Console
デプロイと自動化
AWS Elastic Beanstalk
AWS Cloud Formation
AWS OpsWorks
IDEプラグイン
Eclipse
Visual Studio
ライブラリ & SDKs
Java, PHP, .NET,
Python, Ruby,
node.js
Development &
Administration
AWS グローバルインフラ
Geographical Regions, Availability Zones, Points of PresenceAZRegion
ネットワーク & ルーティング
Amazon VPC / Amazon Elastic Load Balancer / Amazon Route 53 /AWS Direct Connect
Infrastructure
Service
コンピュータ処理
Amazon EC2
Auto Scale
ストレージ
Amazon S3
Amazon EBS
Amazon Glacier
AWS Storage Gateway
データベース
Amazon RDS
Amazon DynamoDB
Amazon ElastiCache
Amazon Redshift
コンテンツ配信
Amazon CloudFront
メッセージ
Amazon SNS
Amazon SQS
Amazon SES
分散処理
Elastic MapReduce
検索エンジン
Amazon Cloud Search
トランスコード
Amazon Elastic Transcoder
ワークフロー管理
Amazon SWF
Application
Service
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
5
AWSのグローバルインフラストラクチャ
US West
(Northern
California)
US East
(Northern
Virginia)
EU
(Ireland)
Asia
Pacific
(Singapore)
Asia
Pacific
(Tokyo)
GovCloud
(US ITAR
Region)
US West
(Oregon)
South
America
(Sao Paulo)
AWS Regions
AWS Edge Locations
1. どのリージョンでも同じ使い勝手、同じやり
方で自由に利用可能
2. リージョンを指定して、アプリケーション
やデータを配置する事が可能
Asia
Pacific
(Sydney)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
6
アベイラビリティゾーン(AZ)
• 各リージョン内に、複数のAZ(データセンター群)が存在
• 各AZはお互いに影響を受け難いように、
地理的・電源的・ネットワーク的に分離して設計
• AZ間は高速専用線で接続(リージョン間はインターネット経由)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
7
Amazon EC2 - Windowsインスタンス
Amazon EC2で実行可能なWindowsイメージ
Windows Server 2012、Windows Server 2008 R2、
Windows Server 2008およびWindows Server 2003
R2が実行可能
SQL Server 2008 / 2012 Express EditionまたはWeb
Edition、Standard Editionが時間単位の課金で利用可
能
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
8
Windowsインスタンスの利用パターン
Windows Server インフラ
• Active Directory
• Exchange
• SharePoint
業務アプリケーション
• SAP
• 多くのISVアプリケーション
.NETアプリケーション
• ASP.NET + SQL Server
Windows HPC
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
9
SQL Server 2008, SharePoint 2010
で構成
クラウド側がプライマリー、社内サーバ
(オンプレミス)がセカンダリー
ライセンス:ライセンスモビリティ適用
ネットワーク:Amazon VPC
(仮想プライベートクラウド)を利用
アマゾンでもMS SharePointを
AWSクラウド上で活用中
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
10
SharePoint on AWS システム構成例
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
11
CloudFormationによる
SharePointサーバーファーム構築
CloudFormationテンプレートのサンプルを使用して6
ステップでSharePointサーバーファームを構築
• http://aws.amazon.com/articles/9982940049271604
テンプレートは環境にあわせて自由にカスタマイズ可能
コストは約$3250/月
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
12
SAP on AWS システム構成例
AZ-A AZ-B
Subnet-1
SAP
DEV
SAP
PRD
SAP
QAS
S3
CloudWatch
DC/イントラ
SAP
DEVSAP
DEV
SAP
QASSAP
QAS
監視
Backup/
Restore
Subnet-3
SAP
Router
NAT
Instance
Internet
Gateway
VPN
Gateway
VPN接続/専用線
SAP
Solman
Subnet-2
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
13
今日のAgenda
Amazon EC2 – Windowsインスタンスとは?
Windowsインスタンスの基本
• 触ってみよう!
• 基本コンセプト
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
14
AWSサービスの選択
Webコンソールでコントロールするサービスを選ぶ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
15
リージョンを変更する
日本にいながら、世界中のどのリージョンも選択できる
1. リージョン選択メニューをクリック
2. Asia Pacific (Tokyo) を選択
XXXX
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
16
インスタンスを起動する
インスタンスを起動するために、起動ウィザードを立ちあげます。
1. [EC2 Dashboard]をクリック
2. [Launch Instance]をクリック
XXXX
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
17
ウィザード選択
Classic Wizardを選択し、Continue
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
18
AMI選択
任意のAMIを選ぶことで、
好みの環境 (OS、ミドルウェア、アプリ、データ) を選択できる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
19
台数、インスタンスタイプ、
アベイラビリティゾーンの指定
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
20
EBSの設定
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
21
Key Pair選択
いわゆる公開鍵方式でサーバーにアクセスする。
初回時は、秘密鍵を手元にダウンロードする
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
22
Security Groups選択
いわゆるファイアウォールの設定
作っておいたグループをサーバーに割り当てる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
23
インスタンスの起動
Request Instances Wizardの内容を確認し、
「Launch」をクリックしてインスタンスを起動
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
24
作成したインスタンスの確認
Instancesで、インスタンス一覧を確認
新規に作成したインスタンスのホスト名を確認する。
「Status Checks」に緑のチェックマークがつくと起動完了
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
25
Windowsパスワードの取得
インスタンスの起動後、10分~
15分くらいかかります
インスタンスを選択して
「Instances Actions」から
「Connect」「Retrieve
Password」を選択
xxx.pemをテキストエディタで開
いて内容をコピー(-----BEGIN
RSA PRIVATE KEY-----から-----
END RSA PRIVATE KEY-----ま
で)し「Private Key」へ貼り付
け、「Decrypt Password」をク
リック(IEの場合)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
26
Windowsインスタンスへの接続
インスタンスを選択して
「Instance Actions」から
「Connect」→「Download
shortcut file」もしくはリモー
トデスクトップ接続から
Public DNSを指定して接続
リモートデスクトップ接続の
場合は、<Public DNS名
>¥Administratorとしてログ
オン
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
27
Windows Server 2012 デスクトップ画面
デスクトップの壁紙にインスタンス情報が表示される
デスクトップ画面左下にカーソルで「スタートスクリー
ン」、画面右下にカーソルで「チャーム」を表示
インスタンス情報
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
28
今日のAgenda
Amazon EC2 –Windowsインスタンスとは?
Windowsインスタンスの基本
• 触ってみよう!
• 基本コンセプト
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
29
Key Pairとは?
Key Pairを作成すると、1組の公開鍵・秘密鍵が作成される
公開鍵はAWS側で保管。EC2起動時にインスタンスにコピー
秘密鍵はローカル側で保管。Windowsインスタンスの場合、パスワードの
復号化に必要
リージョンごとに独立
キーペアの作成
公開鍵は、AWSに
よってEC2起動時に
埋め込まれる
秘密鍵は、デスク
トップにダウンロード
される
EC2インスタ
ンスは2つの
鍵を用いる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
30
Security Groupとは?
インスタンスへのトラフィック
を制限するファイアーウォール
機能
デフォルトでは全トラフィック
が閉じており、外からアクセス
できない
必要な受信アクセスに対してア
クセスルールを定義する
• プロトコル( TCP/UDP)
• 宛先ポート
• アクセス元IP / Security Group
設定したルール以外の受信トラ
フィックは破棄される
ルールをひとまとめにしたテン
プレートを Security Groupと
呼ぶ
EC2
インスタンス
ポート3389
(RDP)
ポート80
(HTTP)
EC2ファイアウォール
Security Group
ポート25
(SMTP)
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
31
Amazon Machine Image (AMI)
AMIはインスタンス作成に使用するイメージテンプレート
AWS公式AMIや、サードパーティもAMIを提供
• https://aws.amazon.com/amis/
• https://aws.amazon.com/marketplace/
選択したAMIから起動する
EC2インスタンスから、任意のタイミングで
カスタムAMIを作成できる
launch
Amazon
Machine
Image (AMI)
Amazon EC2インスタンス
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
32
AMIとインスタンス、AZの関係
インスタンス
Amazon S3
AMI
Availability Zone-1a Availability Zone-1b
カスタム
AMI
AMIからインスタンスを
起動
カスタムAMIを使って、イ
ンスタンスを複数台起動
カスタムAMIを作成
必要に応じて共有設定
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
33
EC2ConfigServices
EC2独自のカスタマイズツー
ル
スタートメニューから、
「EC2 ConfigService
Settings」で起動
Windowsイメージのカスタ
マイズが可能
• Set Computer Name
• User Data
• Eventlog
• Wallpaper Information
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
34
Sysprepの実行
Sysprepにより複製用
のマスタイメージを作
成可能
「Image」タブの
「Random」
「Shutdown with
Sysprep」を選択
確認の画面が表示され
るので「はい」を選択
実行後、OSは自動的に
シャットダウンされる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
35
カスタムAMIの作成
• 素となるインスタンスをカスタマイズ
• 右クリックで「Create Image」を選択
• AMIの名前を必要に応じて入力
• 「No Reboot」にチェックしない
• 素となるインスタンスがReboot
• AMI作成開始
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
36
Amazon Elastic Block Store (EBS)
EBSとは、EC2に仮想外付けされる
ブロックレベルのストレージサービス
サイズは1GB単位で~1TBまで
サイズ/期間(/IO)で課金される
各EC2インスタンスで、複数EBSを使える
詳細
データは永続的に保存される
いつでもバックアップ(スナップショット)
スナップショットから、EBSを作成可能
(他のAZに作成できる)
Provisioned IOPSでIOパフォーマンス指定
他のEC2インスタンスに付け替え可能
Region
Availability Zone - a
EBS EBS EBS
Availability Zone - b
EBS EBS
Amazon S3
EBS
スナップ
ショット
EC2 EC2
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
37
EBSボリュームのアタッチ
Available状態のボリュームを右クリック->「Attach Volume」
アタッチ情報を入力
• アタッチ先インスタンス (ボリュームと同じゾーンのインスタンスから選択)
• アタッチ先デバイス (例: xvdf, xvdg, xvdh … xvdp )
EBS
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
38
インスタンスストレージの使用
インスタンスストレージ
(Ephemeral Disk)は
インスタンス起動時にデ
フォルトでアタッチされ
る(Citrix PV Driverの場
合)
アタッチされたボリュー
ムをOSから初期化して使
用
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
39
今日のAgenda
Amazon EC2 –Windowsインスタンスとは?
Windowsインスタンスを触ってみる
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
40
Windows関連アップデート (1/2)
11/19 Windows Server 2012 が利用可能に
• EC2の公式AMI (31個のAMI)
• AWS Elastic Beanstalkでも利用可能
12/5 AWS MarketplaceがWindowsアプリに対応
12/6 AWS Tools for Windows PowerShellリリース
2/26 AWS Diagnostics for Microsoft Windows
Server ベータ版リリース
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
41
Windows関連アップデート (2/2)
3/26 Windows Server 2003 R2/2008/2008 R2 AMI
アップデート
• Citrix Para Virtualized (PV) Driverの採用
• アタッチ可能なEBSの上限数が25個に
4/4 Windowsのオンデマンドインスタンスを最大26%
値下げ
• 第一世代スタンダード(m1)、第二世代スタンダード(m3)、
ハイメモリ(m2)およびハイCPU(c1)に適用
5/8 AWS Management Pack for Microsoft System
Centerリリース
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
42
AWS Tools for Windows PowerShell
AWSへの容易なコマンドラインアクセス
• 550以上のコマンドレット
• AWS SDK for .NETがベース
スクリプトによる管理の自動化に対応
EC2, S3をはじめ多くのサービスの管理が可能
• http://aws.amazon.com/jp/powershell/
42
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
43
EC2インスタンスの作成と起動
EC2インスタンスの作成
• PS C:>New-EC2Instance –ImageID ami-5db8385c –
MinCount 1 –MaxCount 1 –KeyName myPSKeyPair –
SecurityGroup myPSSecurityGroup –InstanceType t1.micro
EC2インスタンスの起動
• PS C:>Start-EC2Instance –InstanceId i-7b2e5078
43
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
44
S3の操作
S3バケットの作成
• PS C:>New-S3Bucket –BucketName mypsbucket
オブジェクトのアップロード
• PS C:>Write-S3Object –BucketName mypsbucket –Key
sample.txt –File .sample.txt
フォルダーのアップロード
• PS C:>Write-S3Object –BucketName mypsbucket –
Folder .Scripts –KeyPrefix SampleScripts
44
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
45
PowerShellによるスクリプティング
例:C:Logsにある1週間より前のファイルをS3のバケットにアッ
プロードしてローカルから削除するスクリプト
foreach ($i in Get-ChildItem C:Logs)
{
if ($i.CreationTime -lt ($(Get-Date).AddDays(-7)))
{
if ($i.Length -gt 0)
{
Write-S3Object -BucketName mylogbucket -Key
Logs/$i -File $i.FullName
}
Remove-Item $i.FullName
}
}
45
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
46
AWS Management Pack for Microsoft
System Center
オンプレミスとAWSリソースの両方をSystem Center
Operations Managerから参照、監視することが可能に
監視対象
• EC2インスタンス(WindowsおよびLinux)
• EBSボリューム
• Elastic Load Balancing
• CloudFormationスタック
• Auto Scalingグループ
• Elastic Beanstalkアプリケーション
SQL Server、SharePoint、Exchangeなどの監視との
統合が可能
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
47
AWS Management Pack for Microsoft
System CenterによるAWSリソース監視
監視対象
インスタンス一覧
Amazon EC2 Instanceタスク
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
48
ダイアグラムビューによるAWSリソースの表示
CloudFormationスタック
Elastic Loadbalancer
Auto scalingグループ
EC2インスタンス
EBSボリューム
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
49
AWS Diagnostics for Microsoft
Windows Server
Windowsインスタンスのトラブ
ルシューティングに役立つツール
• http://aws.amazon.com/jp/win
dows/awsdiagnostics
以下のデータが収集可能
• ネットワーク
• ドメインとコンピュータ名
• ライセンスアクティベーション
• 時刻設定とタイムゾーン
• インストールされているドライバ
• Windows firewallとSecurity
Groupの設定
• インストール済みのアップデート
• 1週間以内にクラッシュした場合の
ミニダンプファイル
49
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
50
今日のAgenda
Amazon EC2とは?
Amazon EC2を触ってみる
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSのマルチAZを用いた冗長構成
ゾーンA
www.example.com
データの同期
Web
サーバ
データ
DB
スレーブ
App
サーバ
Web
サーバ
データ
App
サーバ
DB
マスタ
ゾーンB
ヘルスチェックで
サーバー状況を監視
DBソース
の参照
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
52
SQL Server AlwaysOn Availability
Group on AWS
Windows Server Failover Cluster Managerおよび
SQL Server 2012 Availability GroupをAWS上で構成
可能に!
Availability Zoneをまたいだレプリケーションと高可用
性を実現
環境構築のためのCloudformationテンプレートも提供
52
Availability Zone Availability Zone
SQL Server
DB
SQL Server
DB
Domain
Controller
Domain
Controller
AWS Cloud
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
53
www.example.co
m
Amazon
Route 53
AMI
EC2
①AMIから
EC2を起動
②S3からEBS
を作成
VM Import/ExportによるバックアップからEC2
への復旧
保存
ファイル
③名前を
切り替える既存DC
既存
サーバー
AWS Import/Export
郵送
AWS VM Import
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
54
VM Import/Export
既存の仮想マシンをそのまま
Amazon EC2にインポートする
ことが可能
• Windows Server 2003 / R2
• Windows Server 2008 / R2
以下の仮想ディスクフォーマッ
トに対応
• VMware vSphere VMDK
• Microsoft Hyper-V VHD
• Citrix XenServer VHD
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
55
RD GatewayによるWindowsインスタン
スへの接続
RDP(TCP:3389)での通信ができない環境におけるセ
キュアなアクセスを実現
55
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
56
RD GatewayによるWindowsインスタン
スへの接続
RD Gatewayとは
• RDP(TCP:3389)ではなくHTTPS(TCP:443)を使用した接
続
• SSLを使用することにより、従来のRDPよりもセキュアな接続
を実現
• VPC内のEIP (Elastic IP )をもたないインスタンスにも接続可
能
前提条件
• RD GatewayサーバーとなるWindowsインスタンスをVPCの
Public Subnetで起動
• EIP(Elastic IP )を割り当て、Route 53などのDNSにFQDN
を登録
• RDPを使用してRD Gatewayサーバーに接続
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
57
User Dataの使用
User Dataにスクリプト(<script></script>)または
PowerShell(<powershell></Powershell>)を埋め
込むことで、インスタンス起動時の処理を自動化
例:<powershell>Read-S3Object -BucketName
myS3Bucket -Key myFolder/myFile.zip -File
c:destinationFile.zip</powershell>
User DataはWindowsが利用可能になるとすぐに実行さ
れる
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
58
マイクロソフト ライセンスモビリティ
既存のマイクロソフト製品のライセンスをAWS上に持
ち込み可能
• Exchange Server 2010
• SharePoint Server 2010
• SQL Server 2008 R2 Enterpriseなど
ソフトウェアアシュアランス(SA)の特典として提供
• http://www.microsoft.com/ja-jp/licensing/software-
assurance/license-mobility.aspx
1サーバーライセンスが1インスタンスに、1プロセッサ
ライセンスが4コアまでの1インスタンスに対応
• SQL Server 2012ではコアライセンスに変更
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
59
ライセンスモビリティの対象製品
マイクロソフト製品使用権説明書(RUP)に定義
• RUPは四半期に一度更新されるため定期的に要確認
• マイクロソフト製品使用権説明書(2013年4月版)
• http://www.microsoftvolumelicensing.com/Downloader.aspx?
DocumentId=6324
ライセンスモビリティ対象製品
• Exchange Server 2010
• SharePoint Server 2010
• SQL Server 2008 R2 Enterpriseなど
ライセンスモビリティの対象ではない製品
• Windows OS
• デスクトップアプリケーションなど
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
60
Windows関連ドキュメントアップデート
Securing the Microsoft Platform on Amazon Web
Services
• http://d36cz9buwru1tt.cloudfront.net/AWS_Microsoft_Plat
form_Security.pdf
Implementing Microsoft Windows Server Failover
Clustering (WSFC) and SQL Server 2012 AlwaysOn
Availability Groups in the AWS Cloud
• http://media.amazonwebservices.com/AWS_WSFC_SQL_
Server_AlwaysOn.pdf
60
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
61
今日のAgenda
Amazon EC2 –Windowsインスタンスとは?
Windowsインスタンスを触ってみる
最新アップデート
高度な使い方
まとめ
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
62
AWS無料利用枠
アカウント取得から1年間有効
EC2関連では毎月以下が無料で利用可能
• EC2
• Linux マイクロインスタンス 750時間
• Microsoft Windows Server マイクロインスタンス 750時間
• EBS
• 30 GBのストレージ
• 200万 I/O、
• 1GBのスナップショット ストレージ
• データ転送
• 帯域幅「送信(アウト)」15 GB
http://aws.amazon.com/jp/free/
24時間・365日での日本語サポートの提供
• 日本語でのサポートをご提供しております
http://aws.amazon.com/jp/premiumsupport/
ベーシック デベロッパー ビジネス エンタープライズ
受付時間 24時間 / 365日(年中無休)
初回応答時間 セルフサービス
12時間
(営業時間内)
1時間 15分
サポート連絡先 N/A 1人 5人 無制限
チャット 不可 不可 可能 可能
TEL 不可 不可 可能 可能
専任スタッフ なし なし なし あり
料金(月額)
無料(AWSの利用料に
含まれる)
$49/月
AWS利用総額の
10%~
※最低料金:$100/月
AWS利用総額の
10%~
※最低$15,000/月
63
© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
64
ご参加ありがとう
ございました。

Mais conteúdo relacionado

Mais procurados

Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
Kameda Harunobu
 
エンターテイメント業界におけるAWS活用事例
エンターテイメント業界におけるAWS活用事例エンターテイメント業界におけるAWS活用事例
エンターテイメント業界におけるAWS活用事例
Amazon Web Services Japan
 
AWS 初級トレーニング (Windows Server 2012編)
AWS 初級トレーニング (Windows Server 2012編)AWS 初級トレーニング (Windows Server 2012編)
AWS 初級トレーニング (Windows Server 2012編)
Amazon Web Services Japan
 
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
Amazon Web Services Japan
 
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
Amazon Web Services Japan
 
いまさら聞けないAWSクラウド - Java Festa 2013
いまさら聞けないAWSクラウド - Java Festa 2013いまさら聞けないAWSクラウド - Java Festa 2013
いまさら聞けないAWSクラウド - Java Festa 2013
SORACOM, INC
 

Mais procurados (20)

スタートアップならおさえておきたいAWS(Amazon Web Services)入門 1限目:サービス概要と基礎知識編 先生:
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 1限目:サービス概要と基礎知識編 先生:スタートアップならおさえておきたいAWS(Amazon Web Services)入門 1限目:サービス概要と基礎知識編 先生:
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 1限目:サービス概要と基礎知識編 先生:
 
Amazon VPCトレーニング-VPCの説明
Amazon VPCトレーニング-VPCの説明Amazon VPCトレーニング-VPCの説明
Amazon VPCトレーニング-VPCの説明
 
Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
Word press preinstall-iam対応版-aws体験ハンズオン-セキュア&スケーラブルウェブサービス構築編
 
AWS Blackbelt 2015シリーズ AWS Summit Tokyo 2015 ふりかえり&最新アップデート
AWS Blackbelt 2015シリーズ AWS Summit Tokyo 2015 ふりかえり&最新アップデートAWS Blackbelt 2015シリーズ AWS Summit Tokyo 2015 ふりかえり&最新アップデート
AWS Blackbelt 2015シリーズ AWS Summit Tokyo 2015 ふりかえり&最新アップデート
 
20120625 aws meister-reloaded-sg-vmie-public
20120625 aws meister-reloaded-sg-vmie-public20120625 aws meister-reloaded-sg-vmie-public
20120625 aws meister-reloaded-sg-vmie-public
 
AWS Blackbelt 2015シリーズ Amazon EC2 Windows インスタンス
AWS Blackbelt 2015シリーズ Amazon EC2 Windows インスタンスAWS Blackbelt 2015シリーズ Amazon EC2 Windows インスタンス
AWS Blackbelt 2015シリーズ Amazon EC2 Windows インスタンス
 
Aws handson 20181108
Aws handson 20181108Aws handson 20181108
Aws handson 20181108
 
エンターテイメント業界におけるAWS活用事例
エンターテイメント業界におけるAWS活用事例エンターテイメント業界におけるAWS活用事例
エンターテイメント業界におけるAWS活用事例
 
AWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management ConsoleAWS Black Belt Techシリーズ AWS Management Console
AWS Black Belt Techシリーズ AWS Management Console
 
AWS Black Belt Techシリーズ AWS IAM
AWS Black Belt Techシリーズ AWS IAMAWS Black Belt Techシリーズ AWS IAM
AWS Black Belt Techシリーズ AWS IAM
 
AWS Black Belt Tech シリーズ 2016 - Amazon SES
AWS Black Belt Tech シリーズ 2016 - Amazon SESAWS Black Belt Tech シリーズ 2016 - Amazon SES
AWS Black Belt Tech シリーズ 2016 - Amazon SES
 
Awsビギナー向け資料 ec2 20111124
Awsビギナー向け資料 ec2 20111124Awsビギナー向け資料 ec2 20111124
Awsビギナー向け資料 ec2 20111124
 
AWSマイスターシリーズReloaded -Amazon Glacier-
AWSマイスターシリーズReloaded -Amazon Glacier-AWSマイスターシリーズReloaded -Amazon Glacier-
AWSマイスターシリーズReloaded -Amazon Glacier-
 
AWS 初級トレーニング (Windows Server 2012編)
AWS 初級トレーニング (Windows Server 2012編)AWS 初級トレーニング (Windows Server 2012編)
AWS 初級トレーニング (Windows Server 2012編)
 
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
 
いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2
 
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
[AWSマイスターシリーズ] Amazon Elastic Compute Cloud HPC編
 
AWS Organizations
AWS OrganizationsAWS Organizations
AWS Organizations
 
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
 
いまさら聞けないAWSクラウド - Java Festa 2013
いまさら聞けないAWSクラウド - Java Festa 2013いまさら聞けないAWSクラウド - Java Festa 2013
いまさら聞けないAWSクラウド - Java Festa 2013
 

Semelhante a [AWSマイスターシリーズ] Amazon Elastic Compute Cloud (EC2) Windows編

[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation
Amazon Web Services Japan
 
[AWSマイスターシリーズ] AWS OpsWorks
[AWSマイスターシリーズ] AWS OpsWorks[AWSマイスターシリーズ] AWS OpsWorks
[AWSマイスターシリーズ] AWS OpsWorks
Amazon Web Services Japan
 
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
Amazon Web Services Japan
 
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
Amazon Web Services Japan
 
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
Amazon Web Services Japan
 
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
Amazon Web Services Japan
 
Amazon EC2を使った実践SaaS運用事例
Amazon EC2を使った実践SaaS運用事例Amazon EC2を使った実践SaaS運用事例
Amazon EC2を使った実践SaaS運用事例
Yuuki Namikawa
 
[AWSマイスターシリーズ] AWS Elastic Beanstalk
[AWSマイスターシリーズ] AWS Elastic Beanstalk[AWSマイスターシリーズ] AWS Elastic Beanstalk
[AWSマイスターシリーズ] AWS Elastic Beanstalk
Amazon Web Services Japan
 
[AWSマイスターシリーズ] Amazon Redshift
[AWSマイスターシリーズ] Amazon Redshift[AWSマイスターシリーズ] Amazon Redshift
[AWSマイスターシリーズ] Amazon Redshift
Amazon Web Services Japan
 
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
Amazon Web Services Japan
 
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
Amazon Web Services Japan
 
[AWSマイスターシリーズ] AWS SDK for Java / .NET
[AWSマイスターシリーズ] AWS SDK for Java / .NET[AWSマイスターシリーズ] AWS SDK for Java / .NET
[AWSマイスターシリーズ] AWS SDK for Java / .NET
Amazon Web Services Japan
 

Semelhante a [AWSマイスターシリーズ] Amazon Elastic Compute Cloud (EC2) Windows編 (20)

AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)
AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)
AWS Black Belt Techシリーズ Amazon Elastic Compute Cloud (Amazon EC2)
 
[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation
 
[AWSマイスターシリーズ] AWS OpsWorks
[AWSマイスターシリーズ] AWS OpsWorks[AWSマイスターシリーズ] AWS OpsWorks
[AWSマイスターシリーズ] AWS OpsWorks
 
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
[よくわかるクラウドデータベース] CassandraからAmazon DynamoDBへの移行事例
 
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
[AWSマイスターシリーズ] Amazon Elastic MapReduce (EMR)
 
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
[AWSマイスターシリーズ] AWS Elastic Beanstalk -Python編-
 
20180613 AWS Black Belt Online Seminar AWS Cloud9 入門
20180613 AWS Black Belt Online Seminar AWS Cloud9 入門20180613 AWS Black Belt Online Seminar AWS Cloud9 入門
20180613 AWS Black Belt Online Seminar AWS Cloud9 入門
 
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
[AWSマイスターシリーズ] AWS Client Side SDK -Android,iOS & JavaScript-
 
Amazon EC2を使った実践SaaS運用事例
Amazon EC2を使った実践SaaS運用事例Amazon EC2を使った実践SaaS運用事例
Amazon EC2を使った実践SaaS運用事例
 
AWSマイスターシリーズReloaded -AWS SDK for .NET-
AWSマイスターシリーズReloaded -AWS SDK for .NET-AWSマイスターシリーズReloaded -AWS SDK for .NET-
AWSマイスターシリーズReloaded -AWS SDK for .NET-
 
[AWSマイスターシリーズ] AWS Elastic Beanstalk
[AWSマイスターシリーズ] AWS Elastic Beanstalk[AWSマイスターシリーズ] AWS Elastic Beanstalk
[AWSマイスターシリーズ] AWS Elastic Beanstalk
 
JAWS-UG 初心者支部 #31 監視編 サーバーのモニタリングの基本を学ぼう
JAWS-UG 初心者支部 #31 監視編 サーバーのモニタリングの基本を学ぼうJAWS-UG 初心者支部 #31 監視編 サーバーのモニタリングの基本を学ぼう
JAWS-UG 初心者支部 #31 監視編 サーバーのモニタリングの基本を学ぼう
 
ビッグデータサービス群のおさらい & AWS Data Pipeline
ビッグデータサービス群のおさらい & AWS Data Pipelineビッグデータサービス群のおさらい & AWS Data Pipeline
ビッグデータサービス群のおさらい & AWS Data Pipeline
 
[AWSマイスターシリーズ] Amazon Redshift
[AWSマイスターシリーズ] Amazon Redshift[AWSマイスターシリーズ] Amazon Redshift
[AWSマイスターシリーズ] Amazon Redshift
 
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
 
20140924イグレックcioセミナーpublic
20140924イグレックcioセミナーpublic20140924イグレックcioセミナーpublic
20140924イグレックcioセミナーpublic
 
Migration to AWS part2
Migration to AWS part2Migration to AWS part2
Migration to AWS part2
 
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
[AWSマイスターシリーズ] Amazon Virtual Private Cloud (VPC)
 
Gaming cicd-pipeline gaming-technight-2
Gaming cicd-pipeline gaming-technight-2Gaming cicd-pipeline gaming-technight-2
Gaming cicd-pipeline gaming-technight-2
 
[AWSマイスターシリーズ] AWS SDK for Java / .NET
[AWSマイスターシリーズ] AWS SDK for Java / .NET[AWSマイスターシリーズ] AWS SDK for Java / .NET
[AWSマイスターシリーズ] AWS SDK for Java / .NET
 

Mais de Amazon Web Services Japan

Mais de Amazon Web Services Japan (20)

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
 
Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 

[AWSマイスターシリーズ] Amazon Elastic Compute Cloud (EC2) Windows編

  • 1. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. AWSマイスターシリーズ Amazon Elastic Compute Cloud (Amazon EC2) – Windows編 2013.05.29 アマゾンデータサービスジャパン株式会社 ソリューションアーキテクト 渡邉 源太
  • 2. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 2 今日のAgenda Amazon EC2 –Windowsインスタンスとは? Windowsインスタンスの基本 最新アップデート 高度な使い方 まとめ
  • 3. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 3 今日のAgenda Amazon EC2 –Windowsインスタンスとは? Windowsインスタンスの基本 最新アップデート 高度な使い方 まとめ
  • 4. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 4 AWSの様々なサービス お客様のアプリケーション 認証 AWS IAM モニタリング Amazon CloudWatch Web管理画面 Management Console デプロイと自動化 AWS Elastic Beanstalk AWS Cloud Formation AWS OpsWorks IDEプラグイン Eclipse Visual Studio ライブラリ & SDKs Java, PHP, .NET, Python, Ruby, node.js Development & Administration AWS グローバルインフラ Geographical Regions, Availability Zones, Points of PresenceAZRegion ネットワーク & ルーティング Amazon VPC / Amazon Elastic Load Balancer / Amazon Route 53 /AWS Direct Connect Infrastructure Service コンピュータ処理 Amazon EC2 Auto Scale ストレージ Amazon S3 Amazon EBS Amazon Glacier AWS Storage Gateway データベース Amazon RDS Amazon DynamoDB Amazon ElastiCache Amazon Redshift コンテンツ配信 Amazon CloudFront メッセージ Amazon SNS Amazon SQS Amazon SES 分散処理 Elastic MapReduce 検索エンジン Amazon Cloud Search トランスコード Amazon Elastic Transcoder ワークフロー管理 Amazon SWF Application Service
  • 5. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 5 AWSのグローバルインフラストラクチャ US West (Northern California) US East (Northern Virginia) EU (Ireland) Asia Pacific (Singapore) Asia Pacific (Tokyo) GovCloud (US ITAR Region) US West (Oregon) South America (Sao Paulo) AWS Regions AWS Edge Locations 1. どのリージョンでも同じ使い勝手、同じやり 方で自由に利用可能 2. リージョンを指定して、アプリケーション やデータを配置する事が可能 Asia Pacific (Sydney)
  • 6. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 6 アベイラビリティゾーン(AZ) • 各リージョン内に、複数のAZ(データセンター群)が存在 • 各AZはお互いに影響を受け難いように、 地理的・電源的・ネットワーク的に分離して設計 • AZ間は高速専用線で接続(リージョン間はインターネット経由)
  • 7. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 7 Amazon EC2 - Windowsインスタンス Amazon EC2で実行可能なWindowsイメージ Windows Server 2012、Windows Server 2008 R2、 Windows Server 2008およびWindows Server 2003 R2が実行可能 SQL Server 2008 / 2012 Express EditionまたはWeb Edition、Standard Editionが時間単位の課金で利用可 能
  • 8. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 8 Windowsインスタンスの利用パターン Windows Server インフラ • Active Directory • Exchange • SharePoint 業務アプリケーション • SAP • 多くのISVアプリケーション .NETアプリケーション • ASP.NET + SQL Server Windows HPC
  • 9. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 9 SQL Server 2008, SharePoint 2010 で構成 クラウド側がプライマリー、社内サーバ (オンプレミス)がセカンダリー ライセンス:ライセンスモビリティ適用 ネットワーク:Amazon VPC (仮想プライベートクラウド)を利用 アマゾンでもMS SharePointを AWSクラウド上で活用中
  • 10. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 10 SharePoint on AWS システム構成例
  • 11. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 11 CloudFormationによる SharePointサーバーファーム構築 CloudFormationテンプレートのサンプルを使用して6 ステップでSharePointサーバーファームを構築 • http://aws.amazon.com/articles/9982940049271604 テンプレートは環境にあわせて自由にカスタマイズ可能 コストは約$3250/月
  • 12. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 12 SAP on AWS システム構成例 AZ-A AZ-B Subnet-1 SAP DEV SAP PRD SAP QAS S3 CloudWatch DC/イントラ SAP DEVSAP DEV SAP QASSAP QAS 監視 Backup/ Restore Subnet-3 SAP Router NAT Instance Internet Gateway VPN Gateway VPN接続/専用線 SAP Solman Subnet-2
  • 13. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 13 今日のAgenda Amazon EC2 – Windowsインスタンスとは? Windowsインスタンスの基本 • 触ってみよう! • 基本コンセプト 最新アップデート 高度な使い方 まとめ
  • 14. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 14 AWSサービスの選択 Webコンソールでコントロールするサービスを選ぶ
  • 15. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 15 リージョンを変更する 日本にいながら、世界中のどのリージョンも選択できる 1. リージョン選択メニューをクリック 2. Asia Pacific (Tokyo) を選択 XXXX
  • 16. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 16 インスタンスを起動する インスタンスを起動するために、起動ウィザードを立ちあげます。 1. [EC2 Dashboard]をクリック 2. [Launch Instance]をクリック XXXX
  • 17. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 17 ウィザード選択 Classic Wizardを選択し、Continue
  • 18. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 18 AMI選択 任意のAMIを選ぶことで、 好みの環境 (OS、ミドルウェア、アプリ、データ) を選択できる
  • 19. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 19 台数、インスタンスタイプ、 アベイラビリティゾーンの指定
  • 20. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 20 EBSの設定
  • 21. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 21 Key Pair選択 いわゆる公開鍵方式でサーバーにアクセスする。 初回時は、秘密鍵を手元にダウンロードする
  • 22. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 22 Security Groups選択 いわゆるファイアウォールの設定 作っておいたグループをサーバーに割り当てる
  • 23. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 23 インスタンスの起動 Request Instances Wizardの内容を確認し、 「Launch」をクリックしてインスタンスを起動
  • 24. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 24 作成したインスタンスの確認 Instancesで、インスタンス一覧を確認 新規に作成したインスタンスのホスト名を確認する。 「Status Checks」に緑のチェックマークがつくと起動完了
  • 25. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 25 Windowsパスワードの取得 インスタンスの起動後、10分~ 15分くらいかかります インスタンスを選択して 「Instances Actions」から 「Connect」「Retrieve Password」を選択 xxx.pemをテキストエディタで開 いて内容をコピー(-----BEGIN RSA PRIVATE KEY-----から----- END RSA PRIVATE KEY-----ま で)し「Private Key」へ貼り付 け、「Decrypt Password」をク リック(IEの場合)
  • 26. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 26 Windowsインスタンスへの接続 インスタンスを選択して 「Instance Actions」から 「Connect」→「Download shortcut file」もしくはリモー トデスクトップ接続から Public DNSを指定して接続 リモートデスクトップ接続の 場合は、<Public DNS名 >¥Administratorとしてログ オン
  • 27. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 27 Windows Server 2012 デスクトップ画面 デスクトップの壁紙にインスタンス情報が表示される デスクトップ画面左下にカーソルで「スタートスクリー ン」、画面右下にカーソルで「チャーム」を表示 インスタンス情報
  • 28. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 28 今日のAgenda Amazon EC2 –Windowsインスタンスとは? Windowsインスタンスの基本 • 触ってみよう! • 基本コンセプト 最新アップデート 高度な使い方 まとめ
  • 29. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 29 Key Pairとは? Key Pairを作成すると、1組の公開鍵・秘密鍵が作成される 公開鍵はAWS側で保管。EC2起動時にインスタンスにコピー 秘密鍵はローカル側で保管。Windowsインスタンスの場合、パスワードの 復号化に必要 リージョンごとに独立 キーペアの作成 公開鍵は、AWSに よってEC2起動時に 埋め込まれる 秘密鍵は、デスク トップにダウンロード される EC2インスタ ンスは2つの 鍵を用いる
  • 30. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 30 Security Groupとは? インスタンスへのトラフィック を制限するファイアーウォール 機能 デフォルトでは全トラフィック が閉じており、外からアクセス できない 必要な受信アクセスに対してア クセスルールを定義する • プロトコル( TCP/UDP) • 宛先ポート • アクセス元IP / Security Group 設定したルール以外の受信トラ フィックは破棄される ルールをひとまとめにしたテン プレートを Security Groupと 呼ぶ EC2 インスタンス ポート3389 (RDP) ポート80 (HTTP) EC2ファイアウォール Security Group ポート25 (SMTP)
  • 31. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 31 Amazon Machine Image (AMI) AMIはインスタンス作成に使用するイメージテンプレート AWS公式AMIや、サードパーティもAMIを提供 • https://aws.amazon.com/amis/ • https://aws.amazon.com/marketplace/ 選択したAMIから起動する EC2インスタンスから、任意のタイミングで カスタムAMIを作成できる launch Amazon Machine Image (AMI) Amazon EC2インスタンス
  • 32. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 32 AMIとインスタンス、AZの関係 インスタンス Amazon S3 AMI Availability Zone-1a Availability Zone-1b カスタム AMI AMIからインスタンスを 起動 カスタムAMIを使って、イ ンスタンスを複数台起動 カスタムAMIを作成 必要に応じて共有設定
  • 33. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 33 EC2ConfigServices EC2独自のカスタマイズツー ル スタートメニューから、 「EC2 ConfigService Settings」で起動 Windowsイメージのカスタ マイズが可能 • Set Computer Name • User Data • Eventlog • Wallpaper Information
  • 34. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 34 Sysprepの実行 Sysprepにより複製用 のマスタイメージを作 成可能 「Image」タブの 「Random」 「Shutdown with Sysprep」を選択 確認の画面が表示され るので「はい」を選択 実行後、OSは自動的に シャットダウンされる
  • 35. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 35 カスタムAMIの作成 • 素となるインスタンスをカスタマイズ • 右クリックで「Create Image」を選択 • AMIの名前を必要に応じて入力 • 「No Reboot」にチェックしない • 素となるインスタンスがReboot • AMI作成開始
  • 36. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 36 Amazon Elastic Block Store (EBS) EBSとは、EC2に仮想外付けされる ブロックレベルのストレージサービス サイズは1GB単位で~1TBまで サイズ/期間(/IO)で課金される 各EC2インスタンスで、複数EBSを使える 詳細 データは永続的に保存される いつでもバックアップ(スナップショット) スナップショットから、EBSを作成可能 (他のAZに作成できる) Provisioned IOPSでIOパフォーマンス指定 他のEC2インスタンスに付け替え可能 Region Availability Zone - a EBS EBS EBS Availability Zone - b EBS EBS Amazon S3 EBS スナップ ショット EC2 EC2
  • 37. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 37 EBSボリュームのアタッチ Available状態のボリュームを右クリック->「Attach Volume」 アタッチ情報を入力 • アタッチ先インスタンス (ボリュームと同じゾーンのインスタンスから選択) • アタッチ先デバイス (例: xvdf, xvdg, xvdh … xvdp ) EBS
  • 38. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 38 インスタンスストレージの使用 インスタンスストレージ (Ephemeral Disk)は インスタンス起動時にデ フォルトでアタッチされ る(Citrix PV Driverの場 合) アタッチされたボリュー ムをOSから初期化して使 用
  • 39. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 39 今日のAgenda Amazon EC2 –Windowsインスタンスとは? Windowsインスタンスを触ってみる 最新アップデート 高度な使い方 まとめ
  • 40. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 40 Windows関連アップデート (1/2) 11/19 Windows Server 2012 が利用可能に • EC2の公式AMI (31個のAMI) • AWS Elastic Beanstalkでも利用可能 12/5 AWS MarketplaceがWindowsアプリに対応 12/6 AWS Tools for Windows PowerShellリリース 2/26 AWS Diagnostics for Microsoft Windows Server ベータ版リリース
  • 41. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 41 Windows関連アップデート (2/2) 3/26 Windows Server 2003 R2/2008/2008 R2 AMI アップデート • Citrix Para Virtualized (PV) Driverの採用 • アタッチ可能なEBSの上限数が25個に 4/4 Windowsのオンデマンドインスタンスを最大26% 値下げ • 第一世代スタンダード(m1)、第二世代スタンダード(m3)、 ハイメモリ(m2)およびハイCPU(c1)に適用 5/8 AWS Management Pack for Microsoft System Centerリリース
  • 42. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 42 AWS Tools for Windows PowerShell AWSへの容易なコマンドラインアクセス • 550以上のコマンドレット • AWS SDK for .NETがベース スクリプトによる管理の自動化に対応 EC2, S3をはじめ多くのサービスの管理が可能 • http://aws.amazon.com/jp/powershell/ 42
  • 43. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 43 EC2インスタンスの作成と起動 EC2インスタンスの作成 • PS C:>New-EC2Instance –ImageID ami-5db8385c – MinCount 1 –MaxCount 1 –KeyName myPSKeyPair – SecurityGroup myPSSecurityGroup –InstanceType t1.micro EC2インスタンスの起動 • PS C:>Start-EC2Instance –InstanceId i-7b2e5078 43
  • 44. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 44 S3の操作 S3バケットの作成 • PS C:>New-S3Bucket –BucketName mypsbucket オブジェクトのアップロード • PS C:>Write-S3Object –BucketName mypsbucket –Key sample.txt –File .sample.txt フォルダーのアップロード • PS C:>Write-S3Object –BucketName mypsbucket – Folder .Scripts –KeyPrefix SampleScripts 44
  • 45. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 45 PowerShellによるスクリプティング 例:C:Logsにある1週間より前のファイルをS3のバケットにアッ プロードしてローカルから削除するスクリプト foreach ($i in Get-ChildItem C:Logs) { if ($i.CreationTime -lt ($(Get-Date).AddDays(-7))) { if ($i.Length -gt 0) { Write-S3Object -BucketName mylogbucket -Key Logs/$i -File $i.FullName } Remove-Item $i.FullName } } 45
  • 46. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 46 AWS Management Pack for Microsoft System Center オンプレミスとAWSリソースの両方をSystem Center Operations Managerから参照、監視することが可能に 監視対象 • EC2インスタンス(WindowsおよびLinux) • EBSボリューム • Elastic Load Balancing • CloudFormationスタック • Auto Scalingグループ • Elastic Beanstalkアプリケーション SQL Server、SharePoint、Exchangeなどの監視との 統合が可能
  • 47. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 47 AWS Management Pack for Microsoft System CenterによるAWSリソース監視 監視対象 インスタンス一覧 Amazon EC2 Instanceタスク
  • 48. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 48 ダイアグラムビューによるAWSリソースの表示 CloudFormationスタック Elastic Loadbalancer Auto scalingグループ EC2インスタンス EBSボリューム
  • 49. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 49 AWS Diagnostics for Microsoft Windows Server Windowsインスタンスのトラブ ルシューティングに役立つツール • http://aws.amazon.com/jp/win dows/awsdiagnostics 以下のデータが収集可能 • ネットワーク • ドメインとコンピュータ名 • ライセンスアクティベーション • 時刻設定とタイムゾーン • インストールされているドライバ • Windows firewallとSecurity Groupの設定 • インストール済みのアップデート • 1週間以内にクラッシュした場合の ミニダンプファイル 49
  • 50. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 50 今日のAgenda Amazon EC2とは? Amazon EC2を触ってみる 最新アップデート 高度な使い方 まとめ
  • 51. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. AWSのマルチAZを用いた冗長構成 ゾーンA www.example.com データの同期 Web サーバ データ DB スレーブ App サーバ Web サーバ データ App サーバ DB マスタ ゾーンB ヘルスチェックで サーバー状況を監視 DBソース の参照
  • 52. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 52 SQL Server AlwaysOn Availability Group on AWS Windows Server Failover Cluster Managerおよび SQL Server 2012 Availability GroupをAWS上で構成 可能に! Availability Zoneをまたいだレプリケーションと高可用 性を実現 環境構築のためのCloudformationテンプレートも提供 52 Availability Zone Availability Zone SQL Server DB SQL Server DB Domain Controller Domain Controller AWS Cloud
  • 53. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 53 www.example.co m Amazon Route 53 AMI EC2 ①AMIから EC2を起動 ②S3からEBS を作成 VM Import/ExportによるバックアップからEC2 への復旧 保存 ファイル ③名前を 切り替える既存DC 既存 サーバー AWS Import/Export 郵送 AWS VM Import
  • 54. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 54 VM Import/Export 既存の仮想マシンをそのまま Amazon EC2にインポートする ことが可能 • Windows Server 2003 / R2 • Windows Server 2008 / R2 以下の仮想ディスクフォーマッ トに対応 • VMware vSphere VMDK • Microsoft Hyper-V VHD • Citrix XenServer VHD
  • 55. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 55 RD GatewayによるWindowsインスタン スへの接続 RDP(TCP:3389)での通信ができない環境におけるセ キュアなアクセスを実現 55
  • 56. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 56 RD GatewayによるWindowsインスタン スへの接続 RD Gatewayとは • RDP(TCP:3389)ではなくHTTPS(TCP:443)を使用した接 続 • SSLを使用することにより、従来のRDPよりもセキュアな接続 を実現 • VPC内のEIP (Elastic IP )をもたないインスタンスにも接続可 能 前提条件 • RD GatewayサーバーとなるWindowsインスタンスをVPCの Public Subnetで起動 • EIP(Elastic IP )を割り当て、Route 53などのDNSにFQDN を登録 • RDPを使用してRD Gatewayサーバーに接続
  • 57. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 57 User Dataの使用 User Dataにスクリプト(<script></script>)または PowerShell(<powershell></Powershell>)を埋め 込むことで、インスタンス起動時の処理を自動化 例:<powershell>Read-S3Object -BucketName myS3Bucket -Key myFolder/myFile.zip -File c:destinationFile.zip</powershell> User DataはWindowsが利用可能になるとすぐに実行さ れる
  • 58. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 58 マイクロソフト ライセンスモビリティ 既存のマイクロソフト製品のライセンスをAWS上に持 ち込み可能 • Exchange Server 2010 • SharePoint Server 2010 • SQL Server 2008 R2 Enterpriseなど ソフトウェアアシュアランス(SA)の特典として提供 • http://www.microsoft.com/ja-jp/licensing/software- assurance/license-mobility.aspx 1サーバーライセンスが1インスタンスに、1プロセッサ ライセンスが4コアまでの1インスタンスに対応 • SQL Server 2012ではコアライセンスに変更
  • 59. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 59 ライセンスモビリティの対象製品 マイクロソフト製品使用権説明書(RUP)に定義 • RUPは四半期に一度更新されるため定期的に要確認 • マイクロソフト製品使用権説明書(2013年4月版) • http://www.microsoftvolumelicensing.com/Downloader.aspx? DocumentId=6324 ライセンスモビリティ対象製品 • Exchange Server 2010 • SharePoint Server 2010 • SQL Server 2008 R2 Enterpriseなど ライセンスモビリティの対象ではない製品 • Windows OS • デスクトップアプリケーションなど
  • 60. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 60 Windows関連ドキュメントアップデート Securing the Microsoft Platform on Amazon Web Services • http://d36cz9buwru1tt.cloudfront.net/AWS_Microsoft_Plat form_Security.pdf Implementing Microsoft Windows Server Failover Clustering (WSFC) and SQL Server 2012 AlwaysOn Availability Groups in the AWS Cloud • http://media.amazonwebservices.com/AWS_WSFC_SQL_ Server_AlwaysOn.pdf 60
  • 61. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 61 今日のAgenda Amazon EC2 –Windowsインスタンスとは? Windowsインスタンスを触ってみる 最新アップデート 高度な使い方 まとめ
  • 62. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 62 AWS無料利用枠 アカウント取得から1年間有効 EC2関連では毎月以下が無料で利用可能 • EC2 • Linux マイクロインスタンス 750時間 • Microsoft Windows Server マイクロインスタンス 750時間 • EBS • 30 GBのストレージ • 200万 I/O、 • 1GBのスナップショット ストレージ • データ転送 • 帯域幅「送信(アウト)」15 GB http://aws.amazon.com/jp/free/
  • 63. 24時間・365日での日本語サポートの提供 • 日本語でのサポートをご提供しております http://aws.amazon.com/jp/premiumsupport/ ベーシック デベロッパー ビジネス エンタープライズ 受付時間 24時間 / 365日(年中無休) 初回応答時間 セルフサービス 12時間 (営業時間内) 1時間 15分 サポート連絡先 N/A 1人 5人 無制限 チャット 不可 不可 可能 可能 TEL 不可 不可 可能 可能 専任スタッフ なし なし なし あり 料金(月額) 無料(AWSの利用料に 含まれる) $49/月 AWS利用総額の 10%~ ※最低料金:$100/月 AWS利用総額の 10%~ ※最低$15,000/月 63
  • 64. © 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. 64 ご参加ありがとう ございました。