← Back to Guides

    How to Secure Fly.io

    Step-by-step guide to securing your Fly.io edge deployment and protecting your services.

    Fly.io Security Context

    Fly.io provides global edge deployments with Private Networking and fly secrets for secure configuration. Key security areas include secrets management, multi-region encryption, and network isolation.

    Security Checklist

    1

    Use fly secrets

    Critical

    Store all sensitive data using fly secrets, not environment variables in fly.toml.

    2

    Configure Private Networking

    Critical

    Use Fly's private networking for internal service communication.

    3

    Enable multi-region encryption

    Configure encryption for data in transit between regions.

    4

    Review global edge security

    Understand security implications of edge deployments.

    5

    Configure health checks

    Set up health checks for all services.

    6

    Enable HTTPS

    Verify HTTPS is enabled and configured correctly.

    7

    Set up team permissions

    Configure appropriate access for team members.

    8

    Review volume encryption

    Enable encryption for persistent volumes.

    9

    Configure Postgres security

    Set up managed Postgres with proper access controls.

    10

    Review machine sizing

    Set appropriate resource limits.

    11

    Enable audit logging

    Track deployments and changes.

    12

    Configure auto-scaling

    Set appropriate scaling policies.

    13

    Review proxy settings

    Configure Fly Proxy appropriately.

    14

    Set up backups

    Configure volume and database backups.

    15

    Configure monitoring

    Set up Fly Metrics and alerts.

    16

    Run security scan

    Use VibeEval to scan your deployed application.

    Related Resources

    Automate Your Security Checks

    Let VibeEval scan your Fly.io application for vulnerabilities.

    Scan Your App