Create an Inkless Kafka service
Create an Inkless Apache Kafka® service on Aiven Cloud or using Bring Your Own Cloud (BYOC).
Prerequisites
- Access to the Aiven Console
- An Aiven project where you can create Kafka services
Create an Inkless service on Aiven Cloud
Inkless services are available on the Professional tier. On Aiven Cloud, configure the service by selecting ingress capacity and retention.
- Console
- CLI
- In the Aiven Console, open the project and select Services.
- Click Create service.
- Select Apache Kafka®.
- In Service tier, select Professional.
- In Cluster type, select Inkless.
- In Deployment mode, select Aiven cloud.
- Select a cloud provider and region.
- Select the Ingress capacity for the service.
- Optional: Enable Diskless topics. You can enable diskless topics later in Service settings > Advanced configuration.
- Select a Retention period.
- In Service basics, enter:
- Name: Enter a name for the service. You cannot change the service name after creation.
- Tags: Optional. Add resource tags to organize your services.
- Review the Service summary, and click Create service.
Create an Inkless Kafka service on Aiven Cloud using the Aiven CLI.
-
List available Inkless offerings for the project:
avn inkless offering list \
--organization-id ORGANIZATION_ID \
--project PROJECT_NAMEThe command returns available offerings with their maximum ingress and egress throughput.
-
Optional: Filter offerings by required ingress throughput:
avn inkless offering list \
--organization-id ORGANIZATION_ID \
--project PROJECT_NAME \
--ingress REQUIRED_MBPS -
View pricing rates for the offerings:
avn inkless offering rates \
--organization-id ORGANIZATION_ID \
--project PROJECT_NAME \
--cloud-provider CLOUD_PROVIDEROptional: Filter rates by offering with
--offering-name OFFERING_NAMEor by region with--cloud-name CLOUD_NAME. -
Create the Inkless Kafka service using an offering as the plan:
avn service create SERVICE_NAME \
--project PROJECT_NAME \
--service-type kafka \
--cloud CLOUD_REGION \
--plan OFFERING_NAME \
-c kafka_version=4.0 \
-c tiered_storage.enabled=true \
-c inkless.enabled=true
Parameters:
ORGANIZATION_ID: Organization ID that owns the project.PROJECT_NAME: Aiven project name.CLOUD_PROVIDER: Cloud provider, such asaws,google, orazure.CLOUD_REGION: Cloud region for the service, such asaws-us-east-1.OFFERING_NAME: Inkless offering returned byavn inkless offering list.SERVICE_NAME: Name of the Kafka service.
Optional: To enable diskless topics when creating the service, add this option to the create command:
-c kafka_diskless.enabled=true
You can also enable diskless topics later in the service configuration.
Create an Inkless service on Bring Your Own Cloud (BYOC)
You can run Inkless Kafka clusters in your own cloud account using Bring Your Own Cloud (BYOC). Inkless on BYOC supports classic and diskless topics.
Before creating services on BYOC, configure a BYOC environment. For instructions, see Create a custom cloud (BYOC).
- Console
- CLI
- In the Aiven Console, open the project and select Services.
- Click Create service.
- Select Apache Kafka®.
- In Service tier, select Professional.
- In Cluster type, select Inkless.
- In Deployment mode, select Bring your own cloud (BYOC).
- In Cloud, select your BYOC environment and region.
- Select a plan.
- In Service basics, enter:
- Name: Enter a name for the service. You cannot change the name after creation.
- Tags: Optional. Add resource tags to organize your services.
- Review the Service summary, and click Create service.
Create an Inkless Kafka service in a BYOC environment:
-
List available Kafka plans for your BYOC cloud and region. Plans that support Inkless end with
-inkless.avn service plans --service-type kafka --cloud CUSTOM_CLOUD_REGION -
Create the service using an Inkless-capable plan:
avn service create SERVICE_NAME \
--project PROJECT_NAME \
--service-type kafka \
--cloud CUSTOM_CLOUD_REGION \
--plan INKLESS_PLAN \
-c kafka_version=4.0 \
-c tiered_storage.enabled=true \
-c kafka_diskless.enabled=truenoteSet both
tiered_storage.enabled=trueandkafka_diskless.enabled=true.
Parameters:
SERVICE_NAME: Name of the Kafka service.PROJECT_NAME: Aiven project name.CUSTOM_CLOUD_REGION: BYOC region, such ascustom-aws-eu-central-1.INKLESS_PLAN: Inkless-capable plan for the selected BYOC environment.
After creating the service, create topics to store data streams. To create topics, see Create Kafka topics.
Related pages