リレーサーバーを立ててみた(仮)

4.3K Views

February 22, 23

スライド概要

profile-image

きりのです。

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

関連スライド

各ページのテキスト
1.

リレーサーバーを立ててみた(仮) - relay-jp.nostr.wirednet.jpを支えるサービス きりの ([email protected])

2.

Profile ◆ Name: ◼ ◼ きりの みなと Kirino Minato / imksoo ◆ SNS ◼ ◆ Work: ◼ ◼ ◼ ◼ – – – – Cloud Architect (Azure & AWS) Storage, Backup & DR Engineer IT Service & Operation Designer ◼ ◆ Like: ◼ ◼ Drive Home rack (Jitaku rack) Twitter @imksoo Mastodon @[email protected] @[email protected] @[email protected] tootsearch Nostr – [email protected] – Relay service: Public) relay.nostr.wirednet.jp Japan-regional) relay-jp.nostr.wirednet.jp 2

3.

Nostr relay – relay.nostr.wirednet.jp ◆ Public Nostr relay for global. ◼ ◆ Launched at Mon Feb 06, 2023, 10:25:52 GMT+0900 (日本標準時) (16 days) Architecture ◼ An EC2 instance in ap-northeast-1 with nostr-rs-relay on Docker Compose Users CloudFront EC2 (Nostr relay) 3

4.

Nostr relay – relay-jp.nostr.wirednet.jp ◆ CloudFront “Geo restriction” ◼ ◼ Restriction type: Whitelist Countries: JP Geo restriction (JP) Users CloudFront EC2 (Nostr relay) 4

5.

Installation ◆ ◆ ◆ ◆ ◆ Install Docker Compose git pull https://github.com/scsibug/nostr-rs-relay.git docker build –t nostr-rs-relay . vim docker-compose.yml version: "3.7" docker compose up -d services: nostr-rs-relay: image: nostr-rs-relay:latest sysctls: net.core.somaxconn: 32768 net.ipv4.ip_local_port_range: "10000 60999" volumes: - "./db:/usr/src/app/db" - "./favicon.ico:/usr/src/app/favicon.ico" - "./config.toml:/usr/src/app/config.toml" ports: - "8080:8080" 5

6.

CPU Utilization (%) なんかあったっけ? 6

7.

Network Traffics (In/Out) 7

8.

CloudFront requests 8

10.

fin.