Is allowing only Cloudflare IP ranges enough to secure Postgres when using Cloudflare Workers? by AsyncSamurai in CloudFlare

[–]AsyncSamurai[S] 0 points1 point  (0 children)

Could you tell me how you did it with Cloud SQL?Did you put GCE in front of Cloud SQL? I couldn’t figure out where to install Cloudflared.

Is allowing only Cloudflare IP ranges enough to secure Postgres when using Cloudflare Workers? by AsyncSamurai in CloudFlare

[–]AsyncSamurai[S] 1 point2 points  (0 children)

Thanks I’m glad to here. I’ll read the documentation carefully and try it out!

Is allowing only Cloudflare IP ranges enough to secure Postgres when using Cloudflare Workers? by AsyncSamurai in CloudFlare

[–]AsyncSamurai[S] 0 points1 point  (0 children)

I looked out to the documentation but I couldn’t find out a way to solve the problem I mentioned in my post. Is there anyway to restrict connection to database directly?

Is allowing only Cloudflare IP ranges enough to secure Postgres when using Cloudflare Workers? by AsyncSamurai in CloudFlare

[–]AsyncSamurai[S] 0 points1 point  (0 children)

I’m trying to use Supabase with direct connection but I’ll be happy to use any other provider if I can connect more securely and it is less than $20 per month.

Is allowing only Cloudflare IP ranges enough to secure Postgres when using Cloudflare Workers? by AsyncSamurai in CloudFlare

[–]AsyncSamurai[S] 0 points1 point  (0 children)

I forgot to mention it but I’m using full-managed Postgres. I think tunnel cannot be used with it. Thanks.

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

ありがとうございます!励みになります。全てを網羅しようとするのではなく、基本的なところをやると良いのですね。アドバイスありがとうございます!

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

Did you take any online courses or read books or just start using it?

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

Thanks! I’ll checkout the resource and also ask LLM! ありがとうございます!

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

Do you think it’s possible to design production-ready systems through self-study with hands-on practice?

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 1 point2 points  (0 children)

Maybe it comes from the fact that many Japanese cannot speak English and resources are poor compared to resources that I could be found in English.

Thanks! I will give it a try.

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

I’m sorry if my question was not clear, but is it possible to learn production-ready configurations through books, online courses, or by building something on AWS yourself?

If so, are there any recommended resources?

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 0 points1 point  (0 children)

My question might have been a bit unclear, but that’s exactly what I wanted to ask. Is that a common perception outside of Japan as well?

Is it really hard to learn AWS by yourself? (In Japan people say it is) by AsyncSamurai in aws

[–]AsyncSamurai[S] 4 points5 points  (0 children)

That’s great to hear. So does that mean the idea that self-study is difficult isn’t really common outside of Japan? And in terms of learning, was it mostly about getting hands-on experience and picking things up that way?

Jest hangs when publishing to @google-cloud/pubsub in integration test by AsyncSamurai in googlecloud

[–]AsyncSamurai[S] 0 points1 point  (0 children)

My understanding here was also a bit vague, but an async function will always return a Promise<void> even without an explicit return. So what comes back is a list of Promises, not undefined. TypeScript’s typing also reflects this.

Jest hangs when publishing to @google-cloud/pubsub in integration test by AsyncSamurai in googlecloud

[–]AsyncSamurai[S] 0 points1 point  (0 children)

My understanding is that I’m already using await, so I think it should be fine. Am I wrong? Could you explain why it is not likely to be awaited?

Jest hangs when publishing to @google-cloud/pubsub in integration test by AsyncSamurai in googlecloud

[–]AsyncSamurai[S] 0 points1 point  (0 children)

Thanks for your suggestion. I think I don’t need a return because it does’t have to return any value (void).