Windows Azure loves OSS Founder, CTOJAZUG / Microsoft MVP for Windows AzureKazumi Hirose - [email protected] 27th,2013 Global Windows Azure BOOTCAMP
This slide has been Uploaded.
http://www.slideshare.net/kazumihirose
About me廣瀬 一海 ( ひろせかずみ )Facebookhttp://www.facebook.com/kazumi.hirose
インフラ、ネットワーク、プログラム、仮想化などOS も言語も問わず雑食エンジニア。個人的には、 Debian が好き。クラウドもどこでも何でも使います。
についてhttp://www.facebook.com/pnop.inc
Windows Azure を中心に活動する、クラウド関連技術専門集団、パフォーマンスチューニングやプラットフォーム相互運用が得意、大規模事例の技術供与なども多数、最近の事例ではコミケ WEB カタログなど
Debian GNU/Linuxpnop.inc
Windows Azurepnop.inc
デプロイKINECT でデプロイ?!
Windows Azure仮想マシンと仮想ネットワークを使ってみよう
話題の検索ワードクラウド・ Azure ・ KINECT
Today’s Agenda
• Websites• Virtual Machine• VMDepot• Windows Azure SDK• Microsoft Openness
WebsitesWindows Azure Websites と OSS
Websites対応する OSS 言語
ASP.NET MVC, Web API, and ASP.NET Web Pages (aka Razor) は OSS です。http://www.asp.net/mvc/open-source
対応する代表的な OSS Framework
ギャラリーに登録され、すぐに使える代表的なアプリケーション
WebsitesWeb Sites の Continuous Deployment Engine 自身もOSS
projectkuduhttps://github.com/projectkudu
Virtual MachinesWindows Azure Virtual Machines と OSS
Virtual Machines公式対応する OS
コミュニティのイメージ OS ( VMDepot)
Hyper-V で駆動する独自のイメージ• FreeBSD はうごいたとか・・・• VMDepot に是非登録を!!
Virtual Machines
http://vmdepot.msopentech.com/List/Index
Virtual Machines
How toVMDepot でサクッと ownCloudhttp://www.kzmx.net/#/?p=1021
Virtual Machines
CLI Tool から、もちろん使えます。
Virtual Machines
Azure SDK and ToolsWindows Azure で開発と管理自動化とOSS
☁ Windows Azure SDK対応する OSS 言語とプラットフォーム、管理 SDK言語 プラットフォーム
Xplatコマンドラインツール
Windows Azure SDK for PHP
{ "require": { "microsoft/windowsazure": "*" }, "repositories": [ { "type": "pear", "url": "http://pear.php.net" } ], "minimum-stability": "dev"}
Composer でインストール1.composer.json を作る
2.Composer をダウンロード
$php composer.phar install
$wget http://getcomposer.org/composer.phar
3. インストール
Windows Azure SDK for PHP
PEAR でインストール1.PEAR を入れる
2.Channel を登録
pear install pear.windowsazure.com/WindowsAzure-0.3.1
pear channel-discover pear.windowsazure.com
3. インストール
ぺちぱーなら説明いらないよね!!
Windows Azure SDK for Node.js
npm でインストール
npm install azure
Windows Azure SDK for Python
PyPI でインストール
pip install azure
Windows Azure SDK for Ruby
gem でインストール
gem install azure注 : Ruby 2.0 x64 on Windows では動作しませんnokogiri に依存する為、現時点では動作、ビルド不可nokogiri が依存する libxml2 の問題と思われる。( 軽く確認した程度なので、間違っていたごめんなさい)
Require: Ruby1.9.3/2.0 以上
Windows Azure SDK for Java
git でインストールgit clone git://github.com/WindowsAzure/azure-sdk-for-java.gitcd ./azure-sdk-for-java/microsoft-azure-api/mvn compile
Maven でインストール<dependency> <groupId>com.microsoft.windowsazure</groupId> <artifactId>microsoft-windowsazure-api</artifactId> <version>0.4.2</version></dependency>
Require: JDK/JRE 1.6 以上
☁ Windows Azure xplat CLI ToolBuild に必要なものPython 2.6 / 2.7 / Node.js > 6.14
Example - Ubuntu 12.04.2 LTS の場合Distro の Package version の大抵が追随してないので、 Node.js は Source から Build しましょう。
$ sudo apt-get install build-essential libssl-dev$ wget http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz$ tar zxf node-v0.10.5-linux-x64.tar.gz && cd node-v0.10.5$ ./configure && make$ sudo make install
Windows Azure xplat CLI Tool$ sudo npm install azure-cli –g
☁ Windows Azure xplat CLI Toolkazumi@cloudnine:~$ azureinfo: _ _____ _ ___ ___info: /_\ |_ / | | | _ \ __|info: _ ___/ _ \__/ /| |_| | / _|___ _ _info: (___ /_/ \_\/___|\___/|_|_\___| _____)info: (_______ _ _) _ ______ _)_ _info: (______________ _ ) (___ _ _)info:info: Windows Azure: Microsoft's Cloud Platforminfo:info: Tool version 0.6.15help:help: Display help for a given commandhelp: help [options] [command]help:help: Opens the portal in a browserhelp: portal [options]help:help: Commands:help: account Manage your account information and publish settingshelp: account affinity-group Commands to manage your Azure affinity groupshelp: account storage Commands to manage your Azure storage account
☁ Windows Azure SDK and CLI開発 SDK とコマンドラインツールはオープンソースです。ドキュメントもあるので、しっかり読みましょう。
Windows Azurehttps://github.com/WindowsAzure
Microsoft | Openness標準化に向けた Windows Azure と OSS の関係
☁ The Microsoft Openness NetworkOpenness に関係するスライドは slideshare で公開されています。
Microsoft Openness Japanhttp://www.slideshare.net/Microsoft_Openness_Japan
Ask the Speaker ☁ご清聴ありがとうございました不明な点などがありましたら、是非話しかけてください。