Stay organized with collectionsSave and categorize content based on your preferences.
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serveNodes is set to non-zero, then the cluster is manually scaled. If clusterConfig.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
HTTP request
POST https://bigtableadmin.googleapis.com/v2/{parent=projects/*}/instances
Required. The ID to be used when referring to the new instance within its project, e.g., justmyinstancerather thanprojects/myproject/instances/myinstance.
Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., justmyclusterrather thanprojects/myproject/instances/myinstance/clusters/mycluster. Fields markedOutputOnlymust be left blank.
An object containing a list of"key": valuepairs. Example:{ "name": "wrench", "mass": "1.3kg", "count": "3" }.
Response body
If successful, the response body contains a newly created instance ofOperation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[[["\u003cp\u003eThis process involves creating a new instance within a specified project using a POST request to the \u003ccode\u003ebigtableadmin.googleapis.com\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eYou must provide a unique \u003ccode\u003einstanceId\u003c/code\u003e, an \u003ccode\u003einstance\u003c/code\u003e object containing the instance details, and a \u003ccode\u003eclusters\u003c/code\u003e map to define the clusters within the instance.\u003c/p\u003e\n"],["\u003cp\u003eWhen creating a cluster within the instance, you have the choice to set \u003ccode\u003eserveNodes\u003c/code\u003e for manual scaling or configure \u003ccode\u003ecluster_autoscaling_config\u003c/code\u003e for automatic scaling, but not both.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with appropriate IAM permissions on the \u003ccode\u003eparent\u003c/code\u003e resource, including \u003ccode\u003ebigtable.instances.create\u003c/code\u003e or \u003ccode\u003ebigtable.clusters.create\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request will require one of several listed OAuth scopes, related to BigTable and Cloud administration.\u003c/p\u003e\n"]]],[],null,["# Method: projects.instances.create\n\nCreate an instance within a project.\n\nNote that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serveNodes is set to non-zero, then the cluster is manually scaled. If clusterConfig.cluster_autoscaling_config is non-empty, then autoscaling is enabled.\n\n### HTTP request\n\n`POST https://bigtableadmin.googleapis.com/v2/{parent=projects/*}/instances`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/bigtable/docs/reference/admin/rest/v2/operations#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigtable.admin`\n- `https://www.googleapis.com/auth/bigtable.admin.cluster`\n- `https://www.googleapis.com/auth/bigtable.admin.instance`\n- `https://www.googleapis.com/auth/cloud-bigtable.admin`\n- `https://www.googleapis.com/auth/cloud-bigtable.admin.cluster`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]