GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — How launch many instances at once? · Issue #1458 · googleapis/google-cloud-java

How launch many instances at once?  #1458

New issue
Copy link
New issue
Copy link
Closed
Closed
How launch many instances at once? #1458
Copy link
Assignees
danoscarmike
Labels
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.

Description

@pditommaso
pditommaso
opened on Dec 8, 2016
Issue body actions

The 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 ?

Activity

  1. garrettjonesgoogle
    added
    api: computeIssues related to the Compute Engine API.
    type: questionRequest for information or clarification. Not an issue.
    on Dec 8, 2016
  2. unitydynamics commented on Dec 15, 2016

    @unitydynamics
    unitydynamics
    on Dec 15, 2016
    More actions

    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();
    
  3. pditommaso commented on Dec 18, 2016

    @pditommaso
    pditommaso
    on Dec 18, 2016
    Author
    More actions

    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.

  4. pditommaso commented on Jan 26, 2017

    @pditommaso
    pditommaso
    on Jan 26, 2017
    Author
    More actions

    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?

  5. pditommaso commented on Mar 25, 2017

    @pditommaso
    pditommaso
    on Mar 25, 2017
    Author
    More actions

    Tried version 0.10.0-alpha. Still no solution to launch more than one instance in a single request.

  6. garrettjonesgoogle commented on Mar 27, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Mar 27, 2017
    Contributor
    More actions

    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.

  7. tcoffee-google
    added
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    type: questionRequest for information or clarification. Not an issue.
    on Jun 12, 2017
  8. garrettjonesgoogle
    added
    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, 2017
  9. danoscarmike commented on Aug 9, 2017

    @danoscarmike
    danoscarmike
    on Aug 9, 2017
    Contributor
    More actions

    This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog. This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

  10. danoscarmike
    closed this as completedon Aug 9, 2017
  11. JustinBeckwith
    assigned
    danoscarmike
    on Feb 1, 2021
  12. github-actions
    added a commit that references this issue on Sep 15, 2022

    chore(main): release 2.3.8-SNAPSHOT (#1458)

    52ec50c
  13. meltsufin
    added a commit that references this issue on Dec 22, 2025

    build(deps): update dependency org.apache.maven.plugins:maven-surefir…

    d0a3d47
  14. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(main): release 0.132.6-alpha-SNAPSHOT (#1458)

    f83fb87
  15. chingor13
    added a commit that references this issue on Feb 24, 2026

    chore(main): release 1.24.1 (#1458)

    3e44bb9
  16. suztomo
    added a commit that references this issue on Mar 11, 2026

    build(deps): update dependency org.apache.maven.plugins:maven-surefir…

    1246947
  17. chingor13
    added a commit that references this issue on Mar 12, 2026

    chore(main): release 1.24.1 (#1458)

    2fa95eb
  18. lqiu96
    added a commit that references this issue on Mar 20, 2026

    chore(main): release 0.132.6-alpha-SNAPSHOT (#1458)

    2b06c15
  19. suztomo
    added a commit that references this issue on Mar 23, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-spanner-…

    cfae186
  20. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(main): release 0.127.23-SNAPSHOT (#1458)

    bfbf5dc
  21. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(main): release 0.127.23-SNAPSHOT (#1458)

    740104f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @danoscarmike
    danoscarmike

Labels

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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.