Open NEXUS2345 opened 5 years ago
FYI, in most case, shutdown a VPS wouldn't save your money.
Joshua Gregory notifications@github.com 于 2018年12月3日周一 下午11:31写道:
As the servers cost money to deploy, I believe it may be useful to have buttons to allow the stopping, starting and restarting of servers on DigitalOcean, GCP, AWS, etc. to the manager. For someone who uses the VPN infrequently like me, this would be very useful in the long term for cost saving.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Jigsaw-Code/outline-server/issues/330, or mute the thread https://github.com/notifications/unsubscribe-auth/AQVHEmY89c_cdAzuxVtmGxjcHm_UGSEdks5u1UPJgaJpZM4Y-0lZ .
Some VPS providers do still continue to charge no matter the status of the VPS. But in the case of DigitalOcean, GCP and AWS, they all charge per second/minute/hour of usage, and so switching off the VPS does save money.
Okay, we usually use Vultr to achieve same goal. It's a good idea, not only for save money. I don't like login to web panel only for shutdown a server too.
IMO, just enable this feature on 'integrated' server. For custom server, they usually have no API to do that.
(an idea, maybe crazy: integrate autoscaling with outline, you even needn't click any button to save money)
@NEXUS2345 as I know Digital Ocean still charges you because of IPv4 address in use.
That's a good feedback, but as pointed out, you will need to destroy the server in most platforms in order to save money, and recreating will likely mean a new IP, which invalidates the access keys, unless you have a floating IP or domain to use.
There may be other ways to accomplish that. For example, maybe we could create and destroy servers on demand from the client. The creation process could automatically add the new key to the servers list. It wouldn't help if you use the server in multiple devices though.
I think this needs more brainstorming.
As the servers cost money to deploy, I believe it may be useful to have buttons to allow the stopping, starting and restarting of servers on DigitalOcean, GCP, AWS, etc. to the manager. For someone who uses the VPN infrequently like me, this would be very useful in the long term for cost saving.