Shunze ¾Ç¶é >¹q¸£¸ê°T¾Ç¨t >OpenStack > ¡m¤­¡n«Ø¥ß²Ä¤@­ÓInstance «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤­¡n«Ø¥ß²Ä¤@­ÓInstance¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

±M®×¤¤Instanceªº«e¸m§@·~·Ç³Æ¦n«á¡A±µ¤U¨Ó´N¥i¥H¶}©l«Ø¥ßInstance¤F¡C

¨Ó¨ì ±M®×/¹Bºâ/¶³¹ê¨Ò ­¶­±¡A«ö¤U¡§µo°Ê¶³¹ê¨Ò¡¨¨Ó«Ø¥ß¤@­ÓInstance§a¡C



¦b¶³¹ê¨Ò¶}¾÷¨Ó·½³B¡A¿ï¾Ü¡§±q¬M¹³Àɶ}¾÷¡¨¡C



µM«á¦A¿ï¾Ü¡§cirros¡¨¡C
(¹w³]¤]¥u¦³³o­Ó¤º«Ø³o­Ócirros¥i¿ï)



¿ï¦n«á¡A§O«æµÛ«ö¡§µo°Ê¡¨«á³á¡I
¦]¬°¡§¦s¨úÅv¤Î¦w¥þ©Ê¡§ùØ¡AÁÙ¦³¤W¤@½g«e¸m§@·~¤¤©Ò³]©w¦nªº¡§±KÆ_¹ï¡¨¤Î¡§¦w¥þ©Ê¸s²Õ¡¨¥i¥H¿ï¥Î¡C
ÁöµM¡§¦w¥þ©Ê¸s²Õ¡¨¥i¥H¦bInstance«Ø¥ß¦n«á¦A®M¥Î¡A
¦ý¡§±KÆ_¹ï¡¨­W¥¼¥ý³]¦nªº¸Ü¡A¦bInstance«Ø¥ß«á¡A¥i¬OµLªk¦A®M¥Î¡§±KÆ_¹ï¡¨³á¡I



¥t¥~¡A¦b¡§ºô¸ô³s½u¡¨¥i¥H¿ï¾Ü­n¨Ï¥Îªºprivateºô¸ô¡C
¥Ñ©ó§Ú­Ì¨Ã¥¼«Ø¥ß¨ä¥¦ªºprivateºô¸ô¡A©Ò¥H³oÃä¥u·|¥X²{¤@­Óprivateºô¸ô¡A
¥B¹w³]±¡ªp¤U¤]¤w¸g¿ï¥Î¡C



§¹¦¨«á¡A«ö¤U¡§µo°Ê¡¨¡A´N·|¬Ý¨ì³o­Ó¶³ºÝInstance¤w¸g«Ø¥ß¡A¨Ã¦Û°Ê°õ¦æ¡C



ÂIÀ»Instance¡A·|¶i¤J¸Ô²Ó¸ê°T­¶­±¡C



§Ú­Ì¥i¦b¡§¥D±±»O¡¨­¶ÅÒ¤¤¶i¦æ¦¹Instanceªº¾Þ§@¡C


¡ô«ö¤@¤Uconsole¤W¤èªº¦Ç¦â°Ï¶ô¡A¥i¥H©ó¤U¤èconsoleµe­±¤¤¶i¦æ¾Þ§@³á¡C

¥Ñ©óprivateºô¸ô¡Bpublic¹ï¥~ºô¸ô»Proute1¤w¹ïÀ³¨ì¶¶¤lªº¹ê»Úºô¸ôÀô¹Ò¡A
©Ò¥H³o®É­ÔInstance¤w¸g¥i¥H¦¨¥\³s¥~Åo¡ã



¤£¹L¡A³o®É­Ôªº«Ê¥]¬O¦b¾É¦Vrouter1«á¡A
¥Ñrouter1¶i¦æNAT¥]¸Ë¡A¦A¥Hrouter1ªº¤¶­±IP 192.168.0.102³s¨ì¥~³¡ºô¸ô¡A
©Ò¥H¥~³¡IPÁÙµLªk³s¨ìprivateºô¸ôùتºInstance¡C


­nÅý¥~­±IP¯à°÷³s¤J¡A­º¥ý§Ú­Ì­nmapping¤@­Ó¥~³¡IP¨Ó¹ïÀ³¨ìInstance©ÒÄݪºprivate IP¡A
³o­Ó¥~³¡IP§Y¤W¤@½g«e¸m§@·~¤¤©Ò«Ø¥ßªº¯B°ÊIP¡A²{¦b¥u­n§â¥¦­Ì¹ïÀ³°_¨Ó§Y¥i¡C

¦^¨ìInstanceºÞ²z­¶­±¡A©ó°Ê§@¤¤¿ï¾Ü¡§Ápµ²¯B°ÊIP¡¨¡C



±µµÛ¦b¡§ºÞ²z¯B°ÊIPªºÁpµ²¡¨­¶­±¤¤¡A¿ï¾Ü«e¸m§@·~¤¤©Ò«Øªº¯B°ÊIP 192.168.0.103¡AµM«á«ö¤U¡§Ápµ²¡¨«ö¶s¡C



§¹¦¨«á¡A¦^¨ìInstance­¶­±¡A§Ú­Ì¥i¥H¬Ý¨ìIP¦ì§}Äæ¦ì¤w¦h¤F¯B°ÊIPªº³sµ²¡C



³o®É­Ô¡A§Ú­ÌÀ³¸Ó´N¥i¥H¦b¥~³¡³z¹L192.168.0.103³o­Ó¯B°ÊIP¥hping©Î¥HSSH¶i¦æºÞ²z¤F¡ã



§¹¦¨¯B°ÊIPªºÁpµ²«á¡AInstanceªº³s¥~´N¤£¦A¬O¥HNAT«áªºrouter1 IP³s¥~¡A
¦Ó¬O¥HInstanceªº¯B°ÊIP 192.168.0.103³s¥~¤F¡I


¦^¹LÀY¥hÀˬd¯B°ÊIPªº³]©w¡A¤]·|µo²{192.168.0.103¤w¹ïÀ³¨ìdemo1³o­ÓInstanceªºprivate IP 10.0.0.3¡C




­Y³]©w³£¥¿½T¡A¦ý¥~³¡ÁÙ¬OµLªk³s¤J¡H
¨º¥i¦^ÀYÀˬd¤@¤U¡§¦w¥þ©Ê¸s²Õ¡¨ªº³]©w¬O§_¥¿½T¡C



¦]¬°¹w³]ªºdefault¬O¤£¤¹³\¥~³¡³s¤Jªº¡A
¥u¦³§Ú­Ì¦Û¤v·s«Øªº¡§demo_security_group¡¨³o­Ó¸s²Õ¤¹³\¥~³¡¥HICMP¤ÎSSHªº¤è¦¡³s¤J¡C



­Ypublicºô¬q¤w­×¥¿¡A¯B°ÊIP¤]¤w¹ïÀ³¦n¡A¤£§«¦^ÀYÀˬd¤@¤U¡§¦w¥þ©Ê¸s²Õ¡¨ªº³]©w¬O§_¥¿½T¡C

§Ú­Ìªº²Ä¤@­Ó¶³ºÝInstance¨ì¦¹´N¦¨¥\«Ø¦nÅo¡ã



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2016-04-01, 22:39 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR