The first step in using Aiven for Apache Flink is to create a service. You can do this in the Aiven web console or with the Aiven CLI.
In addition to the Flink service, you also need one or more services to use as the data source and targets. To create an Aiven for Apache Kafka or Aiven for PostgreSQL service for this purpose, follow these instructions. Once you have created the necessary services, you can then create a Flink job to process the data stream.
The following video covers an example use case to give you a demonstration of Aiven for Apache Flink:
Create an Apache Flink service in the Aiven web console¶
Select the cloud provider and region that you want to run your service on.
The pricing for the same service may vary between different providers and regions. The service summary on the right side of the console shows you the pricing for your selected options.
Select a service plan.
This defines the size of the cluster and the memory, CPU, and disk resources allocated to each node.
Enter a name for your service.
A random name is provided by default, but you can enter a more recognizable name to distinguish it from other services.
Click Create Service under the summary on the right side of the console.
This brings you back to the Services view. Your new service is listed with a status indicator to show that it is being created.
Click the service name.
The Overview page for the service opens.
This view shows you the connection parameters for your service, its current status, and the configuration options.
The status is Rebuilding while the service is being created for you. Once the service is ready, the status changes to Running. While services typically start up in a couple of minutes, the performance varies between cloud providers and regions, and it may take longer in some circumstances.