Time to complete: 5-10 minutesPrerequisites: An email address to create your Aiven account
Step 1: Sign up for Aiven
Create your free Aiven account to get started:Create your account
Go to console.aiven.io/signup and sign up with your email address.Alternatively, you can sign up through a cloud marketplace (AWS, Azure, or Google Cloud).
Step 2: Set up billing
Before creating services, you need to configure a payment method:Add payment method
Click Add payment method and enter your credit card details.
You won’t be charged until you exceed your free trial credits. All services are billed per hour based on actual usage.
Step 3: Create a project
Projects organize your services and resources:Step 4: Create your first service
Let’s deploy a PostgreSQL database as an example:Choose a service type
Select PostgreSQL from the list of available services.
You can choose any service type. PostgreSQL is used here as an example, but the process is similar for Kafka, MySQL, OpenSearch, and other services.
Select cloud provider and region
Choose where to deploy your service:
- Cloud provider: AWS, Azure, or Google Cloud
- Region: Pick a region close to your users for better performance
AWS - us-east-1 or Google Cloud - europe-west1Choose a service plan
Select a plan based on your needs:
- Hobbyist: Single-node for development and testing
- Startup: High availability with automatic failover
- Business: Production-ready with enhanced resources
- Premium: Maximum performance and features
Step 5: Connect to your service
Once your service is running, you can connect to it:Get connection information
Find your connection details in the Connection information section:
- Service URI
- Host and port
- Username and password
Keep your credentials secure. Never commit them to version control.
Example: Connect to PostgreSQL
Using psql command-line
Using psql command-line
Copy the Service URI from the console and use it with psql:Replace the URI with your actual connection string from the console.
Using a connection string in your application
Using a connection string in your application
Most PostgreSQL libraries accept the Service URI directly:
Create services with CLI or API
You can also create services programmatically:Using Aiven CLI
Using Aiven CLI
Install the Aiven CLI:Log in to your account:Create a service:Check service status:Get connection details:For more CLI commands, see the CLI documentation.
Using Aiven API
Using Aiven API
Create a service using the REST API:Get service information:The API returns detailed service information including connection details, status, and configuration.For complete API documentation, see the API reference.
Using Terraform
Using Terraform
Create a service using the Aiven Terraform Provider:Apply the configuration:For more examples, see the Terraform documentation.
Next steps
Congratulations! You’ve created your first Aiven service. Here’s what to explore next:Explore your service
Learn about service features, backups, and configuration options
Set up your organization
Invite team members and configure access controls
Configure integrations
Connect services together or integrate with external tools
Secure your services
Set up VPC peering, IP filtering, and authentication policies