我正在尝试设置mongodb和为EBS配置的EC2实例。我正在关注这个MongoDB walkthrough。我使用ec2命令行工具创建了一个新实例:
ec2-run-instances ami-05355a6c -t m1.large -b "/dev/xvdf=:200:false:io1:1000" -b "/dev/xvdg=:25:false:io1:250" -b "/dev/xvdh=:10:false:io1:100" --ebs-optimized true
它说实例已创建。但是,当我去aws控制台时,它并没有显示出来。另外,当我跑:
ec2-describe-instances [instance id]
它打印出正在运行的实例的信息
RESERVATION r-5c259387c 6724431926739
INSTANCE [instance-id] ami-05355a6c ec2-[ip-address].computer-1.amazonaws.com ip-172-31-41-121.ec2.internal running 0 m1.large 2015-11-06T03:18:26+0000 us-east-1c aki-88aarjns8 monitoring-disabled [ip-address] [internal-ip-address] vpc-778e98sy subnet-3060eb47 ebs paravirtual xen sg-d94097bd default true
BLOCKDEVICE /dev/sda1 vol-beb6posj 2015-11-06T03:18:30.000Z true
BLOCKDEVICE /dev/xvdf vol-e2b75aef 2015-11-06T03:18:30.000Z false
BLOCKDEVICE /dev/xvdg vol-29b65ard 2015-11-06T03:18:30.000Z false
BLOCKDEVICE /dev/xvdh vol-bfb65sdf 2015-11-06T03:18:30.000Z false
NIC eni-20sdff6d subnet-3060eb47 vpc-778ee212 672443198021 in-use [internal-ip-address] true
NICATTACHMENT eni-attach-c916sdfe 0 attached 2015-11-05T20:18:26-0700 true
NICASSOCIATION [ip-address] amazon [internal-ip-address]
GROUP sg-dd4577bd default
PRIVATEIPADDRESS [ip-address] [internal-ip-address]
我错过了什么?这个实例在哪里创建?为什么它没有显示在我的实例列表中?
答案 0 :(得分:22)
您需要在aws控制台中选择要查看的区域。您已在区域A中创建了实例,并且您的控制台正在显示区域B的实例。从右上角选项中选择“支持”左侧的区域。选项