Self-host your own Lavalink server using Kerit Cloud. Easy setup, configurable, and reliable for music bots.
Self-Managed & Managed Options
This comprehensive guide will help you host your own Lavalink server using Kerit Cloud, covering both self-managed and managed solutions.
- How to purchase and deploy a Kerit Cloud server
- Configuring
application.ymlfor Lavalink - Installing and managing plugins (YouTube, Spotify, Apple Music, etc.)
- Using LavaSrc for advanced music sources
- Running and monitoring your Lavalink instance
- Connecting your Discord bot to Lavalink
- Troubleshooting and optimization tips
Lavalink is a high-performance, standalone audio streaming server designed for Discord music bots.
It offloads audio processing from your bot, improving performance, scalability, and reliability.
Key Features:
- Efficient audio streaming and playback
- REST API & WebSocket support
- Plugin system for extensibility
- Audio filters and effects
- Multiple music source integrations
Kerit Cloud offers two Lavalink hosting options:
- Preconfigured & ready to use
- No manual setup required
- Instant deployment via Control Panel
- 24/7 support & monitoring
- Learn more
- Full configuration and plugin control
- Custom Lavalink builds supported
- Ideal for advanced users
This guide focuses on Self-Managed Lavalink Hosting.
Before you begin, ensure you have:
- Java 17 or newer (required by Lavalink)
- Lavalink server JAR file (pre-installed on Kerit Cloud)
- Kerit Cloud server (self-managed plan)
- Discord music bot
Kerit Cloud Self-Managed plans come with Lavalink pre-installed—no manual installation needed!
Recommended Server Resources:
| Bot Size | RAM |
|---|---|
| Small | 1 GB |
| Medium | 2 GB |
| Large | 4 GB+ |
- Sign up for a Kerit Cloud account
- Join the Kerit Cloud Discord for support
- Go to the order portal
- Select Self-Managed Hosting and choose your preferred plan
- Complete payment (UPI, crypto, Binance, PayPal, etc.)
After deployment, you'll receive:
- Server access credentials
- File manager & SFTP access
- Console for server management
Once your server is ready (you'll get an email confirmation), access it via the Kerit Cloud panel.
Your Lavalink directory should look like:
/lavalink
├── Lavalink.jar
├── application.yml
Lavalink uses application.yml for configuration.
Basic Example:
server:
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "youshallnotpass"
sources:
youtube: true
soundcloud: true
bandcamp: true
twitch: true
vimeo: true
http: true
local: false
filters:
volume: true
equalizer: true
karaoke: true
timescale: true
tremolo: true
vibrato: true
distortion: true
rotation: true
channelMix: true
lowPass: trueUse the console controls (start/restart) in the Kerit Cloud panel.
If successful, logs will show:
Lavalink is ready to accept connections
Default Connection Details:
Host: ca.kerit.cloud
Port: 7323
Password: youshallnotpass
Configure your bot to connect to Lavalink:
host: ca.kerit.cloud
port: 7323
password: youshallnotpass
secure: falsePopular Lavalink Libraries:
Lavalink supports plugins for extra features and sources.
Common Plugin Use Cases:
- Spotify, Apple Music, Deezer support
- Improved search (LavaSearch)
- SponsorBlock, lyrics, DSP effects
Plugin Example (in application.yml):
lavalink:
plugins:
- dependency: "com.example.plugin:plugin-name:VERSION"
repository: "https://maven.lavalink.dev/releases"Popular Plugins:
- YouTube Plugin
- LavaSrc (Spotify, Apple Music, Deezer)
- LavaSearch
- SponsorBlock
- LavaLyrics
- LavaDSPX
The YouTube plugin is recommended for reliable YouTube playback.
Add to application.yml:
lavalink:
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:VERSION"
repository: "https://maven.lavalink.dev/releases"LavaSrc adds support for:
- Spotify
- Apple Music
- Deezer
Plugin configuration:
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:VERSION"
repository: "https://maven.lavalink.dev/releases"After installing, configure your sources:
plugins:
lavasrc:
sources:
spotify: true
applemusic: true
deezer: true
spotify:
clientId: "SPOTIFY_CLIENT_ID"
clientSecret: "SPOTIFY_CLIENT_SECRET"
countryCode: "US"You need a Spotify Developer application and a premium account for credentials.
LavaSearch improves search results.
Plugin configuration:
lavalink:
plugins:
- dependency: "com.github.topi314.lavasearch:lavasearch-plugin:VERSION"
repository: "https://maven.lavalink.dev/releases"server:
port: 2333
address: 0.0.0.0
lavalink:
server:
password: "supersecurepassword"
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:VERSION"
repository: "https://maven.lavalink.dev/releases"
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:VERSION"
repository: "https://maven.lavalink.dev/releases"
plugins:
lavasrc:
sources:
spotify: true
applemusic: true
deezer: true
spotify:
clientId: "SPOTIFY_CLIENT_ID"
clientSecret: "SPOTIFY_CLIENT_SECRET"
countryCode: "US"- Check Java version (
java -version) - Validate YAML syntax (use YAML Lint)
- Ensure plugin versions are compatible
- Verify server address, port, and password
- Check if SSL/secure is set correctly
- Use at least 2GB RAM for medium/large bots
- Keep Lavalink updated
- Avoid running multiple heavy nodes on the same server
Hosting your own Lavalink node gives you:
- Better performance and reliability
- Full control over configuration and plugins
- Access to advanced features and sources
Kerit Cloud self-managed hosting makes deployment fast and flexible, while managed plans offer a hassle-free experience.
- Kerit Cloud – kerit.cloud
- Lavalink Documentation – lavalink.dev
- LavaSrc Plugin (GitHub) – github.com/topi314/LavaSrc
- LavaSearch Plugin (GitHub) – github.com/topi314/LavaSearch
- Lavalink GitHub – github.com/lavalink-devs/Lavalink
- Example Application.yml – lavalink.dev/configuration/config/file.html
We welcome contributions! If you have suggestions, improvements, or additional resources for this Lavalink hosting setup, please consider submitting a pull request.
- Fork the repository.
- Create a new branch for your changes: git checkout -b feature/your-feature-name
- Make your changes or additions.
- Commit your changes with a clear message: git commit -m "Add description of your changes"
- Push your branch: git push origin feature/your-feature-name
- Open a pull request detailing what you added or improved.
- Keep changes relevant to Lavalink hosting, configuration, or helpful resources.
- Follow existing formatting for README and configuration files.
- Ensure links and code snippets are correct and tested.
- Be respectful and constructive in comments and suggestions.
Note:
Hosting and managing your own Lavalink server requires time and technical knowledge. For a seamless experience—including custom plugins (Amazon, Gaana, etc.) and 20+ music sources—consider Kerit Cloud's managed plans.Be cautious of hosts making unrealistic claims or offering suspiciously cheap custom plugins; these often result in poor service and reliability. ( mentally ass nuisance ass services )