If you’re looking to elevate your database security while maintaining performance, you’ve landed at the right place! This guide will walk you through the process of setting up and using EdgelessDB, an open-source, MySQL-compatible database that thrives in the realm of confidential computing.
What is EdgelessDB?
At its core, EdgelessDB is a MySQL-compatible database designed for confidentiality, utilizing Intel SGX enclaves to keep your data safe both in memory and on disk. You can think of it like having a secure vault for your data—except this vault performs all necessary operations while keeping everything tightly locked away from prying eyes.
Understanding the Manifest
Central to EdgelessDB’s architecture is a component known as the manifest. Imagine this manifest as a smart contract that not only defines the structure of your database but also governs who can access what, all in a manner that’s verifiable by external parties.
Key Features
- Always Encrypted: Data is secured at all times—both while in use and when stored.
- Manifest: Functions as the blueprint of your database’s security rules.
- Remote Attestation: Confirms your EdgelessDB instance runs in a secure enclave, ensuring integrity.
Use Cases
EdgelessDB is incredibly versatile. Here are a couple of ways you can utilize it:
- Elevate your security by transitioning sensitive databases from on-premises to the cloud.
- Develop innovative confidential applications that facilitate the pooling and analysis of sensitive data across multiple sources.
How to Set Up EdgelessDB
Setting up EdgelessDB is straightforward. You can run it on an SGX-capable system or simulate it on any machine. Here’s how:
docker run -t --name my-edb -p3306:3306 -p8080:8080 --device /dev/sgx_enclave --device /dev/sgx_provision ghcr.io/edgelesssys/edgelessdb-sgx-1gb
Alternatively, for simulation mode on any system, use:
docker run -t --name my-edb -p3306:3306 -p8080:8080 -e OE_SIMULATION=1 ghcr.io/edgelesssys/edgelessdb-sgx-1gb
Troubleshooting Common Issues
If you encounter issues while setting up or using EdgelessDB, here are a few tips to guide you:
- Connection Problems: Ensure that the ports (3306 and 8080) are correctly mapped.
- Docker Device Error: If you face issues with SGX devices, verify that your system supports Intel SGX.
- Access Denied: Check your manifest settings to ensure correct permissions are in place.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Explore Further
For detailed information, visit the documentation to dive deep into EdgelessDB concepts, configurations, and usage.
Final Words
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

