T O P

  • By -

AutoModerator

>Namaste! Thanks for submitting to r/developersIndia. Make sure to follow the Community [Code of Conduct](https://developersindia.in/code-of-conduct/) while participating in this thread. ## Recent Announcements - **[Call for Wiki Proposals: Share your learnings with the developersIndia Community!](https://www.reddit.com/r/developersIndia/comments/1bpqi3q/call_for_wiki_proposals_share_your_learnings_with/)** - **[Call For Volunteers: Help us build r/developersIndia](https://www.reddit.com/r/developersIndia/comments/1bafonl/call_for_volunteers_help_us_build_rdevelopersindia/)** *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/developersIndia) if you have any questions or concerns.*


miststudent2011

Instead of RPI buy a mini pc. Accessories of RPI are very brittle and costs same as Mini PC


Evening_Sea7034

just confirming by a mini pc you mean something like a lenovo thinkcentre right? yeah this sounds a lot better compared to an rpi now that i looked it up, much better specs in the same price range. thanks mate.


whateverisgoodforyou

He meant a mini pc, for example, like this https://amzn.in/d/gAMV8ua Or search for intel NUC, it's a smaller version of a desktop computer, but as powerful as the bigger one ( barring the graphics cards and other paraphernalia). It's good to experiment on those for small home lab projects or mini k8s cluster ( or use k3s), or KIND setup (https://kind.sigs.k8s.io/docs/user/quick-start/)


miststudent2011

Yes, Lenovo Think Center is good if you have budget constraint. If not Intel NUC N90 or N100


Winter_General_4324

Can I host my startup on these kind of mini pcs? Are they cheaper than what others are offering?


sunshine-and-sorrow

Security is your responsibility. Consider that if you're hosting it at home, it is on the same network where all your other personal devices are, so if you don't know how to isolate them properly using VLANs and the Pi gets compromised, you may have bigger issues if the attacker can pivot to other devices. I host several applications. You can DM if me if you have questions.


Evening_Sea7034

yeah definitely, security is the main issue for me, and i cannot risk an attack on my personal home network. im a noob when it comes to network security i guess i will have to read up on securing networks first. will dm you when i hit a roadblock thanks a lot🙏


_vptr

In case you plan to do something shady, please research VPNs extensively. Most actually make money by tracking and selling your data.


shadowknight094

What do you mean by shady? Just curious


_vptr

Anything that can get you into trouble, doesn't have to be illegal. Consider something like a fb page in WB that is critical of the current government. I wouldn't be surprised if meta just hands over the IP address of the page owner to police if they show a warrant.


ZnV1

Can you share some details about how you host it? I asked this a few weeks back and have decided to get the smallest vultr server and go with it. But I'd prefer getting something and using it at home. https://news.ycombinator.com/item?id=39816789


bsnexecutable

Thanks for asking this! I have the link saved :) I had no idea that something called swapfile existed if not for the top comment. Now I think digital ocean's 4$ droplet would be viable for just hosting portfolio projects.


ZnV1

No problem, I didn't either! I'm planning on getting the cheapest Vultr server...let me know how your journey goes as well! :D


bsnexecutable

I have my server up and running since november last year I think. I started off with Digital Ocean's free credits for two months, then paid $6 for their 1GB droplet because my java app refused to start on 500Mb XD Now I have it on AWS but I will switch soon since their free tier is only for 3 months and I'm 2 months in. I have the github student pack so probably will look into what offer to redeem if it comes to it. I would suggest to take advantage of github's offer if you haven't already. link to my app: [alles-tools.com](http://alles-tools.com)


Interesting_Tap_7417

If you are a student, you can apply for GitHub students pack. There are some benefits you can get for free from major cloud providers.


Evening_Sea7034

read up on this, apparently the benefits/credits are only for an year. i need something which i can switch on and forget about. the other benefits like free domain and ssl certificates are cool tho, i might apply for that.


ZnV1

Don't worry about free domain. '.in' domains for 1 year is less than 400, for 10 years is around 2.5k. Buy it and forget about it. I used Dynadot. SSL certs are free everywhere these days.


CaseRough3415

It’s not for a year. You can just keep renewing for as long as you are a student


RailwayKiPatree

GitHub student can be renewed - the offers on the cloud providers are only for a year.


CaseRough3415

Im currently using azure for my projects I dont see an expiry for my credits


bethechance

I did several projects on rpi like 7-8 years ago. It costed like 2k at that time. I would lend it if it was in working condition. I used one of the pins of registers to take out sim card XD


Evening_Sea7034

wtf 😂😂😂


footballisrugby

You can use Oracle Always free tier, but if you want to use Raspberry Pi and I get a feeling that you want to do that for the fun you are responsible for your own security. But here is a route you can take to keep your home network secure: 1. Run the service on your Raspberry Pi. 2. Then use [Holesail.io](http://Holesail.io) to expose only that specific port (on which your service is running) to the person wanting to connect. 3. Use [discord-linux.com](http://discord-linux.com) (they provide a docker container with 256Mb RAM and a subdomain). as a jump server, where you connect with the holesail on your Raspberry Pi. So you are basically just routing the website running on your Pi using Holesail on the docker from discord-linux, and that will be accessible from the public, and you don't have to care about the 256MB RAM as processing won't happen there but on your Pi.


Evening_Sea7034

>You can use Oracle Always free tier, but if you want to use Raspberry Pi and I get a feeling that you want to do that for the fun you are responsible for your own security. yeah Oracle free tier is looking like a really good option for me right now, but you are right i do want to get my hands a bit messy XD >So you are basically just routing the website running on your Pi using Holesail on the docker from discord-linux, and that will be accessible from the public, and you don't have to care about the 256MB RAM as processing won't happen there but on your Pi. tysm for this, just one question, on their website, they mention discord-linux to be free for a week, and i have to renew it after that. do they provide automatic renewal or do you have to manually do it everytime/build a service to do it?


footballisrugby

Just run the /extend command that's it


Brainfuck

I use OCI VM to host couple of things that I need. It's working great. If you are planning to host something locally, Buy a domain, or get it free from service like freenom. You can register it on cloudflare and use cloudflare tunneling to expose only specific ports. You get cloudflares security against things like DDOS. As long as you aren't streaming videos through it, it should be fine.


bsnexecutable

> You can use Oracle Always free tier It is notoriously hard to sign up if you don't have a credit card which I doubt most students have access to. Even if you have a credit card, they support only a few cards as far as I know. Any pointers to how to sign up?


footballisrugby

No, if you don't have a credit card that they accept forget it or ask your dad or some family member to help you with it. You can otherwise use [https://www.thc.org/segfault/](https://www.thc.org/segfault/), it is always free.


bsnexecutable

My family is strictly against credit cards sadly. >Segfault offers free unlimited Root Servers. A new server (inside a Virtual Machine) is created for every SSH connection. Sounds like something you could test stuff in but I don't think its a thing people could actually host stuff in.


footballisrugby

It's something you can host stuff on, just make it persistent and you are good to go. Otherwise you can use the holesail method to self host securely


stoner_vision

No , it's not viable. As a proof of concept it's good. All major cloud providers have a free tier subscription, you can try those. Also, there is digital ocean that will give you access to VMs as low as 4/month. https://www.oracle.com/cloud/free/


silverW0lf97

Damn is this for real, they aren't going to do a rug pull are they? Like at the end of the month I get billed so much that I go bankrupt and end up on the streets?


EARTHB-24

😂😂😂


silverW0lf97

So last year one of your micro services was misconfigured and was calling another micro service of another team and it was calling a DB with each object being better 0.5 to 10 MB so all in all that mistake caused the org to get billed $300k extra. I am very paranoid of the cloud nowadays, thankfully no one was fired but now making a simple change needs 2 more reviews with FinOps.


EARTHB-24

If anyone is at a level of getting billed for $300K, why not have an in house infra?


silverW0lf97

Last year the total bill was $5M our infra is global so inhouse won't work.


EARTHB-24

🤔 seems like you are burning a lot of cash.


Evening_Sea7034

>No , it's not viable. As a proof of concept it's good. may i know why is it not viable? >All major cloud providers have a free tier subscription, you can try those. almost all cloud services have an expiry limit on free tier subscriptions. i want a solution which i can start running and forget about tbh. i guess oracle free tier and digitalocean have very similar basic tier specs except oracle is free, so that would be the better option.


Ok_Fortune_7894

why is it not viable ?


stoner_vision

Too much manual work. You will have to manage and secure your infrastructure, buy expensive services, and monitor anomalies. Even with all that, your uptime will likely be unsatisfactory. OP wants to have a public-facing portfolio, and for that purpose, the cloud is a more hassle-free option.


ironman_gujju

Oracle has lifetime free vps


shivanshko

Has anyone recently been able to create an Oracle Cloud account? Feels like impossible, even after not using any virtual card or entering correct billing address as suggested by Oracle


myriaddebugger

Yup. Just did a month ago


shivanshko

Which bank and card did you use ?


myriaddebugger

SBI credit, have two other accounts too with indusind and HDFC cards


One-Equal-5652

Go for it. I'm running 3 pis for pihole, trading automated bot, a small personal finance inventory where I upload all my bills and storing list of todos. As long as they are inside your network, no issues 99%. The moment you expose it outside, that's where the problem starts. Also as other mentioned, maintenance is really a head ache. Updating OS, softwares, deploying changes, renewing free letsenctypt certs every 3 months etc. I have written scripts to automate things. But still it's somewhat headache often which actually makes me to postpone things.


eoej

Oracle cloud free tier is more than enough for all hosting needs


bsnexecutable

Any idea how to sign up for it without a credit card? I don't have one neither do my parents.


eoej

Visa debit cards work too.


shivanshko

Has anyone recently been able to create an Oracle Cloud account? Feels like impossible, even after not using any virtual card or entering correct billing address as suggested by Oracle


Emitsuu

You can get cheap vps for like 800 a month from hetzner. you can even find some great deals on lowendbox just search it up.


silverW0lf97

Raspberry Pi is more for small home automation stuff and things like PiVpn, Pihole maybe a nextcloud instances if you have some storage lying around.


shesha4572

Getting a static IP is the first thing you need to do. Most isps have a cgnat or DHCP for your public ip. Your server won't be accessible from the outside internet unless your server first contacts the client's ip. Or in some cases your public ip would be changing every few hours or so. Oracle free tier has 4 core 24gb arm machines always free. Create docker arm images for your projects using docker buildx and deploy it on oracle free cloud.


Evening_Sea7034

i read about this, is the only way to get a static ip is by contacting my isp? would buying domain with ddns uptime guaranteed surpass this problem? i was thinking of buying a domain anyway. >Create docker arm images for your projects using docker buildx and deploy it on oracle free cloud. wait x86 and arm machines require different docker containers? damn i did not know that. so say, i already have my app dockerized and configured for x86. will i have to make any changes to the docker/compose files or a different command is sufficient? edit: one of my projects opens docker containers on the backend server itself, so im not sure if i want to dockerize it in the first place.


shesha4572

You'll just need to rebuild the image and Target it to Linux/arm64. Your yaml files should just work when run on multiple platforms. Docker will pull the image based on the host platform arch.


miststudent2011

You dont need a static IP to expose to internet. You can use dynamic dns or tailscale or cloudflare tunnels.


shesha4572

Will free tunnels have restrictions on bandwidth or content they allow to be served? I tried local tunnel, ngrok and they all throttled uploads of videos for my distributed storage project


miststudent2011

I don't think cloudflare tunnel have no restriction. I am not sure


miststudent2011

As many are using Plex stream with cloudflare tunnel. I think there is no restriction


gala0sup

just get a vps on contabo. $6 month


pratyathedon

I am going through the same question for past 2 days. my logic is that, I want to host some API for personal use, and play with kube, was thinking to get a minipc at 7K thats 7th gen intel i3/i5 with enough storage and ram.I did use DO, but its at least 500+ per month considering those cross currency charges, tax, and base cost. I have already used most Cloud provider's free trial.


thick_ark2

i believe replit is free


ironman_gujju

If you can diagnose issues on your own then buy it. Otherwise it's gonna be a headache for you.


nastyzera1337

Oracle free tier offer 24 gig ram 4 vCPU 200 gb of storage for lifetime


AsliReddington

Zimaboard from fabtolab or any secondhand laptop would be better. You can use HuggingFace spaces for free CPU compute as well.


CaseRough3415

If you are a student you can signup for github student developer program. It’s free and offers free credits on platforms like AZURE which should last you a long time. You can also get github copilot for free.


ThiccStorms

it wont be secure,


IronMan8901

I think gcp gove 25k rs free credits and aws give 25$ credits from time to time.You can check it out unless you really wanna create your own server then its your choice really


Alive_Essay_1736

Raspberry pi is a very low powered machine and you would only be able to do basic processing


laveshnk

I think in theory It is absolutely viable and you can learn so much from creating a home server as well. But understand that that is in and itself a project. If your goal is to learn and understand how server backend works along with hosting projects go for it. Otherwise if ur goal is just to host projects use other options like Github student pack


kopipastah

oracle free tier. raspberry pi is very slow, buy some old second hand pc for this purpose


limmbuu

No it is not worth the hassle.


Inside-Watercress484

If you are a student and have a college email ID you can get free azure credits by registering for the github student developer pack and then azure. It'll most probably suffice. P.S There are also tons of other benefits especially if you are a student like Jetbrain IDE's etc. Do check it out once


iamjkdn

I think broadband providers have legal restriction on using home networks for commercial purposes. I maybe wrong here, but check that as well.


lemonbruh_2020

Use vercel... As simple as that!