# Creating a hail Dataproc cluster with a custom image

**URL:** <https://discuss.hail.is/t/creating-a-hail-dataproc-cluster-with-a-custom-image/4054>\
**Category:** Hail Query & hailctl\
**Created:** [February 14, 2025, 6:03pm UTC](https://discuss.hail.is/t/creating-a-hail-dataproc-cluster-with-a-custom-image/4054 "2025-02-14T18:03:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsarro](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/jsarro/32/1237_2.png) [@jsarro](https://discuss.hail.is/u/jsarro)\
**Post date:** [February 14, 2025, 6:03pm UTC](https://discuss.hail.is/t/creating-a-hail-dataproc-cluster-with-a-custom-image/4054/1 "2025-02-14T18:03:13Z")

</div>

Our environment is moving to a FedRAMP-approved environment (in Google Cloud). We have a custom Ubuntu image (Ubuntu Pro 22.04) generated for us. In trying to test the image with our Hail environment, we noticed that `hailctl` defaults to a Debian image. We have attempted to override that, but have been unsuccessful.

Currently, we’re trying alternative build methods using:

```python
gcloud dataproc clusters create

```

If it’s not possible to manually reconfigure `hailctl` to use our custom image, do you have any recommendations for a fresh build using our image? Any guidance would be greatly appreciated to either specify our image in hailctl or create a custom cluster.

Thank you.
