Comments (7)
According to your suggestion, there is only function to shutdown a VM, but not to destroy. As I know DigitalOcean continue to charge the money even a VM is down. So, there is no way to destruct a VM without a query to the API. But requests to the API from a VM is too insecure
from algo.
Darn, yes you are right. This might work on other providers but it does not work on Digital Ocean.
from algo.
This can integrated easily on providers such as EC2 as instances can be set to terminate on shutdown during creation.
from algo.
We could add a shell script to cron with the user's DigitalOcean token embedded and have it curl out the appropriate call to the API to terminate the instance... but that requires storing an API key in the cloud :-(
from algo.
For reasons why tearing down your infrastructure on a regular basis is important, see also "ShadowBrokers."
from algo.
If Docker Machine is used to provision the server, you can easily automate stop/removing it form your laptop or desktop. The only thing with this, is you'll have Docker installed on it, though I don't think that's much of a drawback.
from algo.
if deployed to AWS , this could be done with (a) lambda scheduled cron and (b) cloudformation delete-stack
from algo.
Related Issues (20)
- Add support for MacOS Deployment HOT 1
- algo installation failled to Save private keys
- Configuring Algo Server with NTP Daemon with firewalls to allow access only through the VPN tunnels.
- Installation fails under Ansible 9.1.0 with Hetzner Cloud HOT 1
- ansible 9.1.0 not available on gcloud shell HOT 1
- consider updating gce warning about python 3.8
- ssh-tunnel per user ssh configs don't specify the custom algo port
- Azure Deployment ModuleNotFoundError: No module named 'azure.mgmt.rdbms.postgresql_flexibleservers' HOT 1
- ERROR! couldn't resolve module/action 'vultr_firewall_group'.
- Algo fails to deploy on OpenStack (DreamCompute optimised) HOT 1
- algo fails to deploy on Vultr HOT 1
- Error creating Vultr server in non-default region
- Installing to Ubuntu 24.04 server fails with "unexpected error occurred" in apparmor HOT 2
- strongswan setup failed (apparmor issue) HOT 3
- AppArmor bug persists HOT 3
- Any way to adjust client config files to protect against TunnelVision attack?
- Update-users failure (`Could not find or access 'configs/...`) HOT 3
- Add ability to specify storage size on EC2
- Add the ability to deploy without iptables firewall (cloud-only Security Group in AWS is enough for me, why more?)
- ssh_retry: attempt: 3, ssh return code is 255.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algo.