テンプレート化したくない仮想マシンのOSイメージについて

結構前にFreeBSD on Azure とかいうPostしましたが、今になってPinBackきてたのでちょっと補足を。

当時はよくわからなかってなかったのですが、最終的にVHDファイルをUploadする際、OSイメージとしてUploadしてそれを基にすると上手く動作しません。(するにはするけどステータスがおかしい)

原因はAzure上でいうところの「イメージ」は基となるテンプレートなイメージで、それから仮想マシンを作成すると初期化処理が必要になるからです。つまるところWindowsでいえばSysprepされた前提であるVHDで、LinuxであればAzure用のそれ用のツールで一般化しておく必要があります。

で、以前のPostでは「イメージ」としてUploadしてたからうまく動作しなかったというわけ。

回避方法としてはDiskとしてアップロードして、管理ポータル上の仮想マシンの「ディスク」タブで作成を選んで、VHDからディスクを作成すればいいです。

image

こうすればアップロードしたままの状態で起動させることができます。(初期化処理などが走りません)

ただ、そのまま動作するので、このVHDを雛形として横展開とかそういうのがつらい感じです。(全部同じマシン名などになっちゃいます)

こればっかりはFreeBSD用の初期化処理用ツールみたいなのが提供されないとしんどいですね。

ちなみにこの手法はP2VだったりXPを動かしたりといったことに応用できます。

詳細はこちらが詳しいですのでご一読あれ。

Azure Connect終了のお知らせ

まぁWindows Azure のPoint-To-Site VPNが来た時点でなんとなくは。

ということで長らくベータというかプレビューだったWindows Azure Connectは2013年6月30日をもって終了となります。Point-To-Site VPNを使ってねはーと

便利だったんだけどねぇ。

Manually configure Point-To-Site VPN

If you want to connect to the VPN manually, do as following:

1. Download client  VPN package from management portal site

image

2. Unpack to VPN package file.

You unpack a VPN package file as follows:

vpnpackage.exe /C /T:c:\temp\vpnpackage

3. Install *.cer file for VPN gateway in unpack folder

You should install as an administrator a *.cer file as follows:

certutil -addstore root vpngateway.cer

4. Set up a new VPN connection

image

Select a [Connect to a workplace].

image

Select a [Use my Internet connection (VPN)].

image

Enter a Azure VPN gateway FQDN in [Internet address].

image

* Your’s VPN gateway FQDN has been described in the pbk file.

image

 

5. Change the property in VPN connection

in Security Tab

image

  • [Type of VPN] … [Secure Socket Tunneling Protocol (SSTP)]
  • [ Use Extensible Authentication Protocol (EAP)] … [Microsoft: Smart Card or other certificate (encryption enable)]

in EAP property

image

[When connection:] … [Use a certificate on this computer]

  • [Verify the server’s identity by validating the certificate] … checed
  • [Trusted Root Certification Authorities] … Checked a your’s VPN gateway certificate.

 

You should turn off [Use default gateway on remote network] option in Networking tab.

image

6. Connect to VPN

image

You should choose a client certificate for Azure VPN gateway at start connect.

image

If error not occurred, congratulation! You can connect to Azure Virtual Network over VPN!

WIndows Azure 仮想ネットワークの更新&Ruby SDK

今日はAzure Global Bootcamp当日だというのに、われらがScottGuはやってくれました。Updateです。

今日のUpdateはこちら。

  • 仮想ネットワーク
  • 新しいPoint-To-Site接続(非常にクール!) ※Preview
  • ソフトウェアVPNデバイスサポート
  • DNS設定変更のサポート
  • 仮想マシン
    • リモートPowerShellとLinux SSH プロビジョニング強化
  • クラウドサービス
    • Web/Workerロールの動的リモートデスクトップ
  • Windows Azure SDK for Ruby
  • 続きを読む

    Windows Azure VM Role 終了のお知らせ

    諸君らが愛してくれたVM Roleは死んだ、何故だ! Windows Azure Infrastructure Services(仮想マシン・仮想ネットワーク)がGAしたからだ!

    ということで仮想マシン正式リリースということで、長年Windows Geekたちを楽しませてくれたVM Roleは2013年5月15日をもって終了となりました。

    5月15日をもって新規VM Roleの展開ができなくなり、5月31日に実行中のVM Roleは削除されます。なので早めに仮想マシンのほうに移行しておきましょう。

    VM Roleから仮想マシンへの移行はVHDを流用すればさほど難しくないはずです。

    というわけでVM Roleさんありがとうございました。

    Windows Azure 仮想マシン/仮想ネットワークが正式リリース

    かれこれ1年ぐらい待ったわけですが、2013年4月16日にめでたくWindows Azure 仮想マシンと仮想ネットワークがGAされました。

    やったね!

    GAに伴うもろもろの内容は以下の通りです。

    • サービス名称の変更
    • ハイメモリインスタンス
    • SQL Server 2012とBizTalk Server 2013
    • SLAと24×7 サポートプランの提供
    • 料金の変更
    • VM Depotとの連携

    簡単に見ていきましょう。

    続きを読む

    Windows Azure AD/Backup Serviceほかいろいろ

    Updateは唐突に。

    というわけでWindows AzureがUpdateされました。

    内容は主に3点+α

    • Windows Azure Active DirectoryがGA
    • Windows Azure Backup (Preview)
    • Windows Azure Web Sites Monitoring & Diagnostics
    • その他Update
    • HDInsigh
    • Operation Logs
    • Media Services
    • Virtual Machines

    続きを読む