pygridspot. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Amir Elaguizy
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/aelaguiz/
pygridspot. ű×
pygridspot. ¼³¸í
PyGridSpotÀº GridSpot API (www.gridspot.com)¸¦À§ÇÑ °£´ÜÇÑ ÆÄÀ̽ã Ŭ¶óÀ̾ðÆ®ÀÔ´Ï´Ù. GridSpot VMÀ»º¸´Ù ½±°Ô °ü¸®ÇϱâÀ§ÇÑ °ÍÀÔ´Ï´Ù. ÀϹÝÀûÀÎ »ç¿ë¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù : pygridspot °¡Á® ¿À±â * g = gridspot (api_key = '', \ cache = 'file', \ cache_file = 'cache.dat') il = gget_instances () il.new : G.BootStrap (OS.Path.ExpandUser ( '~ / .ssh / id_rsa'), '/tmp/test.sh'TEST : AELAGUIZ $ Python Test.py put : /tmp/test.sh -> /tmp/test.sh sudo : chmod + x /tmp/test.sh /tmp/test.sh Á¾·á out : IGN http://security.ubuntu.com oneir-security inrelease out : IGN http://us.archive.ubuntu.com oneiric inrelease out : IGN http://us.Archive.ubuntu.com oneir-updates °£´ÜÇÑ REST Ŭ¶óÀ̾ðÆ®¸¦ ÅëÇÑ Å° °³¼±Àº Æк긯 SSH API¸¦ »ç¿ëÇÏ¿© »õ VMÀÇ ÀÚµ¿ ºÎÆ® ½ºÆ®·¦À» Áö¿øÇÏ¿© ¼³Ä¡ ½ºÅ©¸³Æ®¸¦ ´©¸£°í ½ÇÇàÇÕ´Ï´Ù. »õ·Î¿î VM.ProductÀÇ È¨ÆäÀÌÁö¿¡
pygridspot. °ü·Ã ¼ÒÇÁÆ®¿þ¾î