This video was a perfect opportunity to plug affiliate links everywhere, but you didn't. Glad to see your focus is on providing value rather than making quick bucks off of shilling.
And I'm really sad to see your comment. It doesn't cost you / trick on you if anyone provides any affiliate link. It just helps the creator. Because if someone is working hard for making content for you, He/she has the right to earn for what he does. But RUclips definitely doesn't pay that much. So, people use affiliate links and they must. :-)
I had a 1/2 Gb of data I uploaded some years back in S3 bucket -AWS I cannot delete it. I owe like 1,200 dollars in total that last I checked. I was forgiven the debt twice in to separate transactions of avg of like 600 usd each. To this day I still can’t delete the data backup. Yeah. This is what happened when I tried to set up a Minecraft server on AWS ec2 with s3 storage for a backup.
You have no idea how much i relate to you, but mine is worse... Since my currency is WAY cheaper than dollar and my purchasing power waayy lower than 1st world contry... when got billed... it was like a kidney to pay it out..
I dont understand you guys at all. AWS is actually one of the cheaper providers. The key is understanding how to set up the services for YOUR use case to save additional $$$. For example, using faragate vs ec2 and reserved instances vs spot.
0:51 Cloud providers (AWS, Azure, Google Cloud) 3:37 Cloud provider cons 4:45 Which cloud provider to choose? 5:27 Alternatives to cloud providers 6:12 Alternative #1: Hosting your database + backend 13:47 Alternative #2: Hosting your frontend 15:17 Alternative #3: Handling user-uploaded images
I know I'm late, but I've ALWAYS used DigitalOcean for my hosting. They also provide things like CDNs and databases as services too, but their base servers are really cheap. I've been running my private email server for at least a couple years now, and because of low traffic, I only spend five dollars a month, and I love it.
Amazon Lightsail was created specifically to solve this problem. It's an AWS service with predictable and transparent pricing and a simplified UI for launching instances with minimal configuration. The smallest instance is dirt cheap- a flat fee of $3.50/month for 512 MB and 20 GB storage. By comparison, Digital Ocean's cheapest droplet starts at $5.
I like that there is no sponsorship here, the video is much more genuine. And I was considering vultr but it seemed to good to be through, didn't expect to come across it here again, so I'll definitely look into that more.
Self hosting is pretty easy and you can do it using an old computer lying around at your home. It doesn't scale very well, but for small proofs of concept, it's the best bang for the buck.
Hey Ben! Great video! I agree what you said about hosting on these cloud platforms. It gets very complex and you are bound to the one you choose. I also find it more valuable to have a deeper knowledge in deploying projects, than an aws certificate. So your current setup is having your backend and server on digital ocean on one machine, using a cron work with dokku to backup your database every 24h and then the frontend on Netlify? It would also be cool to know how you would set up different staging envs. I hope I don't flood you with questions. I'm in the deployment stage and this is my first real time doing it! 🤠
If you need VPS in Europe, check scaleway.com, it's even cheaper and super reliable, I use it since 2 years, they are owned by the second biggest dedicated servers hoster in France
@@TheUmnez they certainly are cheaper than AWS so they are not the most expensive, for $5 and the amount of support should anything go wrong is extremely cheap. Not sure where you're getting them being the most expensive from?
For deployment, I can highly recommend Zeit's Now. You can deploy docker containers as services (e.g. databases, APIs, etc.) or just push the project as-is (and Zeit will make their own container, running on their servers). They also offer DNS service, and you can easily deploy services and point them the domain(s) to new builds (also usable with Pull Request "staging" environments). I control all my domains, services and DNS through their CLI which also offers a "local" development for setting up your services and running them as they would run in the cloud, before you deploy.
I thought you can't deploy docker containers to Zeit Now anymore? I'm not sure how that would work for deplying a database to Zeit, I believe the approach they recommend is to use a remote managed database and run the API/frontend on Zeit Now
@@Oxcorp Hey, you're right I totally forgot that Now 2 moved away from Docker. That's unfortunate. But I guess it makes sense when you look at their reasoning behind it; optimize deployment of apps with immutability -meaning that data can't be persisted. Thanks for clearing it up for me it totally went over my head. But I still do recommend it for static pages, serverless services etc. For databases I think Compose is quite good, but you can probably find something else for a lower price with more storage/better hardware.
I don't know if somebody answered your question about 2 last image cloud servces and I don't see problems of calculation (mb I am wrong but not) so 1 credit on first one for 1000 resize (lets not calc data transfer in this case) and for 89$ you get 225 credits and 1 credit = 1000 operations 89/225 = 0.39555 or 0.4 per 1000 ops and second one cost 3$ per the same amount but it's has cheaper data transfer only 3 cents but any way images has no more the 10 MB average size so in worth case if each image 10MB for you will spend 11 credits for (upload and resize image - and much more less to get cropped) ok here is the math first one service 11 credits per 1000 files with size 10mb = ~4.4 second one 3+0.3 = 3.3 which cheaper but with less avg size of image first one became more cheaper my English is very easy (sorry if something not understandable)
ok with 1MB average size of image first one just taken took 2 credits (~0.8$) for 1000 files to upload and resize (for download and serve not calculate because it's should be much the more less size of image) second one the same $3.3, so first one depends from images avg size (cheap operations, expensive transfer), the second one from a number of files (expensive operations, cheap transfer), I am finished lol
"Had a weird sore throat problem..." This video was posted on Jay Z's birthday, on December 4th. Coronavirus only hit 4 months later. The last United States president was the 44th. Jay Z's latest solo album was 4:44. Ben is in the Illuminati. He was dropping hints the whole time.
Ben, can you make a video to show practically, how to deploy & manage a project Backend/Frontend/DB/Images, between all this services Usually I choose a hosting plan to host it all in one place
Great comparing of VPS and hosts! Did not know about imgix previously. I may consider switching to it from Cloudinary for my currently ongoing project. I only need it to server avatars to end users in two dimensions (not much of transformations, not much of bandwidths) but, am expecting to have a lot of users in future. Thus, hosing images on Google storage and and serving 'em through imgix might be cheaper optimistically doing the calculation. Anyway, will do more in-depth analysis and see. Thank you, Ben for all!
I find the mLab free tier really useful when I'm at the very beginning of a development. I can have a development database up and running really quick this way.
Some useful information. Currently, my method is to rent a low end VPS for under $20 pm upon which I load virtualmin control panel (free) and host my domains. I've used typeform (free tier) for some of my forms but found they do not convert well, so currently I'm using an EcWid store to sell my digital goods, which is much better at converting.
Only thing I think you could have mentioned is how some of the VPS providers will provide "shared hosting" and "dedicated VPS", which at first sounds strange as opposed to just renting a dedicated box. The providers can also be sneaky about disclosing this information and will hide it in fine print sometimes. However, the differences come down to the sharing of compute resources between virtual machines on the host. Some hosting providers will 'allocate' your box a certain amount of ram or CPU cores, but can also share these resources with other virtual machines on the host. This type shared hosting can be a huge downside if you are allocated a machine on a host where the other users are maxing out the hosts resources. One example of this is the contabo hosting service provider where they offer two different services being shared and a dedicated VPS. Other than that, good video! Very good insights into hosting options.
Yeah. Serving image assets and having dynamic sizing of it is a bit of a headache to setup. I also haven't had much luck for setting up myself performance-wise. Cloudinary does have a good offer. But as Ben said, the threshold will keep you awake at night and the price could scale without you knowing why.
Been using SSDNodes for quite a while now. Switched to European Data centre recently and I’m quite happy with their service. Never needed their support though.
amount of effort it requires to set things up on AWS is not justifiable for small projects. If you want small projects, just get a shared hosting for 2-3 bucks a month and you will be happier. If you already know AWS or use it for living, then sure, its good.
Great video Ben. The only thing I would like to note is that you made it look like the big cloud companies (AWS, Google, Azure) don't have VPS. I know you know they do, but the wording and video structure infers that they don't because you only showed the managed services and not EC2, Compute Engine or Azure VM. Even if they are usually more expensive than other VPS like DO. About image resizing, I didn't use either service but Cloudinary pricing looks way better. If 1 credit = 1k transforms then you get up to 25k transforms for free. Where imgx you have to pay from $3 (1k) to $75 (25k). At least for images Cloudinary looks better.
Haha, here I was hoping there was something obviously better than AWS serverless free tier but I guess I'll stick to it for now. AWS Amplify CLI with cloudformation seems pretty nice after all, have you tried that Ben? I find the AWS Console pretty horrible but I've been using some guides that used it to get started.
Vultr for the win always, having used GCP and AWS, I cannot recommend another VPS service. The difference between them and others is their network speed has been unmatched, when setting up your OS
Would be interested in seeing you deploying a project to one of these services, setting up the front end, backend and database. Also would like to see the Cron job that backs up to aws.
Great stuff! Also checkout now.sh where you can host static websites: NextJS, React, Gatsby, PHP and pretty much more. Heck you can even build a cloud function (or lambda) that processes your images ala imgix/cloudinary there
@@bawad Also, something you could talk about in one of your videos are "nano vps" servers. They are the best option if you're using some high performance language. I got my 128mb one for £2.50 a year at i-83.net and i mange to run 20 rust services on it (mostly just apis).
Google Firebase (if you don't mind serverless) OR Google Fiebase for hosting SPA and Heroku for hosting backend. Completely FREE and doesn't require Credit Card.
Can you do a tutorial on the virtual machines you have set up to run and backup your apps? I’ve yet to come across this content and I think it’d be a both an original and useful video
i think editing your videos by adding some images of the service you are talking about or summerizing with some text on screen would make them even better. anyways thanks for the advice, i really enjoy listening to you
AMAZING man, this is one the most value added videos I've seen regarding cloud deployments. What would be a good option in order to host a Postgresql Database? thanks!
TBH, if you're on a budget, you don't care much about performance in detail. You care about the number of CPUs, memory and maybe storage and the price. Well, at least I do. So I went with Contabo. I haven't found anything better yet. 4 cores, 8GB RAM, 200GB SSD for 5EUR/month? Or if you want to be fancy 10cores, 60GB RAM, 1600GB SSD for 27EUR/month? That's a steal. I'm running 9 Java services, Frontend and a DB in 2 of the cheaper instances and it's perfectly fine.
Hey, watching this for what the video is, but off topic, im from Yucatan, Mexico and lebanese culture is strong here, due to a migration of lebanese people in the early 1900s, so kibbeh or kibis as they call them here, are a big thing man, so tasty and delicious. Anyways, thanks for the awesome content.
I use my old rassberry pie zero as a server it is a gift from my mother and it is running my portfolio for about 2 years and it served me well untill I got job
What about Firebase? It has a generous free tier and handles most everything on the same service, hosting, database, data storage, cloud functions. I don't know how quickly it becomes expensive, but using it is very enjoyable.
Hey, what about Firebase?! Or do you share this under Google Cloud... Google Cloud and Firebase are not the same, though they share some functionalities. Firebase is pretty easy to setup, for instance the authentication, almost frighteningly easy. And on the topic of resizing user uploaded images, they have a resize images extension for that, charging you just the underlying resources used within Firebase.
I view it in a similar light to a cloud provider they have a nice free tier, so if you can leverage that for a while it's great but once you start paying it's going to be more expensive
You're not wrong that AWS has a complicated dashboard. Avoid AWS for a free trial unless you really know what you're doing with it as the free trial has complicated limitations and they WILL end up charging you.
I say Google, it gives you like 200 dollars free usage of theirs services, my advise to buy a domain (not from google) and when the services end, you just take your stuff and move it to othe cloud provider.
What do you think of the serverless suite of products provided by every major cloud provider? They have serverless databases too but they are susceptible to extremely unpredictable costs because it's easy to have too many open connections.
hi, i have an android app. I have around 300 active users per day and a total user of around 1000+ so for hosting my server and MySQL database which VPS should be good and budget-friendly?
Hi Ben, Thanks for sharing such amazing explanation. Can I ask you your opinion about hosting on Heroku? I have few experience deploying on the cloud and I found that Heroku makes the deployment very easy and it has a free & hobby plan which in my opinion it's great for creating proof of concepts. Love your videos man, all the best. Regards, Max
Thanks for the video! You mentioned you tried to set up your own assets/image manager service. Did you use thumbor? If not how did you did it? How bad was the performance compared to imgix or cloudinary?
I considered it, but even serving a static image from nginx was too slow for my liking, so I figured resizing stuff through thumbor would make it even slower I didn't record any hard numbers
AWS is a complex solution though for really high scalability needs, there are some options they have for tiny projects but is not really their market I passed the certification exam and is definitely not easy
Actually if hosting your user generated images, and let’s say not needing any image transformation features Wouldn’t it be much easier to just put ‘em into your VPS alongside your back end and database? Just stick em in your /media/user_images folder? I wonder if it would be a bottleneck if there are too many image files? Wondering if anyone can shed some light 💡
Lmao I've never seen someone make small talk as an intro to a youtube video.
I liked it haha I wish it was more common.
@@RameshKumar-mv3jd
Maybe, but then please please introduce chapter markers xD
Yeah, mee too, I was like, wtf? Is he making an experiment? haha. :-)
Referencing turkey 😂
I loved it, feels like a friend :)
This video is extremely helpful! It answered all my questions: "Where to host API?", "Where to host frontend?", "Where to host db?". Thanks a lot Ben!
This video was a perfect opportunity to plug affiliate links everywhere, but you didn't. Glad to see your focus is on providing value rather than making quick bucks off of shilling.
This is the sort of thing that sets this channel apart you really can tell
I hope it stays this way.
And I'm really sad to see your comment. It doesn't cost you / trick on you if anyone provides any affiliate link. It just helps the creator. Because if someone is working hard for making content for you, He/she has the right to earn for what he does. But RUclips definitely doesn't pay that much. So, people use affiliate links and they must. :-)
What's wrong with getting money via affiliate links? He needs to eat too, you know? Why would he do everything for free?
@@davosonic60 Because he can do exactly what he teaches us to do and can make more money by practicing what he preaches.
i loved AWS until they sent me a bill.
f to our soldier
I had a 1/2 Gb of data I uploaded some years back in S3 bucket -AWS I cannot delete it. I owe like 1,200 dollars in total that last I checked. I was forgiven the debt twice in to separate transactions of avg of like 600 usd each.
To this day I still can’t delete the data backup.
Yeah. This is what happened when I tried to set up a Minecraft server on AWS ec2 with s3 storage for a backup.
You have no idea how much i relate to you, but mine is worse... Since my currency is WAY cheaper than dollar and my purchasing power waayy lower than 1st world contry... when got billed... it was like a kidney to pay it out..
@@matheuss7348 LOOOOOOL!
I dont understand you guys at all. AWS is actually one of the cheaper providers. The key is understanding how to set up the services for YOUR use case to save additional $$$. For example, using faragate vs ec2 and reserved instances vs spot.
this is incredible advice. thanks so much for laying down some real talk 🙇🏻
0:51 Cloud providers (AWS, Azure, Google Cloud)
3:37 Cloud provider cons
4:45 Which cloud provider to choose?
5:27 Alternatives to cloud providers
6:12 Alternative #1: Hosting your database + backend
13:47 Alternative #2: Hosting your frontend
15:17 Alternative #3: Handling user-uploaded images
Thanks!
I know I'm late, but I've ALWAYS used DigitalOcean for my hosting. They also provide things like CDNs and databases as services too, but their base servers are really cheap. I've been running my private email server for at least a couple years now, and because of low traffic, I only spend five dollars a month, and I love it.
First 30 seconds of this video had me imagining a delectable Thanksgiving meal -- not what I would expect from a software video, but extremely welcome
Amazon Lightsail was created specifically to solve this problem. It's an AWS service with predictable and transparent pricing and a simplified UI for launching instances with minimal configuration. The smallest instance is dirt cheap- a flat fee of $3.50/month for 512 MB and 20 GB storage. By comparison, Digital Ocean's cheapest droplet starts at $5.
Incroyable!
Thank you Ben, really like how you offer real value in your vids. Lebanese here too brother.
I like that there is no sponsorship here, the video is much more genuine. And I was considering vultr but it seemed to good to be through, didn't expect to come across it here again, so I'll definitely look into that more.
This is so helpful thanks! I am mostly a frontend dev and am wanting to start a backend project soon, didn't know about these options.
Awesome video!
I personally love netlify as well for static sites.
Dropping docker containers onto digital ocean has been really nice as well.
Self hosting is pretty easy and you can do it using an old computer lying around at your home. It doesn't scale very well, but for small proofs of concept, it's the best bang for the buck.
"Had a weird sore throat problem"
our boi got the rona first...
He was ronafied before everybody else
patient zero lol
@@chris2199 lol ya
Lmao this is so funny now looking back on it
Hey Ben!
Great video! I agree what you said about hosting on these cloud platforms. It gets very complex and you are bound to the one you choose. I also find it more valuable to have a deeper knowledge in deploying projects, than an aws certificate.
So your current setup is having your backend and server on digital ocean on one machine, using a cron work with dokku to backup your database every 24h and then the frontend on Netlify?
It would also be cool to know how you would set up different staging envs.
I hope I don't flood you with questions. I'm in the deployment stage and this is my first real time doing it! 🤠
yeah
I'm not using any staging envs right now, but I would treat it the same as "prod" just with a different url
Thank you so much! I have started my own full stack project and your advices helped me a lot!
Bro you are the king for this lol. I swear you can't find this information anywhere else
Your voice is so soothing, it made me sleep
I've been using DigitalOcean for ~3 years now, I found it to be cheap but effective.
For database what do you use?
If you need VPS in Europe, check scaleway.com, it's even cheaper and super reliable, I use it since 2 years, they are owned by the second biggest dedicated servers hoster in France
@@fictionstudios6876 I set them up in Digital Ocean as well, though my projects are never too big for that to be a corcern
It's literally the most expensive VPS provider.
@@TheUmnez they certainly are cheaper than AWS so they are not the most expensive, for $5 and the amount of support should anything go wrong is extremely cheap. Not sure where you're getting them being the most expensive from?
These type of videos are gold please make more of these
For deployment, I can highly recommend Zeit's Now. You can deploy docker containers as services (e.g. databases, APIs, etc.) or just push the project as-is (and Zeit will make their own container, running on their servers). They also offer DNS service, and you can easily deploy services and point them the domain(s) to new builds (also usable with Pull Request "staging" environments).
I control all my domains, services and DNS through their CLI which also offers a "local" development for setting up your services and running them as they would run in the cloud, before you deploy.
I thought you can't deploy docker containers to Zeit Now anymore? I'm not sure how that would work for deplying a database to Zeit, I believe the approach they recommend is to use a remote managed database and run the API/frontend on Zeit Now
@@Oxcorp Hey, you're right I totally forgot that Now 2 moved away from Docker. That's unfortunate. But I guess it makes sense when you look at their reasoning behind it; optimize deployment of apps with immutability -meaning that data can't be persisted.
Thanks for clearing it up for me it totally went over my head. But I still do recommend it for static pages, serverless services etc.
For databases I think Compose is quite good, but you can probably find something else for a lower price with more storage/better hardware.
very high quality content (as always!), thanks Ben!
I don't know if somebody answered your question about 2 last image cloud servces
and I don't see problems of calculation (mb I am wrong but not)
so 1 credit on first one for 1000 resize (lets not calc data transfer in this case)
and for 89$ you get 225 credits and 1 credit = 1000 operations
89/225 = 0.39555 or 0.4 per 1000 ops and second one cost 3$ per the same amount but it's has cheaper data transfer only 3 cents
but any way images has no more the 10 MB average size so in worth case if each image 10MB for you will spend 11 credits for (upload and resize image - and much more less to get cropped)
ok here is the math
first one service 11 credits per 1000 files with size 10mb = ~4.4
second one 3+0.3 = 3.3 which cheaper but with less avg size of image first one became more cheaper
my English is very easy (sorry if something not understandable)
ok with 1MB average size of image
first one just taken took 2 credits (~0.8$) for 1000 files to upload and resize (for download and serve not calculate because it's should be much the more less size of image)
second one the same $3.3, so first one depends from images avg size (cheap operations, expensive transfer), the second one from a number of files (expensive operations, cheap transfer), I am finished lol
I need a 2023 version of this
"Had a weird sore throat problem..."
This video was posted on Jay Z's birthday, on December 4th. Coronavirus only hit 4 months later. The last United States president was the 44th. Jay Z's latest solo album was 4:44. Ben is in the Illuminati. He was dropping hints the whole time.
lol
*x files music starts playing*
My birthday is dec 4th
Ben, can you make a video to show practically, how to deploy & manage a project
Backend/Frontend/DB/Images, between all this services
Usually I choose a hosting plan to host it all in one place
Here's how I deployed my Airbnb clone:
Dokku: ruclips.net/video/AdHwBKKQHZ4/видео.html
Netlify: ruclips.net/video/FiU3SHEaFwk/видео.html
Nhost / Hasura are pretty cool for managing all this stuff
@@bawad Can you do one for AWS and Google Cloud? Most of the jobs on the job market ask for that experience, that's why.
I came here for genuine advice and was surprised to see you as the first video. A sexy and helpful King
Great comparing of VPS and hosts! Did not know about imgix previously. I may consider switching to it from Cloudinary for my currently ongoing project. I only need it to server avatars to end users in two dimensions (not much of transformations, not much of bandwidths) but, am expecting to have a lot of users in future. Thus, hosing images on Google storage and and serving 'em through imgix might be cheaper optimistically doing the calculation. Anyway, will do more in-depth analysis and see. Thank you, Ben for all!
I'm just a newbie data analyst that has never touched cloud services before. No idea what I'm doing here. Great video!
Dang dude you say Kibbeh like an American. 😆
Edit: Also half Lebanese. Much love my dude.
No one:
The captions:
“I am half eleven knees”
@jakub korba "I am half iranese " -- voice to text machine is stupid, like any machine...
Absolutely valuable stuff, thanks for sharing your knowledge
Great video. Surely will be helpful for a lot of people. Really appreciate the unbiased review.
I find the mLab free tier really useful when I'm at the very beginning of a development. I can have a development database up and running really quick this way.
Great pieces of advice here. Thanks Ben.
Some useful information. Currently, my method is to rent a low end VPS for under $20 pm upon which I load virtualmin control panel (free) and host my domains. I've used typeform (free tier) for some of my forms but found they do not convert well, so currently I'm using an EcWid store to sell my digital goods, which is much better at converting.
Heroku is great and Linode is great AWS and Azure shines on bigger and more complex use cases such as very uneven loadspikes
Very informative and got to know some more options when deploying backend and database services 👍
Only thing I think you could have mentioned is how some of the VPS providers will provide "shared hosting" and "dedicated VPS", which at first sounds strange as opposed to just renting a dedicated box.
The providers can also be sneaky about disclosing this information and will hide it in fine print sometimes.
However, the differences come down to the sharing of compute resources between virtual machines on the host. Some hosting providers will 'allocate' your box a certain amount of ram or CPU cores, but can also share these resources with other virtual machines on the host. This type shared hosting can be a huge downside if you are allocated a machine on a host where the other users are maxing out the hosts resources.
One example of this is the contabo hosting service provider where they offer two different services being shared and a dedicated VPS.
Other than that, good video! Very good insights into hosting options.
I love Linode, which has great customer service.
Really good resource of knowledge young man. Thank you!
Would love to see an update to this video for 2021!
Yeah. Serving image assets and having dynamic sizing of it is a bit of a headache to setup. I also haven't had much luck for setting up myself performance-wise.
Cloudinary does have a good offer. But as Ben said, the threshold will keep you awake at night and the price could scale without you knowing why.
Been using SSDNodes for quite a while now. Switched to European Data centre recently and I’m quite happy with their service. Never needed their support though.
firebase as a simple and free tier "spark" and it's good for some demos
For storing images, I suggest using Digitalocean Storage.
amount of effort it requires to set things up on AWS is not justifiable for small projects. If you want small projects, just get a shared hosting for 2-3 bucks a month and you will be happier. If you already know AWS or use it for living, then sure, its good.
I found ImageKit as a really cool image handler. Thanks for the video.
I would like to thank you profusely for this!!
Great video Ben. The only thing I would like to note is that you made it look like the big cloud companies (AWS, Google, Azure) don't have VPS. I know you know they do, but the wording and video structure infers that they don't because you only showed the managed services and not EC2, Compute Engine or Azure VM. Even if they are usually more expensive than other VPS like DO.
About image resizing, I didn't use either service but Cloudinary pricing looks way better. If 1 credit = 1k transforms then you get up to 25k transforms for free. Where imgx you have to pay from $3 (1k) to $75 (25k). At least for images Cloudinary looks better.
This is actually REALLY GOOD advice.
Great video. I also like Firebase for FE development. It supports a database, storing images and hosting your website.
Hey Ben, love you’re videos! I’m from Israel ✌️&❤️
Haha, here I was hoping there was something obviously better than AWS serverless free tier but I guess I'll stick to it for now. AWS Amplify CLI with cloudformation seems pretty nice after all, have you tried that Ben? I find the AWS Console pretty horrible but I've been using some guides that used it to get started.
Vultr for the win always, having used GCP and AWS, I cannot recommend another VPS service. The difference between them and others is their network speed has been unmatched, when setting up your OS
Love your vids. Genuine and honest
Would be interested in seeing you deploying a project to one of these services, setting up the front end, backend and database. Also would like to see the Cron job that backs up to aws.
Dokku: ruclips.net/video/AdHwBKKQHZ4/видео.html
Netlify: ruclips.net/video/FiU3SHEaFwk/видео.html
Cron job is setup with postgres plugin github.com/dokku/dokku-postgres
Concerning imgix, minimum monthly payment is 10$ per month even if you should only pay 3$ ;)
Ben Awad is a Bob Ross of web development but better
youtube lacks such videos
Great stuff! Also checkout now.sh where you can host static websites: NextJS, React, Gatsby, PHP and pretty much more. Heck you can even build a cloud function (or lambda) that processes your images ala imgix/cloudinary there
This is a very nice, easy to use stack but if we're talking budget I think going serverless with a shared database is the cheapest way to go
why
@@bawad For most buisnesses paying per usage is just so much more cost-effective than paying per hour.
@@bawad Also, something you could talk about in one of your videos are "nano vps" servers. They are the best option if you're using some high performance language. I got my 128mb one for £2.50 a year at i-83.net and i mange to run 20 rust services on it (mostly just apis).
oh wow, that's pretty crazy
Google Firebase (if you don't mind serverless) OR Google Fiebase for hosting SPA and Heroku for hosting backend. Completely FREE and doesn't require Credit Card.
Can you do a tutorial on the virtual machines you have set up to run and backup your apps? I’ve yet to come across this content and I think it’d be a both an original and useful video
i think editing your videos by adding some images of the service you are talking about or summerizing with some text on screen would make them even better. anyways thanks for the advice, i really enjoy listening to you
I agree
AMAZING man, this is one the most value added videos I've seen regarding cloud deployments.
What would be a good option in order to host a Postgresql Database? thanks!
I like sticking it in a VPS, but if you want one that's hosted for you, checkout digital ocean's managed postgres
Fiar enough, maybe prod db could be managed and staging/dev might rely on VPS. Thanks!
TBH, if you're on a budget, you don't care much about performance in detail. You care about the number of CPUs, memory and maybe storage and the price. Well, at least I do. So I went with Contabo.
I haven't found anything better yet.
4 cores, 8GB RAM, 200GB SSD for 5EUR/month?
Or if you want to be fancy 10cores, 60GB RAM, 1600GB SSD for 27EUR/month? That's a steal.
I'm running 9 Java services, Frontend and a DB in 2 of the cheaper instances and it's perfectly fine.
The best VPS provider is OVH from France, it is powerful and more cheap. I'm not working there, i just hosted all my stuff there
Great job man, love these breakdowns.
This is really some great advice, thank you!
Personally using Hetzner Cloud. Doesn't have as much out of the box features like aws/digital ocean, but it's one third of the price.
Hey, watching this for what the video is, but off topic, im from Yucatan, Mexico and lebanese culture is strong here, due to a migration of lebanese people in the early 1900s, so kibbeh or kibis as they call them here, are a big thing man, so tasty and delicious. Anyways, thanks for the awesome content.
Vercel is a very nice alternative for Netlify
my bud works at a fortune 100 and he said software guys who know AWS are in very high demand for indefinite future
One of the reasons to start a serverless project was to avoid such kind of investigations.
great video - thanks!
What is your take on using Firebase in terms of cost?
I use my old rassberry pie zero as a server it is a gift from my mother and it is running my portfolio for about 2 years and it served me well untill I got job
What about Firebase? It has a generous free tier and handles most everything on the same service, hosting, database, data storage, cloud functions. I don't know how quickly it becomes expensive, but using it is very enjoyable.
Hey, what about Firebase?! Or do you share this under Google Cloud... Google Cloud and Firebase are not the same, though they share some functionalities. Firebase is pretty easy to setup, for instance the authentication, almost frighteningly easy. And on the topic of resizing user uploaded images, they have a resize images extension for that, charging you just the underlying resources used within Firebase.
I view it in a similar light to a cloud provider
they have a nice free tier, so if you can leverage that for a while it's great but once you start paying it's going to be more expensive
How doable would it be to get a linux pc and host everything from your house?
It would be pretty hard, you would have to forward port:80 and most isps ban hosting
You're not wrong that AWS has a complicated dashboard.
Avoid AWS for a free trial unless you really know what you're doing with it as the free trial has complicated limitations and they WILL end up charging you.
I left a server I thought was free running for a year.
Customer service dismissed my bill when I explained it via email.
I say Google, it gives you like 200 dollars free usage of theirs services, my advise to buy a domain (not from google) and when the services end, you just take your stuff and move it to othe cloud provider.
Great video, very helpful.Thank you very much!
Hi Ben! How do you manage the security?
Love your videos thanks for making them :)
What a great video, thanks you ❤️
Which is the most transparent service? AWS amplify tutorial does some things I don't understand and I don't like that.
i wonder why they include security in the mix of services. So do they not protect our privacy and the privacy of our data by default?
What do you think of the serverless suite of products provided by every major cloud provider? They have serverless databases too but they are susceptible to extremely unpredictable costs because it's easy to have too many open connections.
einaregilsson.com/serverless-15-percent-slower-and-eight-times-more-expensive/
hi, i have an android app. I have around 300 active users per day and a total user of around 1000+ so for hosting my server and MySQL database which VPS should be good and budget-friendly?
How can I know if my react app will be able to function in 100GB bandwidth on netlify or it would need more?
Digital Ocean managed databases is pretty cheap - 10GB for $15 and can create multiple databases on a single instance.
Yeah that's the one I would try first if I wanted to go with a managed db
For Europeans Hetzner and Contabo are really cheap alternatives to other popular ones
Also, Contabo has US locations now 😄
Hi Ben,
Thanks for sharing such amazing explanation.
Can I ask you your opinion about hosting on Heroku? I have few experience deploying on the cloud and I found that Heroku makes the deployment very easy and it has a free & hobby plan which in my opinion it's great for creating proof of concepts.
Love your videos man, all the best.
Regards,
Max
it charges man like crZy thats why I came here to I can take itof there and host it here
Thanks for the video! You mentioned you tried to set up your own assets/image manager service. Did you use thumbor? If not how did you did it? How bad was the performance compared to imgix or cloudinary?
I considered it, but even serving a static image from nginx was too slow for my liking, so I figured resizing stuff through thumbor would make it even slower
I didn't record any hard numbers
AWS is a complex solution though for really high scalability needs, there are some options they have for tiny projects but is not really their market
I passed the certification exam and is definitely not easy
Awesome video! Would definitely like more deployment videos
What would you use for messaging queues, long-running jobs, jobs/workers , consumers/producers that will work well with the JS stack?
github.com/OptimalBits/bull
Actually if hosting your user generated images, and let’s say not needing any image transformation features
Wouldn’t it be much easier to just put ‘em into your VPS alongside your back end and database?
Just stick em in your /media/user_images folder?
I wonder if it would be a bottleneck if there are too many image files? Wondering if anyone can shed some light 💡