Home > Storage > ObjectScale and ECS > Product Documentation > ECS Storage Broker Installation Guide > Creating an instance
A service instance is a representation of an ECS bucket, automatically provisioned against a published service plan. You will need to create at least one instance (bucket) to connect to your application.
To create an instance, you will need to apply a YAML configuration similar to below.
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
name: yaml-instance-v2
namespace: default
spec:
clusterServiceClassExternalName: ecs-bucket
clusterServicePlanExternalName: 5gb
parameters:
reclaim-policy: Delete
In the ServiceInstance YAML, you will declare an instance name (name) and a Kubernetes namespace (namespace) where your applications will run. The Kubernetes namespace needs to exist in the cluster before running this YAML.
In the spec section of the YAML, you will declare the ECS cluster you want to provision a bucket in (clusterServiceClassExternalName) and select your plan (clusterServicePlanName).
After running the Service Instance YAML, you will have a bucket created on the ECS Cluster, but there will be no access to the bucket. To gain access, you will need to bind your created instance to your namespace. Follow section two to complete an instance bind.