Create an Apache Kafka® service with bring your own cloud (BYOC)
Create an Aiven for Apache Kafka® service in your own cloud account with Bring Your Own Cloud (BYOC). The service runs in your cloud account while Aiven manages the Kafka infrastructure and operations.
BYOC uses Classic Kafka with fixed plans. Classic topics are available by default. You can optionally enable diskless topics on supported custom clouds.
To create a Kafka service on Aiven Cloud, see Create an Aiven for Apache Kafka® Professional tier service.
Prerequisites
- Access to the Aiven Console
- An Aiven project where you can create Kafka services
Create a Kafka service with BYOC
BYOC Kafka services are available on the Professional service tier.
- Console
- CLI
-
In the Aiven Console, open the project and click Services.
-
Click Create service.
-
Click Apache Kafka®.
-
In Service tier, click Professional.
-
In Deployment mode, click Bring your own cloud (BYOC).
If No custom clouds available appears, request BYOC access.
If Set up your custom cloud first appears, set up a custom cloud.
-
Optional: Click Enable diskless topics.
If Diskless topics with BYOC aren't enabled for your account yet appears, request diskless topics for a custom cloud.
-
In Cloud, click a cloud provider and a custom cloud.
-
In Plan, click a plan.
-
Optional: If Additional disk storage is available, adjust the disk size.
-
Optional: If Enable tiered storage appears, click it to enable tiered storage.
noteEnabling diskless topics also enables tiered storage for classic topics on the service.
-
In Service basics, enter:
- Name: Enter a name for the service. You cannot change the name after you create the service.
- Version: Click a Kafka version. The default version is preselected.
- Tags: Optional. Add resource tags to organize your services.
-
Review the Service summary, then click Create service.
-
Wait until the service status is Running.
Create a BYOC Kafka service using the Aiven CLI:
avn service create SERVICE_NAME \
--project PROJECT_NAME \
--service-type kafka \
--cloud CUSTOM_CLOUD_REGION \
--plan PLAN_NAME
Replace the following:
SERVICE_NAME: name of the Kafka servicePROJECT_NAME: Aiven project nameCUSTOM_CLOUD_REGION: custom cloud region, such ascustom-aws-eu-central-1PLAN_NAME: Kafka plan available in the custom cloud, such asbusiness-4
Optional: Enable diskless topics when you create the service.
Use a Business or Premium -inkless plan and a custom cloud that supports
diskless topics:
avn service create SERVICE_NAME \
--project PROJECT_NAME \
--service-type kafka \
--cloud CUSTOM_CLOUD_REGION \
--plan INKLESS_PLAN_NAME \
-c kafka_version=4.1 \
-c tiered_storage.enabled=true \
-c kafka_diskless.enabled=true
Replace INKLESS_PLAN_NAME with a plan such as business-8-inkless.
For more information about diskless topics, see Diskless topics for Apache Kafka®.
Request BYOC access
If No custom clouds available appears after you click Bring your own cloud (BYOC):
- Click Request access.
Aiven reviews the request and contacts you about enabling BYOC for your organization. After BYOC is enabled, set up a custom cloud and return to create the service.
For eligibility and the organization-admin process, see Enable BYOC.
Set up a custom cloud
If Set up your custom cloud first appears:
- Click Go to Admin.
- Create a custom cloud and assign it to the project. For more information, see Create a custom cloud.
- Return to create the service after the custom cloud is ready.
Request diskless topics for a custom cloud
If Diskless topics with BYOC aren't enabled for your account yet appears after you click Enable diskless topics:
- Click Request access.
- In Select a cloud to enable diskless topics, click one or more custom clouds.
- Click Send request.
Aiven reviews the request and contacts you with the next steps.
After diskless topics are enabled for those custom clouds, return to create the service and click Enable diskless topics.
Related pages