GeezerVison is showing github.com — How launch many instances at once? · Issue #1458 · googleapis/google-cloud-java
How launch many instances at once? #1458Labels api: computeIssues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DescriptionThe snippet at this link shows how launch a compute instance, however I was unable to find in the API a way to specify the number of instances to run.
Is that possible or it is needed to invoke the create operation as many times as the number of instances to launch ? Activityunitydynamics commented on Dec 15, 2016 If you create an InstanceGroup you can size up/down using resize function with code like this:
Compute.InstanceGroupManagers.Resize resizeRequest = computeService.instanceGroupManagers().resize(APPLICATION_NAME, COMPUTE_ZONE, COMPUTE_GROUP, myNumberOfDesiredInstances);
resizeRequest.execute();
pditommaso commented on Dec 18, 2016 I see. However instance groups and templates are only exposed via com.google.api.services.compute.Compute and not (yet?) implemented by the com.google.cloud.compute.Compute interface.
Quite confusing. pditommaso commented on Jan 26, 2017 I'm still struggling with this problem. Stating version 0.8.1-alpha it looks that there's no API to handle Instance groups and Instance templates. Could you please confirm that and if there's any plan to support them? pditommaso commented on Mar 25, 2017 Tried version 0.10.0-alpha. Still no solution to launch more than one instance in a single request. garrettjonesgoogle commented on Mar 27, 2017 We are going to be doing some work on the Compute client over the next several months. Unfortunately we won't be addressing anything in the short term, though. added priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed on Jun 12, 2017added priority: p2Moderately-important priority. Fix may not be included in next release. and removed priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release. on Jul 18, 2017danoscarmike commented on Aug 9, 2017
MetadataMetadataapi: computeIssues related to the Compute Engine API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DevelopmentNo branches or pull requestsIssue actions
|