Configuration for EC2 instance autostartup
-
@travisdh1 said in Configuration for EC2 instance autostartup:
@stacksofplates said in Configuration for EC2 instance autostartup:
@ambarishrh said in Configuration for EC2 instance autostartup:
May be he is looking for something like https://aws.amazon.com/answers/infrastructure-management/ec2-scheduler/
I don't get that. It seems less flexible than an ELB and you would have to continually calculate what you would need. Why not just pay for the ELB and have it automatically do this?
If you really don't need this type of infrastructure, then just use something like Vultr or DO.
I'm gonna have to read up on the ELB. Looks like exactly the thing I've been wondering why nobody had.
Ya they're pretty awesome. You need to use their monitoring to get the most out of it, but if you are operating at that scale it's worth it anyway.
-
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some error -
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorThis really just rephrasing the OP. What is this server doing?
-
It would make sense for an app running on another Amazon Virtual Machine as @travisdh1 particularly in telecom where you create and destroy servers on the fly to handle call bursts, or to just eliminate a dorked server that is having trouble.
Turning on and off though, probably he is after something else.
-
@stacksofplates said in Configuration for EC2 instance autostartup:
@travisdh1 said in Configuration for EC2 instance autostartup:
@stacksofplates said in Configuration for EC2 instance autostartup:
@ambarishrh said in Configuration for EC2 instance autostartup:
May be he is looking for something like https://aws.amazon.com/answers/infrastructure-management/ec2-scheduler/
I don't get that. It seems less flexible than an ELB and you would have to continually calculate what you would need. Why not just pay for the ELB and have it automatically do this?
If you really don't need this type of infrastructure, then just use something like Vultr or DO.
I'm gonna have to read up on the ELB. Looks like exactly the thing I've been wondering why nobody had.
Ya they're pretty awesome. You need to use their monitoring to get the most out of it, but if you are operating at that scale it's worth it anyway.
However, as awesome as it is you have to take into account the vendor lock in you are accepting. Chances are you won’t just be able to migrate to another provider if you need to without significant retooling.
-
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorInstead of turning the server on and off, might it make sense to just turn the service on and off?
-
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorAre you trying to save some money on the amount of hours the server is powered on a month?
-
@dbeato said in Configuration for EC2 instance autostartup:
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorAre you trying to save some money on the amount of hours the server is powered on a month?
Here I thought that was the whole point of using things like EC2.
-
@travisdh1 said in Configuration for EC2 instance autostartup:
@dbeato said in Configuration for EC2 instance autostartup:
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorAre you trying to save some money on the amount of hours the server is powered on a month?
Here I thought that was the whole point of using things like EC2.
Best that you found out now. It's a common misconception that it is about "powered on" versus "existing." The point of cloud computing is creating / destroying to save money, not powering on and off. The later we could do before cloud.
-
@scottalanmiller said in Configuration for EC2 instance autostartup:
@travisdh1 said in Configuration for EC2 instance autostartup:
@dbeato said in Configuration for EC2 instance autostartup:
@sadee said in Configuration for EC2 instance autostartup:
@stacksofplates
Hi, I need to configure every day the server need to be powered on automatically some time and the same need to be powered off in the evening. Power off i was done through scheduled task in windows. But powering on is the challenge. I tried with lambda option but having some errorAre you trying to save some money on the amount of hours the server is powered on a month?
Here I thought that was the whole point of using things like EC2.
Best that you found out now. It's a common misconception that it is about "powered on" versus "existing." The point of cloud computing is creating / destroying to save money, not powering on and off. The later we could do before cloud.
Yes, I'm very aware of this, which is why I brought up the automated create/destroy so much earlier in this thread!