smaugx / aliyun_spot Goto Github PK
View Code? Open in Web Editor NEWcreate aliyun spot auto. 自动创建阿里云抢占式实例,支持自动释放或手动释放。
create aliyun spot auto. 自动创建阿里云抢占式实例,支持自动释放或手动释放。
仅仅修改了 access_id, access_secret, ssh_key_file, key_pair_name 以及 spot_price_limit (0.05)
运行后报错如下。请大神看看是哪的问题。多谢。
james@dockerhost:/mnt/MySeafile/AliYunSpot/aliyun_spot$ python run_aliyunspot.py -c
will create and run aliyun spot instance, please wait...
Fail. Business error. Code: InvalidVSwitchId.NotExist, Message: vSwitch not exists
Traceback (most recent call last):
File "run_aliyunspot.py", line 255, in
create_aliyun_spot()
File "run_aliyunspot.py", line 196, in create_aliyun_spot
for instance in data['Instances']['Instance']:
TypeError: 'NoneType' object is not subscriptable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.