added information about testnet #2

Merged
valy merged 1 commits from testnet into main 2025-01-27 23:56:49 +00:00
Member

Everything in here needs to be reviewed. Please also take into consideration my IDE does not correct grammar, so the text is full of mistakes.

This PR should get accepted only if we believe this information should be on the website before the testnet gets deployed.

Everything in here needs to be reviewed. Please also take into consideration my IDE does not correct grammar, so the text is full of mistakes. This PR should get accepted only if we believe this information should be on the website before the testnet gets deployed.
ghe0 added 1 commit 2025-01-27 02:56:30 +00:00
ghe0 force-pushed testnet from b31dec874a to 95a02d4d9b 2025-01-27 03:26:45 +00:00 Compare
ghe0 force-pushed testnet from 95a02d4d9b to f159f78e60 2025-01-27 11:57:23 +00:00 Compare
Author
Member

Fixed typos.

Fixed typos.
ghe0 force-pushed testnet from f159f78e60 to c875a78b30 2025-01-27 12:21:03 +00:00 Compare
ghe0 force-pushed testnet from c875a78b30 to 58d37dd77b 2025-01-27 13:31:31 +00:00 Compare
ghe0 force-pushed testnet from 58d37dd77b to d32f5bd293 2025-01-27 15:04:39 +00:00 Compare
ghe0 force-pushed testnet from d32f5bd293 to 7e550c2247 2025-01-27 15:13:35 +00:00 Compare
ghe0 force-pushed testnet from 7e550c2247 to 0045b0c4bf 2025-01-27 15:43:11 +00:00 Compare
valy reviewed 2025-01-27 20:43:04 +00:00
@ -0,0 +5,4 @@
- Follow [DeTEE on Twitter](https://x.com/detee_network)
- Follow [DeTEE on Instagram](https://www.instagram.com/detee_network/)
- Follow [DeTEE on Linkedin](https://www.linkedin.com/company/105187289)
- Follow [Gheorghe](https://www.linkedin.com/in/ghe0/) on Linkedin. Gheorghe loves attention so this will get you extra points.

man 😆

man 😆
ghe0 marked this conversation as resolved
@ -0,0 +1,136 @@
# Advanced Features
This article is oriented towards power users that would like to know more about the mechanics of the DeTEE platform and would like to experiment by adding their own kernel, their own initrd or building OS templates for their own distribution or with their own apps.

nit: maybe "this page is ..."

nit: maybe "this page is ..."
ghe0 marked this conversation as resolved
@ -0,0 +4,4 @@
## Kernel and DTRFS
DeTEE VMs currently run using the latest stable version of the kernel. This is required in order to guarantee the SNP features are enabled. As the progress moves forward, we will also offer the LTS kernel as part of our default feature set.

This is required in order to guarantee thethat SNP features are enabled

This is required in order to guarantee ~the~that SNP features are enabled
ghe0 marked this conversation as resolved
@ -0,0 +17,4 @@
The CLI works together with the initrd (which is actually an initramfs) to enable remote attestation. The integration is based on [virtee](https://github.com/virtee/). As you probably imagined, the normal initramfs images offered by normal distributions do not offer the capabilities required for remote attestation, so we decided to build the DeTEE Init RAM FileSystem (DTRFS).
The code required to build DTRFS is currently not public and will get open sourced after the project grows enough to open source the entire intellectual property. You can, however check the contents of the initramfs by downloading the images listed in the CLI:

in another place I argumented closed source by the fact that it is not stable and we are actively working and testing it, do you think this is a good idea?

in another place I argumented closed source by the fact that it is not stable and we are actively working and testing it, do you think this is a good idea?
ghe0 marked this conversation as resolved
@ -0,0 +45,4 @@
- As a consequence, the VM also does not need kernel modules
- Make sure `sshd` will start and will listen on `0.0.0.0:22` after boot
After creating the image, upload it to any webserver you want and add provide the URL to the CLI. Don't forget to also update the sha256sum of the image, as it gets verified during the installation process.

After creating the image, upload it to any webserver you want and add provide the URL to the CLI.

After creating the image, upload it to any webserver you want and add ~provide~ the URL to the CLI.
ghe0 marked this conversation as resolved
@ -0,0 +47,4 @@
After creating the image, upload it to any webserver you want and add provide the URL to the CLI. Don't forget to also update the sha256sum of the image, as it gets verified during the installation process.
### ArchLinux example

following paragraphs may be separated into a separate create VM section in the future

following paragraphs may be separated into a separate create VM section in the future
ghe0 marked this conversation as resolved
src/cloud/cli.md Outdated
@ -0,0 +8,4 @@
Once docker is installed, use the following command to run the CLI:
```
docker run -it --name detee-cli --entrypoint /usr/bin/fish $IMAGE_NAME

let me add you to the detee organization on docker hub
for when we make the image public

let me add you to the detee organization on docker hub for when we make the image public
ghe0 marked this conversation as resolved
src/cloud/cli.md Outdated
@ -0,0 +25,4 @@
detee-cli account brain-url http://164.92.249.180:31337
```
Also, list get your public key:

Also, list get your public key:

Also, list ~get~ your public key:
ghe0 marked this conversation as resolved
src/cloud/cli.md Outdated
@ -0,0 +37,4 @@
SNP admin secret key path: /home/ghe0/.detee/cli/secret_detee_wallet_key
```
And give it to us on Discord so that we can give you your airdrop (assuming you have [access](./access.md)).

nit: (make sure you follow this tutorial)

nit: (make sure you follow [this](./access.md) tutorial)
ghe0 marked this conversation as resolved
src/cloud/cli.md Outdated
@ -0,0 +41,4 @@
### Deploy a VM
To see options f#or deploying a VM, just write `detee-cli vm deploy --` and hit TAB. Autocompletion will show available options:

To see options f#or for deploying a VM

To see options ~f#or~ for deploying a VM
ghe0 marked this conversation as resolved
@ -0,0 +6,4 @@
- [x] allows you to create contracts for VMs and containers
- [ ] allows you to create contracts for GPUs
- [ ] allows users to vote for the upgrades of the platform
- [x] stores ratings for users

nit: for both users and servers

nit: for both users and servers
ghe0 marked this conversation as resolved
@ -0,0 +34,4 @@
- **Orchestrator**: advanced cloud service that offers high availability and clustering for software services running on the DeTEE platform
- [ ] management of secrets using DeTEE encryption
- [x] deployment of swarms of containers across multiple nodes

this is not done yet

this is not done yet
Author
Member

Yes. It is done. Surprise, Valy ❤️

Yes. It is done. Surprise, Valy ❤️
ghe0 marked this conversation as resolved
@ -0,0 +42,4 @@
Future components (currently not under development):
- **(Arm) TrustZone Daemon**: Software that powers the SNP node, allowing customers to run VMs
- **(NVIDIA) GPU Daemon**: Software that powers the SNP node, allowing customers to run VMs

nit: maybe (Intel + Nvidia)

nit: maybe (Intel + Nvidia)
ghe0 marked this conversation as resolved
@ -0,0 +1,7 @@
# DeTEE Cloud
The mission of DeTEE is to create a decentralized cloud solution that functions as an open market for hardware resources. The DeTEE protocol is connecting the customers (mostly software companies) and the service providers (node operators), ensuring the business activity of all participants runs smoothly. In order to make the decentralized network feel like a cloud platform, DeTEE inspired the user experience from popular cloud platforms (Kubernetes, Openstack, AWS, GCP), and optimized and simplified the flow to the benefit of the end user.

nit: Kubernetes is not really a cloud platform, maybe we rename Kubernetes with Azure or replace "cloud platforms" with "software management platforms"

nit: Kubernetes is not really a cloud platform, maybe we rename Kubernetes with Azure or replace "cloud platforms" with "software management platforms"
ghe0 marked this conversation as resolved
@ -0,0 +1,69 @@
# Token system

not related to this page in particular, but can you add the comments section to all pages you added - check the bottom of other pages

not related to this page in particular, but can you add the comments section to all pages you added - check the bottom of other pages
ghe0 marked this conversation as resolved
@ -0,0 +1,69 @@
# Token system
> Considering how young this project is, everything on this page will probably change in the future.

another comment in regards to all pages, I usually keep the text at between 80 and 120 characters width, it is easier to review, add comments and overall keep markdown format readable

another comment in regards to all pages, I usually keep the text at between 80 and 120 characters width, it is easier to review, add comments and overall keep markdown format readable
Author
Member

Maybe in a future PR cause it's too much work to do that now, but I agree with you.

Maybe in a future PR cause it's too much work to do that now, but I agree with you.
ghe0 marked this conversation as resolved
@ -0,0 +2,4 @@
> Considering how young this project is, everything on this page will probably change in the future.
The token payment and reward mechanism of DeTEE is based on the core concepts of the open market and the requirements of creating a TEE-based decentralized cloud platform:

another one not related to this page in particular
just so that we don't forget, README.md as the folder root 😄

another one not related to this page in particular just so that we don't forget, `README.md` as the folder root 😄
Author
Member

Yes. I will rename to README.md. 🙂

Yes. I will rename to `README.md`. 🙂
ghe0 marked this conversation as resolved
@ -0,0 +11,4 @@
- the guest can not access the host
- the host can not access the guest
One of the first conclusions after analyzing the requirements above is that designing a mechanism was that implementing payment for resource utilization is exceptionally hard. As a consequence, DeTEE currently supports only payment for resource reservation, and different models will be considered as the project grows. This means that the user will pay for the resources he reserves, not for the resources he uses. For example, if a user reserves a VM with 4 vCPUs and 5GB of memory, however the load on the VM is minimal, the user will still pay for vCPUs and 5 GBs of memory. To compensate for this, automation and orchestration tools will be offered to users.

the user will still pay for vCPUs and 5 GBs of memory -> the user will still pay for 4 vCPUs and 5 GBs of memory

the user will still pay for vCPUs and 5 GBs of memory -> the user will still pay for 4 vCPUs and 5 GBs of memory
ghe0 marked this conversation as resolved
@ -0,0 +13,4 @@
One of the first conclusions after analyzing the requirements above is that designing a mechanism was that implementing payment for resource utilization is exceptionally hard. As a consequence, DeTEE currently supports only payment for resource reservation, and different models will be considered as the project grows. This means that the user will pay for the resources he reserves, not for the resources he uses. For example, if a user reserves a VM with 4 vCPUs and 5GB of memory, however the load on the VM is minimal, the user will still pay for vCPUs and 5 GBs of memory. To compensate for this, automation and orchestration tools will be offered to users.
Though nodes get paid for resource reservation, during the testnet nodes will also receive a base reward of 100 test tokens per month. This means that all nodes will receive by default 100 test tokens per month in the testnet, no matter if they sell or not.

nit: maybe instead 100 tokens per month we mention they will receive some additional bonus tokens every month for participating

nit: maybe instead 100 tokens per month we mention they will receive some additional bonus tokens every month for participating
ghe0 marked this conversation as resolved
@ -0,0 +19,4 @@
Before calculating the price per month for a VM or a container, we must define the formula to calculate the multiplier for each hardware resource that is part of the contract. To simplify the formula, we will define “units”, each class of hardware warning units based on their own multiplier.
Based on our experience when using cloud services, we decided that the price of a resource will be calculated based on the number of minutes the resource is being used. As a consequence, using a resource for 10 seconds will qualify as using that resource for 1 minute, and using the resource for 70 seconds will qualify as using the resource for 2 minutes.

qq, can users even mess with seconds, or the resolution is minutes everywhere?

qq, can users even mess with seconds, or the resolution is minutes everywhere?
ghe0 marked this conversation as resolved
@ -0,0 +21,4 @@
Based on our experience when using cloud services, we decided that the price of a resource will be calculated based on the number of minutes the resource is being used. As a consequence, using a resource for 10 seconds will qualify as using that resource for 1 minute, and using the resource for 70 seconds will qualify as using the resource for 2 minutes.
A server is also free to choose the price per unit per minute for his service. This price is defined in nanotokens. The current recommended value is 20k nanotokens per unit per minute. With the current calculation, a VM with 1 vCPU, 1 GB of memory, 20 GB of storage and one public IP will cost 24.4 tokens per month.

nit: add explanation of nanotokens, like so "nanotokes (0.000000001 of a token)"

nit: add explanation of nanotokens, like so "nanotokes (0.000000001 of a token)"
Author
Member

BOOOHOOO! NOOOO!

BOOOHOOO! NOOOO!
ghe0 marked this conversation as resolved
@ -0,0 +33,4 @@
- 10 GB of Storage - offers 1 unit
- 1 public IPv4 IP - offers 10 units
VMs also have an overhead for the memory due to SNP requirements.

let's add following to the end - (additional 256 Mb of memory)

let's add following to the end - (additional 256 Mb of memory)
ghe0 marked this conversation as resolved
@ -0,0 +4,4 @@
- DevOps engineers
- Cloud engineers
- Software developers
- Cybersecurity enthusiasts

maybe we also add web3 engineers?

maybe we also add web3 engineers?
ghe0 marked this conversation as resolved
@ -0,0 +8,4 @@
Having basic understanding of operating systems, containers, virtual machines and deployment of software is required in order to use the CLI. The product was heavily inspired from existing open source cloud apps (Docker, Kubernetes, Proxmox, OpenStack).
As we are currently in a testnet phase, you will first have to get some tokens in order to be able to test the app. Details on how to get access can be found in the next chapter.

As we are currently in entering a testnet phase

As we are currently ~in~ entering a testnet phase
ghe0 marked this conversation as resolved
@ -0,0 +8,4 @@
- AMD EPYC 9004 (Genoa or Bergamo)
- AMD EPYC 9005 (Turin)
More information about the capabilities of each generation can be found on the [AMD website](https://www.amd.com/en/products/processors/server/epyc/infinity-guard.html). Our focus is strictly focused on the SEV-SNP capability.

Our focus is efforts are strictly focused on the SEV-SNP capability.

Our ~focus is~ efforts are strictly focused on the SEV-SNP capability.
ghe0 marked this conversation as resolved
@ -0,0 +83,4 @@
You should be set.
## Easy way to collect rewards

maybe not to collect rewards but to get free tokens

maybe not to collect rewards but to get free tokens
ghe0 marked this conversation as resolved
@ -0,0 +1,12 @@
# Node Operators
DeTEE currently supports Intel SGX and AMD SNP servers. In the future, we are planning to also support Arm TrustZone and NVIDIA GPUs. Our mission is to support all hardware that offers TEEs.

ArmARM TrustZone

~Arm~ARM TrustZone
ghe0 marked this conversation as resolved
ghe0 force-pushed testnet from 0045b0c4bf to 3f8be8fce0 2025-01-27 23:31:46 +00:00 Compare
ghe0 force-pushed testnet from 3f8be8fce0 to b15be22ab9 2025-01-27 23:39:20 +00:00 Compare
ghe0 force-pushed testnet from b15be22ab9 to 238d8606f7 2025-01-27 23:45:33 +00:00 Compare
ghe0 force-pushed testnet from 238d8606f7 to 199948c16a 2025-01-27 23:55:46 +00:00 Compare
valy merged commit 199948c16a into main 2025-01-27 23:56:49 +00:00
valy deleted branch testnet 2025-01-27 23:56:50 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: general/docs-legacy#2
No description provided.