▪OSC15SC LT ▪Windows ✖ Docker
MICROSOFT CONF IDENT I A L – I N T ERNAL ONLY
Windows Server Containers:•Windows Server 2016 Technical Preview now includes containers, which are an isolated, resource-controlled, and portable operating environment. They are an isolated place where an application can run without affecting the rest of the system or the system affecting the application. For some additional information on containers, see Containers: Docker, Windows and Trends.
https://technet.microsoft.com/library/dn765472.aspx
Microsoft releases first preview of Windows Server Containers with Docker support
http://www.firstpost.com/business/microsoft-releases-first-preview-of-windows-server-containers-with-docker-support-2402056.html
Windows版とLinux版の違い
• Windows版は上にWindowsを載せるものです。
ニュースリリースで読み間違えないようにご注意をお願いします。
7http://blogs.technet.com/b/server-cloud/archive/2015/04/08/microsoft-announces-new-container-technologies-for-the-next-generation-cloud.aspx
Kernel
Windows Server /Hyper-V Containerの違い
8
User mode
Kernel mode
Host OS
Container Management
stack
Docker PS WMI
Application A
Application B
Application C
Application D
OS
Container Management
stack
Docker PS WMI
Application A
Application B
Hypervisor
Kernel Kernel Kernel
Windows と Linux(とHyper-V)を管理
9
10
deliver Windows Containers Docker VM Extension Hyper-V Containers Visual Studio tooling Continuous Integration with Visual Studio online Docker Trusted Registry support in VSO Marketplace integration of containerized applications
Azure の 対応インフラをPaaS から IaaSへ変更 オープン系DevOps環境への対応サービスとしての統合(メニュー、GUI)
Docker関連の取り組みは二つ
オペレーション自動化!Azure の Dev Ops フェーズごとの選択肢
11
Build Provisioning Release Management Configuration Monitoring &
Diagnostics
GitHub
Jenkins
Cloudbees
Teamcity
Bamboo
PowerShell
Azure CLI
(↑後ほどDemo)
ARM templates
Chef Knife
Puppet CLI
Vagrant
Deis
Visual Studio RM
Octopus Deploy
Dev/Test Labs
Chef
DSC Extension
Puppet Labs
Salt
Application
Insights
OpInsights
Windows & Linux
Diagnostics
Extensions
New Relic
Nagios
DataDog
Azure Monitoring
もっと使いやすくなるために裏の仕組みを変更中
•最近AzureのIaaSが変わりました
12
Classic Model (v1)
Azure のインフラが変わります(新旧のモードチェンジ可)
Resource Manager (V2)
Storage Account
Virtual Network
Cloud Service
Subnet-1Disk (blob)
VM w/ IP
Address
Resource Group
VM NICVM IP Addres
s
Load Balance
d Endpoint w/ IP Address
Load Balance
r
DependsOn
ReferenceReference
Backend Pool (NICs)
LB IP Addres
s
Reference
Coming Soon… Gateways (VPN) ExpressRoute
Network Security Group ACLS (deployed to VM, NIC, or Subnet)
VNet
Subnet
Storage Accoun
tDisk (blob)
ReferenceReference
複数のリソースを管理する
ロールベースアクセスコントロールをリソースに対して、反映
リソースごとの課金統合
新しい仕組みによって何ができるようになるのか??
RESOURCE GROUP
Dockerイメージを身近に
http://azure.microsoft.com/en-us/documentation/templates/
▪Demo
Azure Resource Manager
マインクラフトサーバーをデプロイ
Azure CLIの導入
インストーラーを利用する場合 • OS X installer • Linux installer
Node がセットアップ済みの環境の場合 $ npm install azure-cli -g
Docker container の環境に導入する場合 $ In a Docker host, run: docker run -it microsoft/azure-cli
18
https://azure.microsoft.com/ja-jp/documentation/articles/xplat-cli-install/
anakin:~$azure info: _ _____ _ ___ ___ info: /_\ |_ / | | | _ \ __| info: _ ___/ _ \__/ /| |_| | / _|___ _ _ info: (___ /_/ \_\/___|\___/|_|_\___| _____) info: (_______ _ _) _ ______ _)_ _ info: (______________ _ ) (___ _ _) info: info: Microsoft Azure: Microsoft's Cloud Platform info: info: Tool version 0.9.7
まずはログイン → arm にスイッチ
anakin:~$ anakin:~$azure site list error: 'site' is not an azure command. See 'azure help'. anakin:~$azure config mode asm info: New mode is asm anakin:~$azure site list info: Executing command site list + Getting locations + Getting sites data: Name Slot Status Location SKU URL data: ---------- ---- ------- ---------- ---- ---------------------------- data: djangopaas Running Japan East Free djangopaas.azurewebsites.net data: masuke Running East Asia Free masuke.azurewebsites.net info: site list command OK
asm とarm ではコマンドが違う
▪キュバージョンとの切り替え方法 anakin:~$azure config mode asm info: New mode is asm anakin:~$azure config mode arm info: New mode is arm anakin:~$
▪***注意***
ARMモードでのCLI
構造が違う👉ASMで作ったものがARMで見れなかったり、その逆も可能性があります。環境をどちらかに固定しましょう
以上です ありがとうございました!
Top Related