#Help with deploy

1 messages · Page 1 of 1 (latest)

silver willow
#

Hello, I want to know which is the best way to deploy a Disnake configuration Dockerfile. I'm trying to deploy to AWS App Runner, but it needs a HealthCheck on port 8080. Do you recommend any other type of 24/7 deployment?

quick birch
#

I currently deploy both @autumn summit and @vapid forge to kubernetes, but i used to use a local docker set up that i would deploy manually. (I still deploy monty manually, but snakebot is automated)

I'd also ask @uneven stirrup what they do for their plentiful bots, as they probably have more experience with differing tools than I do

uneven stirrup
#

If your ideal platform to host is AWS then you should be able to create a health check for it fairly easily, within your bot spawn a task which is an aiohttp webserver listening for healthcheck requests, then expose that port within docker so that AWS can ping it, sorry I can't provide much detail I'm sure busy rn :P

silver willow
#

No, I don't need specifically to use AWS, but it's the only that I know. I accept suggestions lol

#

In overall, which is the best way to deploy a disnake bot

#

(context: it's a bot to a single server only)

quick birch
#

ah! i didn't catch that

#

i use hetzner rn for running my bot

#

then i set up k3s on top of their smallest machine

#

also recommended to go for a server in east usa because of latency to discord's servers

autumn summitBOT
#
:ping_pong: Pong!

Gateway Latency: 22ms

quick birch
#

snake ping

vapid forgeBOT
#
:ping_pong: Pong!

Gateway Latency: 24ms

silver willow
#

Oh ok!

#

Thanks!

silver willow
quick birch
#

yeah

#

hold up before you sign up tho

#

@covert vapor might have other recommendations :)

covert vapor
#

huh

#

yea, hetzner is fine, same with AWS, GCP, and DigitalOcean

#

I've heard that Oracle is also alright but never used it myself

vapid forgeBOT
quick birch
vivid elbow
#

oracle is free !

covert vapor
#

referrarl
istg

#

I've also been using Contabo and can't really complain, their web interface is a bit wacky but that's really it

#

they're pretty cheap compared to others but as always, ymmv

radiant scarab
#

Yea I'd +1 getting a vps

#

They are cheap and you can run so much stuff on even the cheapest machines