Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Cafe137/bee-factory-vps
Run Bee via Bee-Factory on a fresh VPS without ever having to SSH to the server
https://github.com/Cafe137/bee-factory-vps
bee bee-factory bee-js ethersphere swarm
Last synced: 2 months ago
JSON representation
Run Bee via Bee-Factory on a fresh VPS without ever having to SSH to the server
- Host: GitHub
- URL: https://github.com/Cafe137/bee-factory-vps
- Owner: Cafe137
- Created: 2021-09-08T08:56:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T11:42:44.000Z (over 3 years ago)
- Last Synced: 2024-10-30T10:14:11.148Z (3 months ago)
- Topics: bee, bee-factory, bee-js, ethersphere, swarm
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-swarm - Bee Factory VPS - Provides an automatized way to set up Bee Factory on a fresh Ubuntu VPS (Projects / CI/CD)
README
# Bee-Factory VPS
## Disclaimer
This is not an official Ethersphere product.
This makes major modifications to the target server, exposing it to security risks.
Make sure you read and understand `agent.sh`.
## Description
This tool is intended for developers who want to run [Bee-Factory](https://github.com/ethersphere/bee-factory) on a VPS.
It sets up [Bee-Factory](https://github.com/ethersphere/bee-factory) on a fresh VPS automatically and runs Bee, without ever having to `ssh` to the server.
These servers are intended to be disposable and short-lived, used for developing on Swarm.
Requires `root` user with password authentication method.
## Usage
What you need to do:
1. Create a new Ubuntu 20.04 VPS (tested with DigitalOcean $10 VPS)
2. Set `BEE_HOST`, `BEE_USERNAME` and `BEE_PASSWORD` environment variables
3. Run `npm i && npm start`What will happen:
1. `agent.sh` will be copied to the VPS and executed using the `node-ssh` package
2. One queen and one worker ephemeral Bee instances will be created using [Bee-Factory](https://github.com/ethersphere/bee-factory)
3. Bee endpoints will be exposed on ports `1633`, `1635` and `11633`, `11635`