> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-bc559771.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# One-Click Deployment

> One-click deployment options for launching your own Hedera mirror node through the Google Cloud Platform Marketplace, with billing prerequisites set.

## Google Cloud Platform Marketplace

Deploy your own mirror node with just a few clicks! The Hedera Mirror Node is open-source software and does not carry an associated license or deployment fee. However, users are responsible for paying for the compute resource used, the data retrieved from Google Cloud Storage buckets, and any other Google Cloud Platform services used during this deployment.

► Before you proceed to the next step, obtain the GCP requester pay information:

<Accordion title="How To Obtain Google Cloud Platform Requester Pay Information">
  In this step, you will generate your Google Cloud Platform HMAC access keys. These keys are needed to authenticate requests between your machine and Google Cloud Storage. They are similar to a username and password. Follow these steps to retrieve your **access key, secret**, and **project ID**:

  * Create a new [project](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and link your [billing account](https://cloud.google.com/billing/docs/how-to/manage-billing-account).
  * From the left navigation bar, select **Cloud Storage > Settings.**
  * Click the **Interoperability** tab and scroll down to the **User account HMAC** section.
  * If you don't already have a default project set, set it now.
  * Click **create keys** to generate access keys for your account.
</Accordion>

## Prerequisites

Click [here](https://console.cloud.google.com/marketplace/details/mirror-node-public/hedera-mirror-node) to get started; you will need the following details you obtained from the previous [step](#how-to-obtain-google-cloud-platform-requester-pay-information):

* Importer GCP access key
* Importer GCS bucket name
  * Mainnet: `hedera-mainnet-streams`
  * Testnet: `hedera-stable-testnet-streams-2024-02`
* Importer GCP billing project ID
* Importer GCP secret key

Once you deploy your mirror node, you can access the mirror node via the [gRPC API](/reference/hcs-api) or the [REST API](/reference/rest-api).

#### **gRPC API**

Use the following terminal commands:

```bash theme={null}
GRPC_IP=$(kubectl get service/hedera-mirror-node-1-grpc -n default -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

grpcurl -plaintext "${GRPC_IP}:5600" list
```

#### **REST API**

For the REST API, use these terminal commands:

```bash theme={null}
REST_IP=$(kubectl get service/hedera-mirror-node-1-rest -n default -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

curl -s "http://${REST_IP}/api/v1/transactions?limit=1"
```

Alternatively, you can also submit a `get` request from your browser:

* From your Kubernetes Engine navigation bar, click on "Workloads."
* Click on "hedera-mirror-node-1-rest"
* Navigate down to "Exposing services" and click on the "Endpoints" link

Example `GET` request:

```bash theme={null}
http://<yourEndpoint>/api/v1/transactions
```

<Card title="Rest API" href="/reference/rest-api" />
