You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started a session and setup the environment in the instance for deploying the model. After testing the code I stopped the instance (not terminated it), saved the ami id and updated the blueprint. When I again tried to use the same ami id to start the instance after a while it said, ami id does not exist.
I used this command too,
neurocaas-contrib remote start-devinstance
Instance i-0d5f45f10dd323cd4 is stopped, not safe to test.
Traceback (most recent call last):
File "/home/ec2-user/anaconda3/envs/neurocaas/bin/neurocaas-contrib", line 8, in
sys.exit(main())
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/main.py", line 5, in main
cli()
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/cli_commands.py", line 1380, in start_devinstance
ami.start_devinstance(timeout = timeout)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/remote.py", line 438, in start_devinstance
response = ec2_client.start_instances(InstanceIds = [self.instance.instance_id])
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/botocore/client.py", line 337, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/botocore/client.py", line 656, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InsufficientInstanceCapacity) when calling the StartInstances operation (reached max retries: 4): Insufficient capacity.
I tried with the earlier ami id but it just started a new fresh instance. Can you please guide me on how to start the instance on which I was working?
The text was updated successfully, but these errors were encountered:
I started a session and setup the environment in the instance for deploying the model. After testing the code I stopped the instance (not terminated it), saved the ami id and updated the blueprint. When I again tried to use the same ami id to start the instance after a while it said, ami id does not exist.
I used this command too,
neurocaas-contrib remote start-devinstance
Instance i-0d5f45f10dd323cd4 is stopped, not safe to test.
Traceback (most recent call last):
File "/home/ec2-user/anaconda3/envs/neurocaas/bin/neurocaas-contrib", line 8, in
sys.exit(main())
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/main.py", line 5, in main
cli()
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/cli_commands.py", line 1380, in start_devinstance
ami.start_devinstance(timeout = timeout)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/neurocaas_contrib/remote.py", line 438, in start_devinstance
response = ec2_client.start_instances(InstanceIds = [self.instance.instance_id])
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/botocore/client.py", line 337, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/anaconda3/envs/neurocaas/lib/python3.6/site-packages/botocore/client.py", line 656, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InsufficientInstanceCapacity) when calling the StartInstances operation (reached max retries: 4): Insufficient capacity.
I tried with the earlier ami id but it just started a new fresh instance. Can you please guide me on how to start the instance on which I was working?
The text was updated successfully, but these errors were encountered: