# Overview

Canonical URL: https://developers.iagenify.com/sdk/ref/hosts/
Language: en

Puts static files or an edge module online. New hosts declare a runtime and framework; Hosts does not run persistent Node servers or Next SSR.

Status: 6 methods · static and edge · the plan decides how many

| Call | Does |
| --- | --- |
| [create({ runtime, framework, label, slug })](/sdk/ref/hosts/create) | Creates a host and reserves its address. |
| [list()](/sdk/ref/hosts/list) | Every host of the account. |
| [get(id)](/sdk/ref/hosts/get) | One of them. |
| [kinds()](/sdk/ref/hosts/kinds) | Which kinds exist and which are available. |
| [usage()](/sdk/ref/hosts/usage) | What the plan allows. |
| [remove(id)](/sdk/ref/hosts/remove) | Deletes it. |

```javascript
const site = await api.hosts.create({ runtime: "static", framework: "vite", label: "Portfolio" });

await site.deploy({ files: "./out" });
console.log(site.url, site.certificate);
```

## The two runtimes that serve {#runtimes}

| runtime | Frameworks | Deploys |
| --- | --- | --- |
| `static` | html, vite, react, vue, angular, astro, next-static | files |
| `edge` | worker, hono | one code module |

> **Unsupported server runtimes are refused before deployment**
>
> Node, Express, Fastify, Nest and Next SSR need a persistent Node server, which Hosts does not provide. The SDK rejects them before files leave your machine.

## It deploys, it does not build {#not-a-build}

An application is built where its code already is, and the result arrives here. Pointing a deploy at a source folder publishes sources — the deploy succeeds, which is what makes the mistake quiet.

## The certificate is what makes you wait {#certificate}

On a level already covered it is immediate; on a fresh one it takes a couple of minutes, and until it is active the address refuses the connection. `certificate` says which — see [Properties](/sdk/ref/host/properties).

## What is online counts against the object storage {#storage}

There is no separate hosting allowance: the bytes are the account's, the same ones files and mailboxes use. `usage()` reports both.

- [Host](/sdk/ref/host): What a host carries, and what you can do to it.
- [deploy()](/sdk/ref/host/deploy): Putting files online.
- [kinds()](/sdk/ref/hosts/kinds): What is available.

```python
site = api.hosts.create(runtime="static", framework="vite", label="Portfolio")

site.deploy(files="./out")
print(site.url, site.certificate)
```
