0 votes
1 view
in AWS by (5.8k points)
edited by

I've got my head around creating cloud instances in AWS. However, I need to turn my instances off at the end of the day and on in the morning as this will half my hosting cost (they are for development).

I've looked at a few management services but they blew my brains out. Is there a simple way to do this?

1 Answer

+1 vote
by (18.5k points)
selected by
 
Best answer

For Amazon EC2 instances, you can script a python program using boto3 to do this for you. You can use any of the following methods in your Python script, depending on what you want your script to do:

  • StartInstances()
  • StopInstances()
  • RebootInstances()
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...