---
name: vpc-vsi_private_catalog_autoscale
title: Using a custom image in a private catalog with an instance group
description: To use a custom image in a private catalog with an instance group, a service-to-service policy to `globalcatalog-collection.instance.retrieve` must be created first. This policy grants access to your custom image in a private catalog to be used when you provision instances for your instance groups. For more information about custom images that are shared to a private catalog, see Getting started with custom images and Onboarding a virtual server image for VPC.
last-updated: 2024-09-23
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/vpc?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Using a custom image in a private catalog with an instance group
{: #private-catalog-image-instance-group}

To use a custom image in a private catalog with an instance group, a service-to-service policy to `globalcatalog-collection.instance.retrieve` must be created first. This policy grants access to your custom image in a private catalog to be used when you provision instances for your instance groups. For more information about custom images that are shared to a private catalog, see [Getting started with custom images](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images&format=markdown) and [Onboarding a virtual server image for VPC](https://cloud.ibm.com/docs/account?topic=account-catalog-vsivpc-tutorial&interface=ui&format=markdown).

This service-to-service policy applies only to custom images in a private catalog.
{: note}

## Creating globalcatalog-collection.instance.retrieve service-to-service policy
{: #creating-globalcatalog-collection-policy}

Use the following steps to create the `globalcatalog-collection.instance.retrieve` service-to-service policy.

1. In [IBM Cloud console](https://console.cloud.ibm.com/infrastructure){: external}, go to **Manage > Access (IAM) > Authorizations**
1. Click **Create**.
1. On the **Grant a service authorization** page, select **VPC Infrastructure Services** for **Source service** and then select **All resources** for **How do you want to scope the access?**
1. For **Target service**, select **Catalog Management** > **Resources based on selected attributes** for **How do you want to scope the access?**.
1. For **Add attributes**, click **Catalog** and then select **string equals** for the **Operator**.
1. For **Value**, enter the UUID of the private catalog.
1. For **Platform access**, click **Viewer**.
1. Click **Authorize**.

## Next steps
{: #next-steps-private-catalog-image-instance-group}
{: ui}

After the `globalcatalog-collection.instance.retrieve` service-to-service policy is created, you can set up your instance group. For more information, see [Creating an instance group for auto scaling](https://cloud.ibm.com/docs/vpc?topic=vpc-creating-auto-scale-instance-group&interface=ui&format=markdown).