<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to run Discord bot on Cloud Run	</title>
	<atom:link href="https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/feed/" rel="self" type="application/rss+xml" />
	<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/</link>
	<description>by Emil</description>
	<lastBuildDate>Tue, 01 Jun 2021 09:52:56 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2343</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Tue, 01 Jun 2021 09:52:56 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2343</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2342&quot;&gt;Elijah&lt;/a&gt;.

My code is very simple, but I was also facing this problem. The solution was to move Cloud Run to another region... Probably you need to check which one would be the best for you, but I may say that in my case europe-west4 is the &quot;fastest&quot; one. :D]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2342">Elijah</a>.</p>
<p>My code is very simple, but I was also facing this problem. The solution was to move Cloud Run to another region&#8230; Probably you need to check which one would be the best for you, but I may say that in my case europe-west4 is the &#8220;fastest&#8221; one. 😀</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Elijah		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2342</link>

		<dc:creator><![CDATA[Elijah]]></dc:creator>
		<pubDate>Sat, 29 May 2021 21:15:30 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2342</guid>

					<description><![CDATA[I utilized a strategy similar to what you described, but my bot takes 60+ seconds to respond to commands when running on Google Cloud, whereas it takes 1-3 seconds to respond when running on my local machine. It would be great if you could publish your source code or offer more details on the deployment process.]]></description>
			<content:encoded><![CDATA[<p>I utilized a strategy similar to what you described, but my bot takes 60+ seconds to respond to commands when running on Google Cloud, whereas it takes 1-3 seconds to respond when running on my local machine. It would be great if you could publish your source code or offer more details on the deployment process.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2329</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Tue, 20 Apr 2021 08:02:44 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2329</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2327&quot;&gt;Franz&lt;/a&gt;.

Hi! Thanks a lot! No, I haven&#039;t tried to run python, but I have good news – I&#039;m in the middle of the migration from node.js to python, so for sure I will face the same problem. :D 

No, I don&#039;t have, I keep that on Bitbucket in private repository – unfortunately I was keeping credentials in repository (yeah, very bad thing) and I didn&#039;t rewrite the repository history, so I&#039;d prefer not to push everything to the public repo... :D]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2327">Franz</a>.</p>
<p>Hi! Thanks a lot! No, I haven&#8217;t tried to run python, but I have good news – I&#8217;m in the middle of the migration from node.js to python, so for sure I will face the same problem. 😀 </p>
<p>No, I don&#8217;t have, I keep that on Bitbucket in private repository – unfortunately I was keeping credentials in repository (yeah, very bad thing) and I didn&#8217;t rewrite the repository history, so I&#8217;d prefer not to push everything to the public repo&#8230; 😀</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Franz		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2327</link>

		<dc:creator><![CDATA[Franz]]></dc:creator>
		<pubDate>Fri, 16 Apr 2021 04:29:00 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2327</guid>

					<description><![CDATA[Hey this was pretty cool!

Did you ever find out how to do something similar for Discord Python on Cloud Run? So far I&#039;ve been trying to mess with threads so that it can spin up a flask instance to list on the ports, then not block the discord bot, but no luck so far.

Also do you have the JS Cloud Run source on github by any chance?]]></description>
			<content:encoded><![CDATA[<p>Hey this was pretty cool!</p>
<p>Did you ever find out how to do something similar for Discord Python on Cloud Run? So far I&#8217;ve been trying to mess with threads so that it can spin up a flask instance to list on the ports, then not block the discord bot, but no luck so far.</p>
<p>Also do you have the JS Cloud Run source on github by any chance?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2322</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Sat, 27 Mar 2021 15:26:41 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2322</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2320&quot;&gt;annoynmous&lt;/a&gt;.

Last month I paid 0.02$ for the whole services I use in GCP. :D So not only for Cloud Run (two Discord Bots running 24/7), but also few Cloud Functions (simple crawlers), Stackdriver Logging for all my services and occasionally Compute Engine for few hours. 

There you can see the billing details for Cloud Run on my account from February 2021 – each month looks similar: https://storage.googleapis.com/ew-public-stuff/cloud_run_february_2021.png

Those &quot;discounts&quot; just cover the free part of each service (not Free Tier, as I finished Free Tier last year), so as you can see, I even cannot use the free resources. :D 

Does it answer your question?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2320">annoynmous</a>.</p>
<p>Last month I paid 0.02$ for the whole services I use in GCP. 😀 So not only for Cloud Run (two Discord Bots running 24/7), but also few Cloud Functions (simple crawlers), Stackdriver Logging for all my services and occasionally Compute Engine for few hours. </p>
<p>There you can see the billing details for Cloud Run on my account from February 2021 – each month looks similar: <a href="https://storage.googleapis.com/ew-public-stuff/cloud_run_february_2021.png" rel="nofollow ugc">https://storage.googleapis.com/ew-public-stuff/cloud_run_february_2021.png</a></p>
<p>Those &#8220;discounts&#8221; just cover the free part of each service (not Free Tier, as I finished Free Tier last year), so as you can see, I even cannot use the free resources. 😀 </p>
<p>Does it answer your question?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: annoynmous		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2320</link>

		<dc:creator><![CDATA[annoynmous]]></dc:creator>
		<pubDate>Sat, 27 Mar 2021 00:29:41 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2320</guid>

					<description><![CDATA[What about pricing? Setting minimum instance straight up seems to be working for me. I am just a bit concerned as this bot is supposed to be running on multiple servers. Pricing looks generally fine to me but I am still confused about certain past. The only thing is that I never ran a cloud-run instance 24/7. It seems like you are doing pretty much the same. Can u share the ballpark of your monthly costs for GCP?]]></description>
			<content:encoded><![CDATA[<p>What about pricing? Setting minimum instance straight up seems to be working for me. I am just a bit concerned as this bot is supposed to be running on multiple servers. Pricing looks generally fine to me but I am still confused about certain past. The only thing is that I never ran a cloud-run instance 24/7. It seems like you are doing pretty much the same. Can u share the ballpark of your monthly costs for GCP?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2302</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Mon, 01 Mar 2021 08:28:26 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2302</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2301&quot;&gt;Raeshawn&lt;/a&gt;.

Thanks! GKE would be something like shooting sparrows with a cannon. :D So I decided to use Cloud Run, but if I had more toys to run, I would use GKE as well (probably). Unfortunately, I don&#039;t have my own Discord server, but generally, I use this communicator, so I join any great server. :D]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2301">Raeshawn</a>.</p>
<p>Thanks! GKE would be something like shooting sparrows with a cannon. 😀 So I decided to use Cloud Run, but if I had more toys to run, I would use GKE as well (probably). Unfortunately, I don&#8217;t have my own Discord server, but generally, I use this communicator, so I join any great server. 😀</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raeshawn		</title>
		<link>https://emilwypych.com/2020/10/25/how-to-run-discord-bot-on-cloud-run/#comment-2301</link>

		<dc:creator><![CDATA[Raeshawn]]></dc:creator>
		<pubDate>Sun, 28 Feb 2021 19:30:29 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=647#comment-2301</guid>

					<description><![CDATA[This was great, 

I had done something similar with GKE, cloud run seems to be a few clicks less and a little more straightforward, I&#039;ve been running my bot on this infrastructure for a couple of weeks now. If you&#039;re on discord i&#039;d love to chat more your site / blog has great content.]]></description>
			<content:encoded><![CDATA[<p>This was great, </p>
<p>I had done something similar with GKE, cloud run seems to be a few clicks less and a little more straightforward, I&#8217;ve been running my bot on this infrastructure for a couple of weeks now. If you&#8217;re on discord i&#8217;d love to chat more your site / blog has great content.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 9/70 objects using Disk
Page Caching using Disk: Enhanced 
Minified using Disk

Served from: emilwypych.com @ 2025-11-28 07:36:41 by W3 Total Cache
-->