azure de linux winter
DESCRIPTION
オープンソースカンファレンス2012.Cloud http://www.ospn.jp/osc2012.cloud/ セミナーAルーム Azure de linux winter Windows AzureをLinuxから使う上で基本的な事柄とデモンストレーション デモが中心になります、Ustreamをご覧ください http://www.ustream.tv/recorded/27758049 デモ AzureにUbuntu Linuxのインスタンスを作成 SSHでログイン LAMP環境の構築 TCP Port 80のエンドポイントを管理ポータルから設定 二代目のインスタンス起動とTCP Port 80のロードバランサ設定 (の予定を諸般の事情により、以下のネタに変更しました) xrdpをインストールして、WindowsなリモートデスクトップクライアントからUbuntuサーバへアクセスTRANSCRIPT
Azure de Linux ☁ winterJapan windows AZure Users Group (JAZUG)Windows Azure MVP - Kazumi HIROSE
このスライドは公開しました!!(/ ・ ω ・ )/http://www.slideshare.net/kazumihirose
About meKazumi HIROSEhttp://www.facebook.com/kazumi.hirose
パソコン初めて四半世紀、 OS も言語も何でもやる雑食技術屋長崎生まれ、福岡県 / 東京都の往復生活してますクラウドソリューションを提供する会社で CTO を担当してます
最近の活動• Windows Azure MVP• Japan Windows Azure Users Group (JAZUG)• JAZUG 福岡支部 ( ふくあず )• Install maniax5 Winner team lead.
Debian GNU/Linux
MVP2012
Kazumi Hirose Windows Azure
Six months ago…
2012/06/13 13:00 PDTMeet Windows Azure
パートナーと共に Linux 対応を発表
Linux サーバーの入門ムックでもWindows Azure を使い
Linux サーバをクラウドに構築する紹介がされています
SAM
PLE
SAM
PLE
SAM
PLE
Windows Azure は、Linux に対応しています
Linux de Windows AzureLinux からも GUI/CUI で快適管理
日本語で使える管理ポータル
HTML5+JS なブラウザがあればOK
CUI からも管理できます
Windows Azure command-line toolBuild に必要なものNode.js で書かれているので、 node.js を入れましょうPython 2.6 / 2.7Node.js > 6.14
Example - Ubuntu 12.04 でビルドDistro の Package version の大抵が追随してないので、 Node.js は Source から Build しましょう。$ sudo apt-get install build-essential libssl-dev$ wget http://nodejs.org/dist/v0.6.19/node-v0.6.19.tar.gz$ tar zxf node-v0.6.19.tar.gz && cd node-v0.6.19$ ./configure && make$ sudo make install
Windows Azure command-line tool のインストール$ sudo npm install azure -g
Azure の多くのリソースは githubで公開されています
Fork and Pull Request
see Contribution Guidelines.
Windows Azure de LinuxAzure で Linux をサーバを構築しよう
Virtual MachinesPortal の提供 ImageCent OS 6.2Ubuntu Server 12.04 LTSOpen SUSESLES (SUSE Linux Enterprise Server) 11 SP2
3rd party solutionsRIGHT SCALE/BitNami 等から Image が提供LAMP / Rails / Django / Tomcat など構築済
自前のディストロも動かせます
FreeBSD を動かした人もいますhttp://buchizo.wordpress.com/2012/09/12/freebsd-on-windows-azure/
主な特徴 ( 仮想マシン機能 )
データは永続化されますStorage Blob に VHD として保存 6 多重で保持
追加ディスクを追加可能Storage Blob に追加 VHD として保存
Cloud Services(PaaS) とも連携可能大量にインスタンスの確保が必要な場合は PaaS/ その他は IaaS で適材適所
ロードバランサは標準提供
SSH 公開鍵登録に関しての注意SSH キーについてx509 2048-bit RSA 形式のキーを以下の手順で準備$ sudo apt-get install openssl$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout myPrivateKey.key -out myCert.pem$ chmod 600 myPrivateKey.key$ openssl x509 -outform der -in myCert.pem -out myCert.cer
Virtual Machine 作成時に「 myCert.cer 」をアップロードする事で仮想マシンのauthorized_keys に追加されます。
Accessssh –i myPrivateKey.key –p port [email protected]
デモ
Ubuntu インスタンス起動SSH でアクセスApache などインストール他・・・などなどなど
関連 URLWindows Azure 仮想マシンでLinux サーバーを構築しようhttp://thinkit.co.jp/story/2012/09/19/3703
Windows Azure 上にLinux インスタンスを立ち上げるhttp://thinkit.co.jp/story/2012/11/23/3847
License and Thanks Windows Azure and CentOS:How the OpenLogic Expert Community Workshttp://www.openlogic.com/blog/bid/165573/Windows-Azure-and-CentOS-How-the-OpenLogic-Expert-Community-Works
吉田 雄哉 ( 吉田パクえ ) さんLinux サーバー超入門 : 初心者でも必ず構築できる!https://www.facebook.com/yuyalush/info
Ask the Speakerご清聴ありがとうございました m(_ _)m質問などありましたらセミナー後などに捕まえてください~