{"id":268,"date":"2010-02-02T14:31:43","date_gmt":"2010-02-02T05:31:43","guid":{"rendered":"http:\/\/www.egrep.jp\/blog\/?p=268"},"modified":"2015-10-13T12:47:33","modified_gmt":"2015-10-13T03:47:33","slug":"on-amazon-ec2s-underlying-architecture","status":"publish","type":"post","link":"https:\/\/www.egrep.jp\/blog\/2010\/02\/02\/on-amazon-ec2s-underlying-architecture\/","title":{"rendered":"On Amazon EC2&#8217;s Underlying Architecture"},"content":{"rendered":"<p>AWS EC2 \u306e\u5185\u90e8\u69cb\u9020\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u3002xenstore \u306f\u6c17\u304c\u3064\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/openfoo.org\/blog\/amazon_ec2_underlying_architecture.html\" target=\"_blank\">On Amazon EC2&#8217;s Underlying Architecture<\/a><\/li>\n<\/ul>\n<p>\u3053\u306e\u60c5\u5831\u3092\u53d7\u3051\u3066\u3001\u6f01\u3063\u305f\u3089\u304a\u5b9d\u767a\u898b<\/p>\n<ul>\n<li><a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=461714\" target=\"_blank\">Bug 461714 \u2013 Windows PV drivers 0.97 \/ 64bit &amp; 32bit sometimes cause boot hang<br \/>\n<\/a><\/li>\n<\/ul>\n<p>windows \u7248 64bit \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 \u3067\u30cf\u30de\u3063\u3066\u3044\u308b\u69d8\u5b50\u304c&#8230;<\/p>\n<p>(\u8ffd\u8a18) \u5b9f\u969b\u306b xenstore-ls \u3057\u305f\u3089\u3001Permission Denied \u306b\u306a\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4e0b\u8a18\u306e\u30b3\u30e1\u30f3\u30c8\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>Right, I should have written about xenstore-ls a bit more. XenStore only allows access to the branch related to your own domain, but since we don&#8217;t know the exact domain id, we have to &#8220;bruteforce&#8221; it. For example: for i in `seq 1 500`; do xenstore-ls \/local\/domain\/$i; done. For a certain $i you get the dump of your VM config. You may have to adjust the range (I also had one domain id in the 2000 range). After that you can get more information about the vbds and vifs by performing a xenstore-ls on their paths.<\/p><\/blockquote>\n<p>(\u8ffd\u8a18)\u00a0 \u3053\u306e\u767a\u898b\u3092\u8e0f\u307e\u3048\u3066 @guyro \u3055\u3093\u306e\u89e3\u6790<\/p>\n<ul>\n<li><a href=\"http:\/\/www.jackofallclouds.com\/2010\/02\/revisiting-ec2-instance-ids\/\" target=\"_blank\">Revisiting EC2 Instance IDs :: Jack of all Clouds :: Guy Rosen on Cloud Computing<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>AWS EC2 \u306e\u5185\u90e8\u69cb\u9020\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u3002xenstore \u306f\u6c17\u304c\u3064\u304b\u306a\u304b\u3063\u305f\u3002 On Amazon EC2&#8217;s Underlying Architecture \u3053\u306e\u60c5\u5831\u3092\u53d7\u3051\u3066\u3001\u6f01\u3063\u305f\u3089\u304a\u5b9d\u767a\u898b Bug 4 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.egrep.jp\/blog\/2010\/02\/02\/on-amazon-ec2s-underlying-architecture\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;On Amazon EC2&#8217;s Underlying Architecture&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-amazon-ec2"],"_links":{"self":[{"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":5,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":1263,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/posts\/268\/revisions\/1263"}],"wp:attachment":[{"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.egrep.jp\/blog\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}