{"id":21523683,"url":"https://github.com/bhojpur/host","last_synced_at":"2026-05-22T14:04:16.198Z","repository":{"id":57647630,"uuid":"443448523","full_name":"bhojpur/host","owner":"bhojpur","description":"The Bhojpur Host is a computing resource provider based on the Bhojpur.NET Platform. It is used for delivery of custom applications or services that scale automatically.","archived":false,"fork":false,"pushed_at":"2022-04-24T13:26:18.000Z","size":5009,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T05:10:02.042Z","etag":null,"topics":["cloud","containers","devops","edge-computing","infrastructure","kubernetes","virtualization"],"latest_commit_sha":null,"homepage":"https://page.bhojpur-consulting.com/product/host/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhojpur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-01T00:52:00.000Z","updated_at":"2022-09-26T01:30:52.000Z","dependencies_parsed_at":"2022-08-25T08:20:37.424Z","dependency_job_id":null,"html_url":"https://github.com/bhojpur/host","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhojpur%2Fhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhojpur","download_url":"https://codeload.github.com/bhojpur/host/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244081926,"owners_count":20395180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","containers","devops","edge-computing","infrastructure","kubernetes","virtualization"],"created_at":"2024-11-24T01:19:05.653Z","updated_at":"2026-05-22T14:04:11.127Z","avatar_url":"https://github.com/bhojpur.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bhojpur Host - Infrastructure Framework\n\nThe `Bhojpur Host` is a high-performance, compute hosting resource provider applied within the\n[Bhojpur.NET Platform](https://github.com/bhojpur/platform) ecosystem for delivery of distributed\n`applications` or `services`. It lets you create `virtual` or `Container` hosts and/or `Unikernel`\nhosts on a bare metal computer, on cloud providers (e.g., Amazon Web Services, Google Cloud Platform,\nMicrosoft Azure, DigitalOcean, IBM Bluemix, Oracle Cloud Infrastructre), and inside your own data\ncenter (e.g. using OpenStack, VMware). It creates servers, installs the `Bhojpur Host` server-side\nruntime engine on them, then configures the `Bhojpur Host` client-side CLI to talk to them.\n\nThe `Bhojpur Host` project is intended to be *embedded* and executed by full Bhojpur products. The\nstandalone Bhojpur Host `CLI` functionality will remain, but human use of it will not be our primary\nfocus as we would expect inputs provided by other things (e.g., Terraform or User Inferfaces)\n\n## Key Features\n\n- Computing Host instance management\n- Host Farm (i.e. cluster) management\n- Container Cluster Operations management\n\nIt integrates seamlessly with the [Bhojpur DCP](https://github.com/bhojpur/dcp) (i.e., distributed\ncloud platform), which leverages [Bhojpur OS](https://github.com/bhojpur/os) as its operating system\nand the [Bhojpur Kernel](https://github.com/bhojpur/kernel) framework for `Unikernel` development.\n\n## Computing Host Instance Provision\n\nThe `Bhojpur Host` machine instance is managed using `hostutl` tool. It can provision hosting nodes\n(i.e. machine instances) in a Virtualized Data Center. It could connect to a wide range of Cloud\ninfrastructure providers.\n\nTo get a list of hosting `machines` available in the resource pool, type the following command\n\n```bash\n$ hostutl ls\n```\n\nTo create a new `machine` instance locally using `virtualbox` driver\n\n```bash\n$ hostutl create --driver virtualbox default\n```\n\nTo remove a host `machine` from managed resource pool\n\n```bash\n$ hostutl rm default\n```\n\n## Host Farm Cluster Provision\n\nThe `Bhojpur Host` server farm is managed using the `hostfarm` tool. It creates Kubernetes\nclusters on different Cloud infrastructure providers.\n\nA list of commands to manage `Kubernetes Cluster` in a multi-cloud environment\n\n```bash\n$ hostfarm create --driver $driverName [OPTIONS] cluster-name\n$ hostfarm inspect cluster-name\n$ hostfarm ls\n$ hostfarm update [OPTIONS] cluster-name\n$ hostfarm rm cluster-name\n```\n\nTo see what driver `create` options it has, run the following command\n\n```bash\n$ hostfarm `create --driver` $driverName --help\n```\n\nTo see what `update` options for a cluster, run the following command\n\n```bash\n$ hostfarm update --help cluster-name\n```\n\nA `serviceAccountToken` that binds to the `clusterAdmin` is automatically created for you,\nto see what it is, run the following command\n\n```bash\n$ hostfarm inspect clusterName\n```\n\nBefore running `Google Kubernetes Engine` driver, make sure you have the credential. To get\nthe credential, you can run any of the steps below\n\n`gcloud auth login` or,\n\n`export GOOGLE_APPLICATION_CREDENTIALS=$HOME/gce-credentials.json` or,\n\n```bash\n$ hostfarm create --driver gke --gke-credential-path /path/to/credential cluster-name\n```\n\n## Container Cluster Operations Management\n\nThe `Bhojpur Kubernetes Engine` could host a wide range of `applications` or `services`. It\nis managed using the `hostops` tool. The installation and configuration of hosting clusters\nis the primary focus of `hostops` tool.\n\n```bash\n$ hostops\n```\n\n## Build Source Code\n\nFirstly, you need a running instance of `Docker` instance so that the `dapper` tool can\nbuild everything from the source code and use a local `Docker Registry`.\n\n```bash\n$ sudo make\n```\n\nAlternately, you can use the following commands\n\n```bash\n$ task build-tools\n$ task build-cloud\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhojpur%2Fhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhojpur%2Fhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhojpur%2Fhost/lists"}