Nodejs server 用咩做hosting 最好?

49 回覆
0 Like 13 Dislike
2022-01-16 13:44:40
用開linode
2022-01-16 15:16:47
個portal垃圾我都agree,平時都係用cli搞
2022-01-16 16:46:40
唔係自己run instance
用緊aws 嘅instance 應該算係serverless?
2022-01-16 17:00:19
firebase deploy 嘅話,唔洗揀instance
即係每個人都係一樣setting?
速度如何?

另外因為我要用database,
firebase 好似淨係可以用佢個realtime database?
2022-01-16 17:04:15
Server less = you don’t need to config the server
2022-01-16 17:10:05
Thanks, these are very good option for start up.
But i need to utilize a database,
seems like the price is similar to aws if i use db
2022-01-16 17:10:26
Lambda + S3 + dynamo db/rds 先叫serverless 喎…
你一用ec2咪已經係有server
2022-01-16 17:13:23
How much are you paying for EC2? DO $5 can install database ga wor
2022-01-16 17:14:49
係呀巴打有料
我呢方面真係唔熟
原來有分別 我再望望serverless 先
比起用instance, serverless 有冇咩restriction要留意?
2022-01-16 17:16:13
速度基本上等於cdn

如果你要用firebase套裝當然得Firestone/realtime揀

但如果你都寫得webapp,大可以分開host個db同api去第二度,但做法就睇你需求了
2022-01-16 17:18:33
ec2行k8s算唔算有server
2022-01-16 17:20:13
serverless一般情況下比較難套用到d外間framework入去

要用到外間framework比較常見既做法係自己build container upload上去manage

但如果你都將個app拆到咁散, 其實一般情況唔係好需要d framework
2022-01-16 18:27:44
Now around 50 pcm if it is running 24 hours
Will join compute saving plan after confirming my choice.

btw, if i use serverless instead, seems like it would be
Lambda + Aurora + Cloudfront(optional) ?
2022-01-16 18:32:30
ecs fargate - serverless dockerize solution, you can use any framework you want...
2022-01-16 18:34:20
我印象中lambda都可以食container,fargate既優勢係行long running program而唔係on demand果隻
2022-01-16 18:40:30
There are some limitation
"You can deploy your own arbitrary base images to Lambda, for example images based on Alpine or Debian Linux. To work with Lambda, these images must implement the Lambda Runtime API. To make it easier to build your own base images, we are releasing Lambda Runtime Interface Clients implementing the Runtime API for all supported runtimes."

https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/

如果做web (microservices architecture), 不如api gateway + lambda + frontend (ecs fargate)
2022-01-16 18:46:40
雖然我冇寫過,但總係覺得最多用講既lambda api wrapup下framework既run script就完,可能我太簡單化件事啦
2022-01-16 19:03:07
除左Heroku,
仲有冇啲咩hosting有Auto Deploy
2022-01-16 22:49:40
Digital ocean apps
2022-01-19 14:50:01
Oracle啦。免費4 core 24G RAM
2022-01-19 18:10:12
冇experienced engineer嘅start up多數都會失敗,唔係一定,只係大機會
2022-01-23 17:54:51
好似仲有個fargate
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞