åº
å æ¥ãMisskeyãç¥ã£ã¦ããããããããªã¼ãã¨æã£ã¦ãããã³ã³ã»ãããµã¼ãã¼ããã¹ã¿ã¼ããããã
ã¾ãããã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¤ãã¦ã®ç´¹ä»ã¯å¾åãã«ãã¦ããµã¼ãã¼ãç«ã¦ãæè¡çãªè©±ããã¦ãããã¨æãã
ãµã¼ãã¼é¸å®ã¨Vultr
Misskeyãåãããã¨ããç®æ¨ã¯è¯ãã¨ãã¦ãåé¡ã¯ãµã¼ãã¼ã®æ±ºå®ã§ããã
ç§ã¯VPSã®å©ä¾¿æ§ãæé«ã ã¨æã£ã¦ããã¦ã®ã§ããªã³ãã¬ãã¹ã¨ãã鏿è¢ã¯ãªãã ããã¦ããµã¼ãã¼OSã¯Archlinux以å¤ã¯èããããªãã
ãããã®VPSã¯ç«ã¦ããæ¶ãããããã®ã«æéãããããæ±ãã«ãããããã¾ãèãããã¯ãªãã ãããããã¨ããå½å ã§ã¯ConoHa䏿ã«ãªã£ã¦ãã¾ãã
ã ããå½å ã«ãã ãããªããã°é¸æè¢ã¯ä»ã«ãããã ç§ã鏿ããã®ã¯Vultrã ã
Vultrã¯ã¢ã¡ãªã«ã¯ãã¤ã¢ãã®æµ·å²¸ã«ç»è¨ä½æããã¤ãã¹ãã£ã³ã°æ¥è ã ã 2014å¹´ã«ãµã¼ãã¹ãã¼ã³ãããã¦ããã
注ç®ãããã¡ãªã®ã¯ææä½2.5ãã«ã¨ããé常ã«å®ä¾¡ãªVPSããããã¨ã ãã
- CPUå
±æåVPS
- åä¸ä»£Intel CPU+é常ã®SSDã«ããã¬ã®ã¥ã©ã¼ã¢ãã«
- ææ°CPUã¨NVMe SSDãæè¼ãã髿§è½ã¢ãã« (Intel/AMDãã)
- CPUå°æåVPS (4種é¡åå¨)
- Nvidia GPUæè¼VPS (GPUã®ç¨®é¡ã¯ç¨®é¡ãã)
- GPUãã¢ã¡ã¿ã«
- CPUãã¢ã¡ã¿ã«
ã¨å¤å½©ãªç¨®é¡ããããéå¸¸ã«æè»ãªããã¤ä¸ããä¸ã¾ã§å¹ åºãæ§æãå¯è½ã ã
ããã«ç¨æããããµã¼ãã¹ã
- DNS
- ã¹ãããã·ã§ãã
- DDoSãããã¯ã·ã§ã³
- ããã¼ã¸ãMySQL/PostgreSQL
- ãã¼ã¿ã»ã³ã¿ã¼å°ç¨ç·æ¥ç¶
- k8s
- ä»»æãµã¤ãºã®è¿½å ãããã¯ã¹ãã¬ã¼ã¸
- ä»»æãµã¤ãºã®ãªãã¸ã§ã¯ãã¹ãã¬ã¼ã¸
- ãã¼ããã©ã³ãµã¼
ãªã©ãããã
ã¤ã¾ããConoHaã¨ããããã¯ãAWSã®ãããªãµã¼ãã¹å±éã§ããããæãããå¾é課éã®ãªãã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ãã¨ãã£ãè¶£ã å é¨ãµã¼ãã¼ã¯100Gbpsç´ã®ãããã¯ã¼ã¯ãã¤ãªãã£ã¦ãããLANã®å¸¯åã100MbpsãããªãConoHaããããã£ã¨éãã ãã¼ã¿ã»ã³ã¿ã¼ãæ±äº¬ã«ãããä¸ã«ãã¤ã³ã¿ã¼ããã帯åã太ãããªããªããã¹ãã£ã³ã°ãããã¤ãã¨ãã¦ä¸ä½ã®é度ã§ãããããConoHaã¨ã¯æ¯ã¹ç©ã«ãªãããConoHaãããããããæ¬æ ¼çãªãµã¼ãã¼ç°å¢ãå¿ è¦ã§ãã人åãã¨ãããã
ãªããã¤ãå®é¡ã§å©ç¨ã§ãããããå°ããªç°å¢ã§ã使ããããã ConoHaã¨éãéä¿¡éå¶éã¯ããããããªãè±å¯ãªã®ã§å¿é ã¯å°ãªãã ããã
Vultrãµã¼ãã¼
Vultr VPSã¯ã«ã¹ã¿ã ISOã®å©ç¨ãå¯è½ã ããããããæåããArchlinuxã®ã¤ã¡ã¼ã¸ããããããç§ã¯ç¹ã«å©ç¨ããªãã£ãã å¥ç´ããã®ã¯AMD High Performanceã¨ãããææ°AMDããã»ããµã¨NVMe SSDãç¨ããCPUå ±æVPSã§ããã
2 vCPU, 4GB RAM, 100GB SSD, 5TB帯åã§æ24ãã«ã èªåã¹ãããã·ã§ãããã¤ãã¦æ28ãã«ã ã åå®ãã«é«ã®å½±é¿ãããã4000åã»ã©ãããããã¹ããã¯çã«ã¯ConoHaããããã¨æ¯ã¹å£ã£ã¦è¦ããã
inxi -F ã®çµæã¯æ¬¡ã®ã¨ãã
System:
Host: stellanaut Kernel: 6.1.14-1-lts arch: x86_64 bits: 64
Console: pty pts/0 Distro: Arch Linux
Machine:
Type: Microsoft System: Vultr product: VHP v: pc-q35-7.0
serial: <superuser required>
Mobo: N/A model: N/A serial: N/A BIOS: Vultr v: N/A date: N/A
CPU:
Info: single core model: AMD EPYC-Rome bits: 64 type: MT cache: L2: 512 KiB
Speed (MHz): avg: 2795 min/max: N/A cores: 1: 2795 2: 2795
Graphics:
Device-1: driver: bochs-drm v: N/A
Display: server: No display server data found. Headless machine?
tty: 80x24 resolution: 1280x800
API: N/A Message: No display API data available in console. Headless
machine?
Audio:
Device-1: Intel 82801I HD Audio driver: snd_hda_intel
Sound API: ALSA v: k6.1.14-1-lts running: yes
Network:
Device-1: Red Hat Virtio network driver: virtio-pci
IF-ID-1: enp1s0 state: up speed: -1 duplex: unknown mac: 56:00:04:53:cc:c9
Drives:
Local Storage: total: 100 GiB used: 39.1 GiB (39.1%)
ID-1: /dev/vda model: N/A size: 100 GiB
Partition:
ID-1: / size: 98.32 GiB used: 39.1 GiB (39.8%) fs: ext4 dev: /dev/vda1
Swap:
ID-1: swap-1 type: file size: 24 GiB used: 0 KiB (0.0%) file: /swapfile2
ID-2: swap-2 type: file size: 8 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon
or lm-sensors.
Info:
Processes: 129 Uptime: 1d 2h 39m Memory: 3.83 GiB used: 2.9 GiB (75.6%)
Init: systemd Shell: Zsh inxi: 3.3.25
CPUã®è©³ç´°ã䏿ã§ã1ã³ã¢ã®CPUã2ã¤ã«ãªã£ã¦ããã cpuinfoãè¦ã¦ã¿ã¦ã
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 49
model name : AMD EPYC-Rome Processor
stepping : 0
microcode : 0x1000065
cpu MHz : 2794.748
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 clflushopt clwb sha_ni xsaveopt xsaves clzero xsaveerptr wbnoinvd arat umip rdpid
bugs : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass retbleed smt_rsb
bogomips : 5591.39
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : AuthenticAMD
cpu family : 23
model : 49
model name : AMD EPYC-Rome Processor
stepping : 0
microcode : 0x1000065
cpu MHz : 2794.748
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 clflushopt clwb sha_ni xsaveopt xsaves clzero xsaveerptr wbnoinvd arat umip rdpid
bugs : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass retbleed smt_rsb
bogomips : 5591.39
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
ã¨ãªã£ã¦ããã CPUã®ååãä¼ãããã¦ãããã23/49ãªã®ã§æããEPYC 7R32(48C/96T)ã ã
CPUã³ã¢æ°ã¯2ã§ãããä¸å®ãæã£ã¦ããããå®éã¯EPYC ROME(ææ°ã¨è¨ã£ã¦ããããããä¸ä¸ä»£åã«ãªã£ã¦ãã¾ã£ã¦ãã)ãæè¼ãã¦ãããã¨ããããé常ã«é«éã Xeon Gold 6230ãæè¼ããConoHaããXeon Gold 6212Uãæè¼ããããã(ã¨ãã«3ã³ã¢)ãããæããã«éãã ã¾ããéä¿¡åç·ãé«éã§ãããããã¢ãããã¼ã使¥ãéå¸¸ã«æ¥½ã
管çãã¼ã¸ããã¯å©ç¨ç¶æ³ã°ã©ããè¦ããããã管çãã¼ã¸ãConoHaã¨éã£ã¦è»½ãã®ã§é常ã«å¿«é©ã
ã·ã³ãã«ã«è¨ã£ã¦å®ç§ã ã ConoHa VPSã§æå¿ããæ©è½ã¯ãã¹ã¦åãã¦ãããæ§ã ãªç¹ã§åªãã¦ããã ãã£ããæ¾ç½®ããã¦ããConoHaã¨éãããç´°ããã«ãµã¼ãã¹ãæä¾ããã¦ããã
Vultrãå¼·éãªãµã¼ãã¹ã§ãããã¨ã¯ãMisskey ioãæ¯ãã¦ãããã¨ããè¦ã¦ãæããã ããã ãã¢ã¡ã¿ã«ã30å°ã40å°ã¨åãã¦ããMisskey ioã®å¤§éã¢ã¯ã»ã¹ããã£ããæ¯ãã¦ããã æ¥æ¬ã®VPSãªããæ¯ãããã©ãã以åã«ãããããã®è¦æ¨¡ã®ãµã¼ãã¹ã§ã®å©ç¨ãåãå ¥ããªãã®ã§ãå®å¿æãã¾ãã§éãã
ConoHaåæ§ã«ãµã¼ãã¼ã¯ããç«ã¦ã¦ããæ¶ããã¨ãã§ãã1æéåä½ã®èª²éã¨ãªãã
ãã£ã¨ããããã®ã¿ã¤ãã³ã°ã§ãç§ã®ã¡ã¤ã³ãµã¼ãã¼ã¯ãããããVultrã¸ç§»ããã¨ã«ãªãã ããã
Misskey
Misskeyã®ã¤ã³ã¹ãã¼ã«ã¯Ubuntuãåæã«ãã¦ãããUbuntu以å¤ã§ã¯å¿ è¦ãªæ å ±ããªããUbuntuåãã«æ¸ãããå 容ã夿ããæè¡ãå¿ è¦ã«ãªãã
Archlinuxã使ãããªãã人ã§ããã°ããã®æ¬è³ªã¯ãå¿ è¦ãªã½ããã¦ã§ã¢ãã¤ã³ã¹ãã¼ã«ããæå¹åãããã§ããããã¨ã¯pnpmã使ã£ã使¥ã¯Ubuntuã¨åããªã®ã§é£ãã話ã§ã¯ãªãã ããã
ç§ããã¹ã£ã(主ã«åç´ãªããå¿ã)ãã¤ã³ãã¨ãã¦ã¯
misskeyã¦ã¼ã¶ã¼ã®ã·ã§ã«ã/bin/nologinã«ãã¦ãã¾ãdefault.confã®æ¸ãæãå¿ã- ãã¼ã¿ãã¼ã¹ã®åæåå¿ã (Archlinuxã§ã¯PostgreSQLã¯æååæåããå¿ è¦)
misskeyã¦ã¼ã¶ã¼ãã¼ã«ã®ä½ææ¼ã (postgresã¦ã¼ã¶ã¼)misskeyãã¼ãã«ã®ä½ææ¼ã (misskeyã¦ã¼ã¶ã¼) â»Misskeyã®ã¤ã³ã¹ãã¼ã«ã§ã¯ãã¼ãã«ä½æã¯ãã¦ãããªã- Redisã®èµ·åå¿ã
- Nginxã®èµ·åå¿ã
- Nginxèµ·åãã¦ãã®ã«
certbotã§--standaloneãã¦ãã¾ã
ããã£ããã¤ã³ã
Vultrã®Archlinuxã¤ã¡ã¼ã¸ã¯ufwãæå¹ã«ãªã£ã¦ãããHTTPéä¿¡ãufwã«é£²ã¾ãã¦ãã¾ãã ufwãè¨å®ããããããã¯ç¡å¹ã«ããå¿ è¦ãããã
ä»åã¯ãã¡ã¤ã³ãCloudFlareã§åã£ã¦ãCFãæå¹ã«ãã¦ãããã¨ããããããåé¡ãè¦ãã«ããã£ãã
Stellanaut
ã¨ããããã§ãç§ã¯Misskeyã¤ã³ã¹ã¿ã³ã¹Cafe&Bar Stellanautãç«ã¡ä¸ããã
ã大人ãªç´³å£«æ·å¥³ã®ããã®ãµã¼ãã¼ãã¨ãã18æ³æªæºç¦æ¢ã®éè«åãã³ã³ã»ãããµã¼ãã¼ã¨ãªã£ã¦ããã ãã¼ã«ãã¬ã¤ã¯ããã¾ã§éè¦ãã¦ããªãã£ãã®ã ããã¿ããªããªããªã§ãã¼ã«ãã¬ã¤ãã¦ããã¦ãã¦ãã¨ã¦ãå¬ããéãã
ãã¾ãå¼·éãªãµã¼ãã¼æ§æã§ã¯ãªããã(è²»ç¨çã«ãããã¾ã§ãµã¼ãã¼å¢ããã¨ããªãããã©ã)ã大人æ°ãåãå ¥ããããããã§ã¯ãªãããèå³ãã人ã¯è¨ªãã¦ããããã°ã¨æãã