Correction: R2 Object storage does have a free tier (as shown in the video) but it requires a credit card get started. All the other worker features shown in the free section of this video do not require a credit card.
Also, I don't know where to get a Postgres for free, I only see D1 for free.. Even in the documentation their sample connection string points to Neon for postgres
Appreciate the comment! The next small project you start give it a shot and see how you like it before moving over. It is easiest to start from scratch on cloudflare. There is a bit of a learning curve to migrate existing apps to cloudflare. I am hoping to document some of my learning on this channel!
@backpine I think breaking this down into individual videos would get great responses. For example: 1. Setting up CI/CD with Next.js and Cloudflare. 2. Implementing an API gateway across your APIs with Next.js and Cloudflare. etc etc I'd personally love more detailed content on these topics. It seems like people are really searching for these solutions, especially with Vercel’s recent price hikes.
Very good video, keep up the good work. I would like to add, that once a project on cloudflare gets big enough, there is the chance that cloudflare will hold your project hostage until you upgrade to the enterprise tier. Even if your project was running fine on a different tier. Combined with the vendor lock-in, this can be quite bad. And this has happened before with many other companies, so is something to keep in mind. But if your project stays quite small, this should not be a problem you'll run into.
Thank you! This is indeed in the back of my mind as I use Cloudflare. This is how I think about it: 1. When I build solutions for big companies with a large existing user base I will ship to AWS or another mainstream provider. There is really no debate here. 2. If I am building products for small/medium companies that will likely never need to scale or hit a large user base I'd consider Cloudflare and I would have them purchase the proper tier for their traffic. 3. When I ship side projects, I am currently using cloudflare. I got tiered of paying for several dozen VPS and a load balancer for projects that don't make much money. If one day I strike lighting in a bottle and one of my projects gets a lot of traction I'd either become a CF enterprise user (which would make sense) or start the migration process. To me the hard part is not the migration or ponying up money to a vendor like cloudflare. The hard part is actually finding and building something that people want I might be wrong here, but I think it is safe for other indie hackers to take the same approach as me
@@backpineit is crazy that you are now at 1.63 K subs in 4 days. Keep up the good work. I am interested in building a web app using cursor and deploying it to web domain without too much hassle. I have not done web development for a long time, so it is going to be a learning curve
I am surprised how many people this video resinated with. I guess many other devs have been having similar experiences to me in terming of trying to find the most suitable hosting provider!
Should keep in mind that building on Cloudflare, while a great dev experience, can lead to vendor lock in just like the other platforms. VPS is still the best way to go to host in most situations imo.
Agreed, I also prefer this route for projects that already have significant traffic or are making good money. But if you go the VPS route you have to consider production readiness. Best practice is to spin up at least three VPS instances, stick them behind a load balancer, most likely put a proxy in front of the load balancer, build out your preferred CICD pipeline (coolify is nice), and set up robust external logging and monitoring system. When getting started on a small project these things should also be considered.
@@backpine Hello your video was awesome thanks! Would you suggest me to spinup database to coolify(postgres) or use something like cloudflare D1? In best scenario i'm expecting to get 1000-2000 users. Im already using coolify to host My nextjs application.
I guess I was waiting for that video for the entire year to relieve myself that it is okay for me to launch my projects without hesitating. Waiting for more insights, keep up with that dude. You got a new follower
Great exposition video on CW platform! No BS, just describe then demonstrate the use case. A good topic to deep dive would be the design pattern for the ease-of-use vs mitigating vendor lock in.
This is a great suggestion as it is a very important topic! I have spent time thinking about designing in away to avoid vendor lock-in but my thoughts are not fully flushed out. Once I have a mature opinion on this topic I'll make a video comparing the pros and cons
@@backpine I'm more or less on the same boat. For me very roughly it means being able to run in parallel / load balanced with self-hosted instances. It's less abstract if you're going with an existing service and building replacement workers/functions via CW platform + setting up replication for the stateful data. But for starting from scratch on CW platform side it might be more abstract with more pitfalls depending on the features used. Nonetheless, eventually I'll get around to it since I think this will be great to have for handling excess load / serve as backup. Would be interesting to see if it's viable to use single VPS + CW platform to get high availability + scalability as an alternative to multiple VPS & kubernetes / other container orchestration.
Cloudflare got me pretty excited with some of their more novel stuff, durable objects is hella cool for being able to deploy small stateful websocket based room games.
@@backpine They are absolutely lit. Have you checked out PartyKit? one of the devs at CloudFlare created a framework to make working with durable a little easier. I've build a couple of simple games with it and it's been great. You're analysis about the binding and passing of env vars tho is totally valid, I wish it would populate the process.env rather than a context parameter passed with the request. Also as others have pointed out I'd be a little scared of their predatory sales team. No problem for me just doing lil side projects. But from what I've seen the step between just paid usage and being strong armed into a contract is a little alarming.
I thought you had way more subs and only realized 10 mins in! Gained 1 more here. S-Tier content Never considered cloudflare before but this is on heck of a sales pitch
@@michaelewen5498 They are aware that they did a big mistake regarding how they dealt with the casino website, I don't think this is going to happen again...
@@NaourassDerouichi to be totally frank I have no idea if Cloudflare will do that again. But if I had a product that was doing serious business with serious traffic it would still be a concern for me. For side products, small SasS apps, and midsize businesses that don't have insane traffic I think CF compute is still awesome.
Cloudfront seems great! Would be nice if you shared your exploration on DO, GCP, etc. Just so viewers can compare themself. Especially given that you can't write non-ts code like golang, etc
This was a really great tutorial. @cloudflare should 100% sponser him. I do use cloudflared for routing requests to my office network on a raspberry pi.
I've seen a few videos of people tunneling traffic to their local network with CF. Seems very interesting, especially if you have AI workflows running on your own box. It's super cool to be able to access your workflows remotely.
You've built an app. CF slaps you with a bill and asks you to join their Enterprise plan and you're so vendor locked-in that you can't do anything but pay cloudflare more than your app is making.
bro you are awesome, it would be amazing to see how you are effectively shipping a full stack app with these services! looking forward for the CF tuts serie!
Remember kids, nothing in life is ever free. Everything has costs - whether in the form of switching costs, your data, your privacy or a host of other means.
I'd love to have this same analysis for popular frameworks: 1. Go/Rust/FastAPI/Django + React/Vue 2. Springboot 3. Monolyths 3. Ruby on Rails 4. Laravel 5. React Native/Flutter/Expo (stuff used for cross functional app development) That being said, you just earned a subscriber, tysm :)
Love the idea! It's unlikely that Rails, Spring, Laravel and Django will be able to ship to Cloudflare considering the V8 runtime. But it would be interesting to see what you can do on cloudflare outside the JS ecosystem.
@@backpine Oh right, I didn't mean in Cloudflare but rather which tools/platforms/companies you'd pick for those frameworks. Regardless, very convinced to pick Cloudflare for my next JS/TS project hahaha
@@PieXD124 ah got you! There's so many topics I'd like to cover. Time is really my biggest constraint. I'll likely eventually get to some of the frameworks you mentioned. I've actually never worked with Laravel but really want to get some exposure
Thanks! I'm making video about the deployment process, then I am going to focus on solving real word problems with code the runs on Cloudflare. I want to illustrate real uses cases for Queues, Durable Objects with websocks and Worker workflows while using R2, D1 and KV. After the Cloudflare series I am thinking about doing a series on dev marketplaces that could become viable small software products (depending on if people are interested or not)
Great first video! Would love to see a vercel vs cloudflare esp. with respect to hosting next.js. Give what you have said so far I don't see a reason to use vercel?
Vercel is the ultimate home for Next projects and the dev experience is really good for shipping next services. You will never feel like you are fighting the platform when using vercel. I only use the basic features of Next by taking advantage of SSR and server side data fetching, and have only had a positive experience deploying to Cloudflare. I have heard of people having issues with the more advance features of Next when deploying to platforms other than Vercel. As I stumble upon the tradeoffs I will be sure to document those. I love the combo of SvelteKit, Hono, and Queues on Cloudflare. I think it is really hard to beat this stack!
I really like your video style! It might be even better if you added some videos in the background instead of just the black background and logo when you’re speaking. Just a thought!
What a great video! Personally i prefer to build and deploy on a vps with docker or k8s because i don't want to depend on providers as they become really expensive when you have more traffic, especially vercel but for a serverless app in js or high level languages, cloudflare seem to fit very well. Have you tried to build fullstack apps with htmx (or just templ) and golang ? I always wanted to tried this stack. Anyway thanks for the advice
Thanks for the comment! I also personally favor deploying to a VPS with docker. I actually built an AI language study tool with the stack you mentioned (HTMX, Go with Fiber and templ, shipped with docker to a VPS on digital ocean). It's a very fun stack to work with and I especially love working with Go. But when building apps that are more interactive on the client side I like working with SveltKit deployed to Cloudflare. I actually want to make a video weighing the cost of shipping a production app (with a database, object storage, and a monitoring system) to a series of VPS instances vs Cloudflare workers. My rough estimate is that your app needs to receive *80,000,000 monthly requests for it to be more cost effective on k8s compared to Cloudflare workers. When working with k8s what cloud provider do you prefer?
@@backpine With k8s i don't have much experience but i'm actually deploying on OVH (because i needed huge GPU instances for ai stuff and they seem to have great pricing on them), few years ago their ui/ux was terrible and badly worst than aws but now its really nice. I've deployed many times on digital ocean with their $200 credits without docker and it was great, but a long time ago. 80,000,000 requests monthly seems a lot but, if i'm not wrong it is ~31rps if your traffic is the same 24/24, which is not that much .. Also this kind of video seem really interesting, i'll be watching it on release. I'm not a big frontend fan but i really enjoy working with sveltekit aswell. Hope more people will enjoy your channel!
@@4lxprime730 I have not heard of the 31rps cap, and cannot find anything of the sort online? If you come across documentation with that limit can you let me know? I know the free tier of workers has a burst limit of 1000 requests a minute (which is not a lot). But if you handling that type of traffic you'd need to upgrade to the $5 a month tier anyways. I have never heard of OVH, so I will have to take a look. Have you considered Replicate for your AI compute? They have a pay-for-usage model that seems very enticing if you want to get an AI project off the ground without renting a massive GPU instance with a fixed monthly cost
@@backpine would love a video on your vps setup/best practice, especially with databases. i'm struggling with working out what my best db option is if i'm self hosting (currently on hetzner, but thinking of going back to DO for the managed DBs)
great video, i just found one thing a bit odd the in-between audio animation where your logo shows and seemingly blinks to the voice phonetics; instead of it glowing up, can you make it different? i.e from fill --> outline --> fill currently it looks kinda weird
Thanks for the feedback! I'm pretty new to video editing and have a ton to learn. Editing this video too longer than I expected so I am hoping to optimize my video creation workflow while I get better at editing
Great video detailing all of cloudflares offering! Might be a huge task but would it be possible to show us a real world usage of hyperdrive and show us the benefit in terms of latency using a single region database? For a simple solution like Hyperdrive, it would help us developers self hosting our app in a VPS to easily globally distribute our app. Keep up the good work!
I want to do exactly this! I'm curious to see the impact of hyperdrives global coaching when handling requests at scale. Thanks for the suggestion!
22 дні тому
As a business decision, do not create a scenario where your whole company is depending on the services offered by one provider and their current pricing for said service.
@@chandlergreff3113 I think it is less about keywords and more about loras. You can get set up with the stable diffusion UI on your local machine (tons of youtube videos on how to get started with this). Then go try out a bunch of logo loras found on civitai. Usually loras have documentation around what key words work well. I don't remember the specific lora I used for this logo as I tried dozens and had hundreds of logos to choose from There is also a tool called logodiffusion that implements the what I mentioned above but it costs money (:
I'm still learning about cloudflare, wouldn't it make sense to utilise their workflow product to persist state for the api route between the function calls in the process-transcript endpoint where you added the queue?
You are absolutely right! Workflows came out a week after releasing this video. They are still in beta, but they unlock a bunch of options when building more complex services
@@backpine Yes indeed. Hope you keep producing HQ cloudflare related videos, there's a big asymmetry in their product offerings and usage case studies. They should be paying you for dev rel!
i am glad to comment on the 1st video of this chanel . i was learning nextjs but when i saw hobby plan does not offer payment gateway implementation i thought i will not depend on vercel ecosystem. thanks to your video. one problem i have is i am from Bnagladesh and stipe,paypal is not available here. need to find a payment gateway
Thanks for the comment! If you are just getting started you can also look to SvelteKit as a replacement to Next. It is much easier to deploy SvelteKit apps to different providers. I wish I cloud offer advice about alternative payment gateways, but I have only ever used Stripe and Braintree.. I have no idea about the process of setting up these accounts outside the US /:
Really appreciate it! I did not expect my first video about Cloudflare to get more than 1k views. Seems that other people are interested in the subject as well!
It will probably enshtify one day, I think Cloudflare is trying to expand their business from ddos protection to actual backend hosting infrastructure, that’s probably why they give good deals now… But it might stay like this for a few years though, idk, so get it while you can! Or maybe the expensive part will stay being only for people who need enterprise features, who knows
At the end of the day I think the compute services will just make their product more sticky for developers. Something I didn't mention in the video is that Cloudflare wants you to assign a domain name to the services you build (if the service is external facing). To do so you need to add your domain to Cloudflare. You can do this for free, but once you build a product that is making good money it would be wise to upgrade to the business plan. When you are on the business plan your compute prices stay the same, but you'll naturally start reaching for Cloudflares security features. I could see myself building a business on the back of Cloudflare as it is so easy to get started. Assuming I continue have a good experience on the platform i'd eventually end up as an enterprise customer. So as a long term play this seems like a good strategy for Cloudflare.
Correction: R2 Object storage does have a free tier (as shown in the video) but it requires a credit card get started. All the other worker features shown in the free section of this video do not require a credit card.
wonder why
Also, I don't know where to get a Postgres for free, I only see D1 for free.. Even in the documentation their sample connection string points to Neon for postgres
Hyperdrive is available only in Paid plans. I really hope it also become available in Free tier
@@okage_So they can charge you instantly after you reach the free usage limit (Better wording is those are free usage instead of free tier)
bro is edging his credit card
😂
😂
😂
Bro gooning on it
holy shit my man came out of nowhere with S-tier content
My thoughts exactly wow
i totally agree but can't put my finger on why exactly. what do you like most about it?
Appreciate you all
Cloudflare should totally sponsor you. The sales pitch so good I almost wanna completely move to it 🤣
Appreciate the comment! The next small project you start give it a shot and see how you like it before moving over. It is easiest to start from scratch on cloudflare. There is a bit of a learning curve to migrate existing apps to cloudflare. I am hoping to document some of my learning on this channel!
@@backpine if im forking other peoples nextjs projects and they are are not using cloudflare, what changes would i need to make?
We need more Cloudflare tutorials 🙌
Any specific frameworks you want a tutorial for?
@backpine I think breaking this down into individual videos would get great responses. For example: 1. Setting up CI/CD with Next.js and Cloudflare. 2. Implementing an API gateway across your APIs with Next.js and Cloudflare. etc etc
I'd personally love more detailed content on these topics. It seems like people are really searching for these solutions, especially with Vercel’s recent price hikes.
@@backpine hono and workers with auth
@@backpine remix please!
@@backpinedo next js since it is on a peak rn.
In just over 10 minutes you’ve helped me understand more about Cloudflare than hours of research
Glad to hear! My goal was to illustrate how you can use Cloudflare end-to-end during the development cycle. Future videos will be more specific
@@backpine fantastic work!!
Very good video, keep up the good work.
I would like to add, that once a project on cloudflare gets big enough, there is the chance that cloudflare will hold your project hostage until you upgrade to the enterprise tier. Even if your project was running fine on a different tier. Combined with the vendor lock-in, this can be quite bad. And this has happened before with many other companies, so is something to keep in mind.
But if your project stays quite small, this should not be a problem you'll run into.
Thank you!
This is indeed in the back of my mind as I use Cloudflare. This is how I think about it:
1. When I build solutions for big companies with a large existing user base I will ship to AWS or another mainstream provider. There is really no debate here.
2. If I am building products for small/medium companies that will likely never need to scale or hit a large user base I'd consider Cloudflare and I would have them purchase the proper tier for their traffic.
3. When I ship side projects, I am currently using cloudflare. I got tiered of paying for several dozen VPS and a load balancer for projects that don't make much money. If one day I strike lighting in a bottle and one of my projects gets a lot of traction I'd either become a CF enterprise user (which would make sense) or start the migration process. To me the hard part is not the migration or ponying up money to a vendor like cloudflare. The hard part is actually finding and building something that people want
I might be wrong here, but I think it is safe for other indie hackers to take the same approach as me
Is it real 615 subscribers only and quality of videos above the creators having millions subscribers
Keep growing!!!
Zero subscribers 3 days ago lol.I was not expecting this video to resonate with so many people! Thanks for your comment!
@@backpineit is crazy that you are now at 1.63 K subs in 4 days. Keep up the good work.
I am interested in building a web app using cursor and deploying it to web domain without too much hassle. I have not done web development for a long time, so it is going to be a learning curve
Yt recommended this video to me, great qualty I hope you will keep posting.
Thank you! More to come
Impressive. Integrating cloudflare has been a smooth experience, I just didn't realise there's more 😮
Dude, absolutely amazing video. The fast-paced walk through + code snippets are soooo so useful!
Best video I have seen all week! Absolutely amazing!
Thank you!
Exactly what I was looking for this week. Amazing how perfect timing this video hit!
I am surprised how many people this video resinated with. I guess many other devs have been having similar experiences to me in terming of trying to find the most suitable hosting provider!
bro is not pregnant, still delivered
😂
Should keep in mind that building on Cloudflare, while a great dev experience, can lead to vendor lock in just like the other platforms. VPS is still the best way to go to host in most situations imo.
Agreed, I also prefer this route for projects that already have significant traffic or are making good money. But if you go the VPS route you have to consider production readiness. Best practice is to spin up at least three VPS instances, stick them behind a load balancer, most likely put a proxy in front of the load balancer, build out your preferred CICD pipeline (coolify is nice), and set up robust external logging and monitoring system. When getting started on a small project these things should also be considered.
@@backpine
Hello your video was awesome thanks! Would you suggest me to spinup database to coolify(postgres) or use something like cloudflare D1? In best scenario i'm expecting to get 1000-2000 users. Im already using coolify to host My nextjs application.
I guess I was waiting for that video for the entire year to relieve myself that it is okay for me to launch my projects without hesitating. Waiting for more insights, keep up with that dude. You got a new follower
Glad to hear this video provided some motivation!
This format is so nice!!
Instantly subbed and liked. Would love to see a an entire series on the process & flow you covered here.
coming soon!
Until they pull the bait & switch
Great exposition video on CW platform! No BS, just describe then demonstrate the use case. A good topic to deep dive would be the design pattern for the ease-of-use vs mitigating vendor lock in.
This is a great suggestion as it is a very important topic! I have spent time thinking about designing in away to avoid vendor lock-in but my thoughts are not fully flushed out. Once I have a mature opinion on this topic I'll make a video comparing the pros and cons
@@backpine I'm more or less on the same boat. For me very roughly it means being able to run in parallel / load balanced with self-hosted instances. It's less abstract if you're going with an existing service and building replacement workers/functions via CW platform + setting up replication for the stateful data. But for starting from scratch on CW platform side it might be more abstract with more pitfalls depending on the features used.
Nonetheless, eventually I'll get around to it since I think this will be great to have for handling excess load / serve as backup. Would be interesting to see if it's viable to use single VPS + CW platform to get high availability + scalability as an alternative to multiple VPS & kubernetes / other container orchestration.
Impressive tutorial. It’s already on recommendation. Good job
Thank you!
From now on, I'll make sure to watch and like every video you post.
Appreciate you!
Literally one of the best videos I've seen on the topic! Instant subscribe!
Thank you!
I am building my SAAS, and that's exactly what i was looking for, thanks man
Good look shipping your idea!
I Tried to deploy my nextjs project but get lots of errors for nextjs
It's not compatible for nextjs app
Nice video. Can't wait to see the next one! 😉
Thank you!
very very underrated YT Channel.
The information sweetened with each passing minute!! 👍🏻
Cloudflare got me pretty excited with some of their more novel stuff, durable objects is hella cool for being able to deploy small stateful websocket based room games.
Durable objects are awesome and very few people know about it.
@@backpine They are absolutely lit. Have you checked out PartyKit? one of the devs at CloudFlare created a framework to make working with durable a little easier. I've build a couple of simple games with it and it's been great.
You're analysis about the binding and passing of env vars tho is totally valid, I wish it would populate the process.env rather than a context parameter passed with the request.
Also as others have pointed out I'd be a little scared of their predatory sales team. No problem for me just doing lil side projects. But from what I've seen the step between just paid usage and being strong armed into a contract is a little alarming.
What a hidden gem you are, subbed, keep on rocking!
Would love the series.
I thought you had way more subs and only realized 10 mins in! Gained 1 more here. S-Tier content
Never considered cloudflare before but this is on heck of a sales pitch
I appreciate you! I just created this channel a few days back and didn't expect this video to resinate with so many people!
Since my secret stack is no longer secret, Primagen needs to see this. Love the video, exceptional work (BTW).
Thank you!
He's done videos on their shady business tactics somewhat recently... He'd probably recommend that you jump ship
@@michaelewen5498 They are aware that they did a big mistake regarding how they dealt with the casino website, I don't think this is going to happen again...
@@NaourassDerouichi to be totally frank I have no idea if Cloudflare will do that again. But if I had a product that was doing serious business with serious traffic it would still be a concern for me.
For side products, small SasS apps, and midsize businesses that don't have insane traffic I think CF compute is still awesome.
Great video, that makes me want to look into Cloudflare more and try stuff with the free tier 👀
I'd like to see what you build!
Cloudfront seems great! Would be nice if you shared your exploration on DO, GCP, etc. Just so viewers can compare themself. Especially given that you can't write non-ts code like golang, etc
You just earned a subscriber bro🔥❤
Thank you!
hyper drive sounds like holy grail. gotta read the doc. good info. thanks a lot.
It does seem like a good product! I want to make a video load testing hyperdrive connected to CockroachDB for various locations around the world
This was a really great tutorial. @cloudflare should 100% sponser him.
I do use cloudflared for routing requests to my office network on a raspberry pi.
I've seen a few videos of people tunneling traffic to their local network with CF. Seems very interesting, especially if you have AI workflows running on your own box. It's super cool to be able to access your workflows remotely.
You've built an app. CF slaps you with a bill and asks you to join their Enterprise plan and you're so vendor locked-in that you can't do anything but pay cloudflare more than your app is making.
Great video. Love your style of presentation. I haven’t been commenting on youtube video but this video is amazing
Thank you!
Love the format, thanks man
Thank you!
bro you are awesome, it would be amazing to see how you are effectively shipping a full stack app with these services! looking forward for the CF tuts serie!
Thank you!
You've made your point. I can keep the credit card in my pocket. And fuck that animation of the logo, I can't properly focus my eyes to that.
Noted 😂
would like you to explain more cloudflare products, this is great!
Well done ! You gave an objective view!
Great video. Create some videos on simple cloudflare deployments. Thanks
In the works now!
Guys I think this video is AI generated because it's too convincing. Bro you're a legend
Lol I appreciate you! TBH I want to find a way to lever AI for the editing. It took like 20 hours to edit and the quality is still mid
Love this ❤ more on how to use cloudflare please 🙏
Wait till that 10k sales team shakedown comes
Excellent video 🔥 We need more videos on CF 😎
Thank you! More to come
Great content! Would you create an extended tutorial including coding for this project in the near future?
🎉 awesome explanation
#AlwaysHappyToHelp!
Remember kids, nothing in life is ever free. Everything has costs - whether in the form of switching costs, your data, your privacy or a host of other means.
Very important to consider.
Its not always like that generally on FOSS projects but yeah its one of the best thing people should know both online/real life
Can you this using php?😅
I'd love to have this same analysis for popular frameworks:
1. Go/Rust/FastAPI/Django + React/Vue
2. Springboot
3. Monolyths
3. Ruby on Rails
4. Laravel
5. React Native/Flutter/Expo (stuff used for cross functional app development)
That being said, you just earned a subscriber, tysm :)
Love the idea! It's unlikely that Rails, Spring, Laravel and Django will be able to ship to Cloudflare considering the V8 runtime. But it would be interesting to see what you can do on cloudflare outside the JS ecosystem.
@@backpine Oh right, I didn't mean in Cloudflare but rather which tools/platforms/companies you'd pick for those frameworks. Regardless, very convinced to pick Cloudflare for my next JS/TS project hahaha
@@PieXD124 ah got you! There's so many topics I'd like to cover. Time is really my biggest constraint.
I'll likely eventually get to some of the frameworks you mentioned. I've actually never worked with Laravel but really want to get some exposure
self-hosting is king
Great video! What are you planning to make next?
Thanks! I'm making video about the deployment process, then I am going to focus on solving real word problems with code the runs on Cloudflare. I want to illustrate real uses cases for Queues, Durable Objects with websocks and Worker workflows while using R2, D1 and KV.
After the Cloudflare series I am thinking about doing a series on dev marketplaces that could become viable small software products (depending on if people are interested or not)
@@backpine I'll be looking forward to those
make a long dedicated video for walkthrough and building of this project and deployement, please.
Great first video! Would love to see a vercel vs cloudflare esp. with respect to hosting next.js. Give what you have said so far I don't see a reason to use vercel?
Vercel is the ultimate home for Next projects and the dev experience is really good for shipping next services. You will never feel like you are fighting the platform when using vercel.
I only use the basic features of Next by taking advantage of SSR and server side data fetching, and have only had a positive experience deploying to Cloudflare. I have heard of people having issues with the more advance features of Next when deploying to platforms other than Vercel. As I stumble upon the tradeoffs I will be sure to document those.
I love the combo of SvelteKit, Hono, and Queues on Cloudflare. I think it is really hard to beat this stack!
Really nice video, subbed
Thank you!
Would like to see the Golang to WebASM demoed with this
I also want to go through the process just for learning purposes
I really like your video style! It might be even better if you added some videos in the background instead of just the black background and logo when you’re speaking. Just a thought!
Thanks for the feedback! I am new to video editing and it is harder than expected (: Hoping the quality improves in the near future!
Waiting for the tutorial 😊
What a great video! Personally i prefer to build and deploy on a vps with docker or k8s because i don't want to depend on providers as they become really expensive when you have more traffic, especially vercel but for a serverless app in js or high level languages, cloudflare seem to fit very well. Have you tried to build fullstack apps with htmx (or just templ) and golang ? I always wanted to tried this stack. Anyway thanks for the advice
Thanks for the comment! I also personally favor deploying to a VPS with docker. I actually built an AI language study tool with the stack you mentioned (HTMX, Go with Fiber and templ, shipped with docker to a VPS on digital ocean). It's a very fun stack to work with and I especially love working with Go.
But when building apps that are more interactive on the client side I like working with SveltKit deployed to Cloudflare.
I actually want to make a video weighing the cost of shipping a production app (with a database, object storage, and a monitoring system) to a series of VPS instances vs Cloudflare workers. My rough estimate is that your app needs to receive *80,000,000 monthly requests for it to be more cost effective on k8s compared to Cloudflare workers.
When working with k8s what cloud provider do you prefer?
@@backpine With k8s i don't have much experience but i'm actually deploying on OVH (because i needed huge GPU instances for ai stuff and they seem to have great pricing on them), few years ago their ui/ux was terrible and badly worst than aws but now its really nice. I've deployed many times on digital ocean with their $200 credits without docker and it was great, but a long time ago.
80,000,000 requests monthly seems a lot but, if i'm not wrong it is ~31rps if your traffic is the same 24/24, which is not that much .. Also this kind of video seem really interesting, i'll be watching it on release.
I'm not a big frontend fan but i really enjoy working with sveltekit aswell.
Hope more people will enjoy your channel!
@@4lxprime730 I have not heard of the 31rps cap, and cannot find anything of the sort online? If you come across documentation with that limit can you let me know? I know the free tier of workers has a burst limit of 1000 requests a minute (which is not a lot). But if you handling that type of traffic you'd need to upgrade to the $5 a month tier anyways.
I have never heard of OVH, so I will have to take a look. Have you considered Replicate for your AI compute? They have a pay-for-usage model that seems very enticing if you want to get an AI project off the ground without renting a massive GPU instance with a fixed monthly cost
@@backpine would love a video on your vps setup/best practice, especially with databases. i'm struggling with working out what my best db option is if i'm self hosting (currently on hetzner, but thinking of going back to DO for the managed DBs)
@@nickwoodward819 EdgeDB is the way now
great video,
i just found one thing a bit odd
the in-between audio animation where your logo shows and seemingly blinks
to the voice phonetics; instead of it glowing up, can you make it different? i.e
from fill --> outline --> fill
currently it looks kinda weird
Thanks for the feedback! I'm pretty new to video editing and have a ton to learn. Editing this video too longer than I expected so I am hoping to optimize my video creation workflow while I get better at editing
Vercel is ass and very expensive
so now we can deploy our dynamic Next js project in Cloudflare instead of using vercel?
great content, i've subscribed!
Thank you!
Great video detailing all of cloudflares offering!
Might be a huge task but would it be possible to show us a real world usage of hyperdrive and show us the benefit in terms of latency using a single region database? For a simple solution like Hyperdrive, it would help us developers self hosting our app in a VPS to easily globally distribute our app.
Keep up the good work!
I want to do exactly this!
I'm curious to see the impact of hyperdrives global coaching when handling requests at scale.
Thanks for the suggestion!
As a business decision, do not create a scenario where your whole company is depending on the services offered by one provider and their current pricing for said service.
love you video. Thank you for sharing.
Thank you!
Nice video. Looks like you’re using hono?
Would love to see you demo tanstack router and later when it enters into beta soon, tanstack start
Yes, I heavily use Hono! The creator of the Tanstack is actually from my hometown (: I'll keep this in mind
Nice subbed for the future content
Thank you!
Cool sales pitch
Heroku when it was free tier was personal 😂😂
😂
Damn, and that's free tier, I'm about to fall into NSA's vendor lock in😭🙏
😂
Great channel 👏
Thank you!
Great video! ❤
thank you!
did you commission your logo? It looks very nice!
Thank you! I spent an hour playing with stable diffusion to create it. It's nuts what stable diffusion is capable of with open source loras
@@backpine Really? I never considered it for logo designs. Do you think you could give me keywords I cloud use?
@@chandlergreff3113 I think it is less about keywords and more about loras. You can get set up with the stable diffusion UI on your local machine (tons of youtube videos on how to get started with this). Then go try out a bunch of logo loras found on civitai. Usually loras have documentation around what key words work well. I don't remember the specific lora I used for this logo as I tried dozens and had hundreds of logos to choose from
There is also a tool called logodiffusion that implements the what I mentioned above but it costs money (:
@@backpine thanks I'll have a deeper look into those
Great video man
thank you!
Thanks for useful content❤
godlike video bro, thank you so much 🔥
Thank you!!
I'm still learning about cloudflare, wouldn't it make sense to utilise their workflow product to persist state for the api route between the function calls in the process-transcript endpoint where you added the queue?
You are absolutely right! Workflows came out a week after releasing this video. They are still in beta, but they unlock a bunch of options when building more complex services
@@backpine Yes indeed. Hope you keep producing HQ cloudflare related videos, there's a big asymmetry in their product offerings and usage case studies. They should be paying you for dev rel!
Also Cloudflare R2 Storage is bangers / buck right now.
It really is!
i am glad to comment on the 1st video of this chanel . i was learning nextjs but when i saw hobby plan does not offer payment gateway implementation i thought i will not depend on vercel ecosystem. thanks to your video. one problem i have is i am from Bnagladesh and stipe,paypal is not available here. need to find a payment gateway
Thanks for the comment! If you are just getting started you can also look to SvelteKit as a replacement to Next. It is much easier to deploy SvelteKit apps to different providers. I wish I cloud offer advice about alternative payment gateways, but I have only ever used Stripe and Braintree.. I have no idea about the process of setting up these accounts outside the US /:
awesome tips, i hope you'll be able to test python too!
I need to find the time! Curious to see what the DX is like for python!
would love to see you build something with the sveltekit template
This is in the plans!
great video
Thank you!
very helpful video, thanks!
Thank you!
More please :)
This is great thanks so much
Thank you!
You are insanely underrated, it's only a matter of time. Keep it up! 🙌
Really appreciate it! I did not expect my first video about Cloudflare to get more than 1k views. Seems that other people are interested in the subject as well!
What's up with the interlacing in the video? Artistic choice, or video export mishap?
Mishap. Just an extreme lack of experience making videos on my part lol
Good video! keep making more :)
Thank you!
Woah man fire content ngl
Wow, crazy vid
Thank you!
What language do u use to code your backend? And how do you host it in cloudflare?
If I am deploying to cloudflare, all my backend services are written in Typescript. You can deploy TS services to Cloudflare workers or pages
very nice video, keep going
Thank you!
What?! first video and this level of detail and quality? mf'er
Thanks!
It will probably enshtify one day, I think Cloudflare is trying to expand their business from ddos protection to actual backend hosting infrastructure, that’s probably why they give good deals now…
But it might stay like this for a few years though, idk, so get it while you can!
Or maybe the expensive part will stay being only for people who need enterprise features, who knows
At the end of the day I think the compute services will just make their product more sticky for developers. Something I didn't mention in the video is that Cloudflare wants you to assign a domain name to the services you build (if the service is external facing). To do so you need to add your domain to Cloudflare. You can do this for free, but once you build a product that is making good money it would be wise to upgrade to the business plan.
When you are on the business plan your compute prices stay the same, but you'll naturally start reaching for Cloudflares security features.
I could see myself building a business on the back of Cloudflare as it is so easy to get started. Assuming I continue have a good experience on the platform i'd eventually end up as an enterprise customer. So as a long term play this seems like a good strategy for Cloudflare.