NetBSD on Amazon EC2
いままで、FreeNAS + ESXi + NetBSD でおうちサーバーを運用してきたのですが、このような御時世、Amazon EC2 のようなインフラプロバイダを検討してみる価値があるかと思い、試しています。いまんとこ、なぜか ssh で仮想マシンインスタンスにログインできていません。なぜだろう? まずは、Linux あたりから試してみるかな。
うちの場合は、web サーバーあたりとしての利用方法は使えそうです。ファイルサーバーは、無理だなあ。
SSH つながった
もしやと思って、Security Groups の確認をしてみたら、ポート 22 がブロックされてました。デフォルトでは、全ての TCP, UDP, ICMP が閉じられているようです。
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 5.1 (XEN3_DOMU) #0: Sat Nov 6 13:17:16 UTC 2010 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/XEN3_DOMU total memory = 7680 MB avail memory = 7421 MB timecounter: Timecounters tick every 10.000 msec mainbus0 (root) hypervisor0 at mainbus0: Xen version 3.0 vcpu0 at hypervisor0: Intel 686-class, 2666MHz, id 0x1067a debug virtual interrupt using event channel 3 xenbus0 at hypervisor0: Xen Virtual Bus Interface xencons0 at hypervisor0: Xen Virtual Console Driver xencons0: console major 143, unit 0 xencons0: using event channel 2 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 Xen clock: using event channel 4 timecounter: Timecounter "xen_system_time" frequency 1000000000 Hz quality 10000 xenbus0: using event channel 1 xennet0 at xenbus0 id 0: Xen Virtual Network Interface xennet0: MAC address XX:XX:XX:XX:XX:XX xennet0: using event channel 5 xbd0 at xenbus0 id 2048: Xen Virtual Block Device Interface xbd0: using event channel 6 xbd1 at xenbus0 id 2064: Xen Virtual Block Device Interface xbd1: using event channel 7 xbd0: 1024 MB, 512 bytes/sect x 2097152 sectors xbd1: 10240 MB, 512 bytes/sect x 20971520 sectors raidattach: Asked for 8 units Kernelized RAIDframe activated Searching for RAID components... boot device: xbd1 root on xbd1a dumps on xbd1b mountroot: trying lfs... mountroot: trying ffs... root file system type: ffs WARNING: clock gained 25 days WARNING: CHECK AND RESET THE DATE! init: copying out path `/sbin/init' 11 xbd1: WARNING: cache flush not supported by backend arplookup: unable to enter address for XXX.XXX.XXX.XXX@fe:ff:ff:ff:ff:ff on xennet0 (host is not on local network)
さて、何をするかな。
それにしても、Amazon AWS の日本語ページの訳は最低だな。意味が分からないので、英語のページを参照しなくてはならないこと、しばしば。
ちなみに、NetBSD は「1年間お試し無料」の対象外みたいです。従量課金って、結構怖いなー。