Tutorials v1.0.0

Step-by-step tutorials to help you accomplish common tasks on the SLYD platform.

About These Tutorials

These tutorials provide detailed, step-by-step instructions for common SLYD platform tasks. Each tutorial includes code samples, configuration examples, and best practices to ensure success.

Getting Started Tutorials

New to SLYD? Start with these foundational tutorials:

Beginner 15 minutes

Setting Up Your First Compute Instance

Learn how to deploy your first compute instance on SLYD, configure networking, and connect securely.

Start Tutorial
Beginner 10 minutes

Configuring API Authentication

Set up secure API authentication and generate access tokens for programmatic access to SLYD.

Start Tutorial
Beginner 20 minutes

Using the SLYD CLI

Master the command-line interface for efficient management of SLYD resources and automation.

Start Tutorial

Application Deployment

Learn how to deploy and manage applications on SLYD:

Intermediate 25 minutes

Deploying Docker Containers

Learn to deploy and manage Docker containers on SLYD compute instances with proper networking and persistence.

Start Tutorial
Intermediate 30 minutes

Setting Up a Web Application

Deploy a web application with database integration, reverse proxy configuration, and SSL setup.

Start Tutorial
Intermediate 20 minutes

Database Server Setup

Configure a robust database server with high availability, backup strategy, and secure access.

Start Tutorial

Advanced Usage

Take your SLYD skills to the next level with these advanced tutorials:

Advanced 45 minutes

Creating a Multi-Instance Cluster

Set up a high-availability cluster using multiple SLYD compute instances with load balancing and failover.

Start Tutorial
Advanced 35 minutes

Building with Benson AI

Leverage Benson AI for intelligent resource management, optimization, and predictive scaling.

Start Tutorial
Advanced 40 minutes

Monitoring & Performance Tuning

Set up comprehensive monitoring and learn how to optimize performance for high-traffic workloads.

Start Tutorial

Integration Tutorials

Connect SLYD with other tools and services:

Intermediate 30 minutes

CI/CD with GitHub Actions

Set up continuous integration and deployment pipelines using GitHub Actions and SLYD.

Start Tutorial
Intermediate 35 minutes

AWS Integration

Connect SLYD resources with AWS services like S3, SQS, and Lambda for extended functionality.

Start Tutorial
Intermediate 25 minutes

SSO Integration

Configure single sign-on with popular identity providers like Okta, Auth0, or Microsoft Entra ID.

Start Tutorial

Tutorial: Setting Up Your First Compute Instance

Beginner 15 minutes By SLYD Team

In this tutorial, you'll learn how to deploy your first compute instance on the SLYD platform, configure networking, and connect securely.

Prerequisites

  • SLYD account with active subscription
  • Basic understanding of Linux commands
  • SSH client installed on your local machine

Step 1: Access the SLYD Console

Log in to the SLYD Console at https://console.slyd.cloud using your credentials.

SLYD Console Login

Step 2: Create a New Compute Instance

  1. Navigate to the Instances section in the left sidebar.

  2. Click the + Create Instance button in the top right corner.

  3. In the instance creation form, configure your instance:

    • Name: my-first-instance
    • Image: Ubuntu 22.04 LTS
    • Size: Standard (2 vCPU, 4GB RAM)
    • Region: Choose the region closest to you
    • SSH Key: Add your public SSH key
  4. Click Create Instance to deploy your instance.

Create Instance Form
Tip: SSH Key

If you don't have an SSH key yet, you can generate one with the following command:

ssh-keygen -t ed25519 -C "[email protected]"

Step 3: Configure Instance Networking

Once your instance is running, you'll set up secure networking:

  1. From the instance details page, navigate to the Networking tab.

  2. Click Create Tunnel to set up a secure Cloudflare tunnel.

  3. Configure the tunnel settings:

    • Tunnel Name: my-first-tunnel
    • Port: 22 (for SSH access)
    • Access: Private (requires authentication)
  4. Click Create to establish the tunnel.

Step 4: Connect to Your Instance

With the tunnel established, you can now connect to your instance:

  1. Note the tunnel hostname shown in the Networking tab (e.g., xyz123.slyd.dev).

  2. Open your terminal and connect using SSH:

    ssh [email protected] -i ~/.ssh/id_ed25519
  3. You should now be connected to your instance with full SSH access.

Step 5: Basic Instance Setup

Now that you're connected, perform some basic setup tasks:

# Update system packages
sudo apt update && sudo apt upgrade -y

# Install some common utilities
sudo apt install -y htop curl git unzip

# Create a welcome message
echo "Welcome to my SLYD instance!" | sudo tee /etc/motd

Next Steps

Now that your instance is up and running, you might want to:

An unhandled error has occurred. Reload 🗙