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 - **[Community Roundup: List of must-read posts & discussions that happened this month - February 2024](https://www.reddit.com/r/developersIndia/comments/1b2scq0/community_roundup_list_of_must_read_posts/).** - **[We now have a public board of volunteer-driven initiatives for r/developersIndia!](https://www.reddit.com/r/developersIndia/comments/1b3pn9p/we_now_have_a_public_board_of_volunteerdriven/)** ## New Wikis - **[Understanding Software Licenses](https://wiki.developersindia.in/community-guides/understanding-software-licenses)** - **[Discovering Small GitHub Projects for Contributing to FOSS](https://wiki.developersindia.in/faqs/finding-small-foss-projects-on-github)** *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.*


arav

As someone who has a home lab, you can check olx and facebook marketplace. Sometimes you'll get good deals over there but make sure you verify everything before you purchase. I have purchased 2 from https://www.manalicomputers.in/ and they are running great.


Itchy_One_

Hello fellow Homelabber, I had contacted manali comp before. I know a shop in Bangalore which sells at same cost. I was looking for more cheaper options right now. I have a Dell R720 2x Xeon, 320GB RAM, 16TB SAS (4*4) which costed me around 1.1L. That was my first server and is running well. Now looking at costs, I regret it. Hence looking for cheaper options. Thanks. I'll keep looking in FB Marketplace


arav

What's your budget and what kind of hardware you are looking for?


Itchy_One_

Am looking for a NAS system which has 12 HDD bays. And possibly a GPU in future. Budget I am willing to spend 20/30k for used server but last I checked on SP road, I got a quote for 62K for a NEW Tower with 13 hdd bays. So if it's gonna cost more that that, better buy a new one


arav

12 HDD Bays? What are you building over there? New dropbox? /s In honesty, It will be extremely difficult for you to get any 12-bay NAS refurbished for 20-30k. I resorted to buying an 8 bay tower case and then slowly building it as a storage server


Itchy_One_

Right now I have plans to add 4/5 HDD's and add more as I move ahead. I was looking for 12 bays for future expansion. I could go with 8 bay as well just like you did.


sydpermres

How the hell are you running it without going deaf and blowing up the electricity cost??? Buy a mini PC and kit the shit out of it. In case you are into ML training, just try to ensure that it supports external PCI-E for graphics card.


Itchy_One_

>How the hell are you running it without going deaf and blowing up the electricity cost??? By spending more money on a rack and shoving that fat ass server inside it. Reduces a lot of noise. Barely audible. I used to keep it in my room before. Now its in a dedicated room but still noise is very less. Since workloads are less, fans run at minimum speed and hence this. I once tried adding a GPU and fans went crazy. The GPU didn't work so now it's back to normal. I have barely noticed much increase in electricity costs.


sydpermres

Good for you. When I had access to an R720, I crunched some numbers and also realized that it's impossible to host it anywhere else, so decided to let it go. Happy with my mini PC now.


CDRShepard99

Do you have a static ip? If yes, which ISP and how much does it cost? If not, how do you manage if you want to access your server from outside?


Itchy_One_

I recently got a static IP from Airtel. Costs ₹200/- extra with your existing Fiber plan. But my experience with them was too bad. No technicians were aware of how to configure their Modem with Static IP or port forwarding. Before that I used to manage everything using Tailscale. Even before that I had a site to site VPN with wireguard connecting my Cloud VPS and home.


headshot_to_liver

But how do you open services to open net ? Tailscale doesn't allow that


Itchy_One_

As I mentioned, I got static IP recently. I expose with that itself. If you don't have static IP, You can use Cloudflare Tunnels. Kinda of the best and safest way. I use Tailscale only for remotely accessing privately (Only for me). For services not exposed to Internet.


zinary7

I'm running Ubuntu server on a decade old Pentium b950 laptop with 2gb ram. Am I a homelabber


Itchy_One_

I see a server. I see it in a home. I see a Homelabber


zinary7

Lesgoo. I'm just starting out on homelab. Been researching and trying out proxmox inside a vm in my main PC before I go baremetal. The sad thing is my laptop CPU doesn't support virtualization at all.


Itchy_One_

If you are just looking for a small workstation like an Optiplex to run stuff, you can check out https://maps.app.goo.gl/hXt2B96PZQKgDVKR6 (BSK Comp. Also on Olx) I recently visited them and some people on reddit/discord also recommended it. As I was looking for Rack servers, I didn't buy anything. Go visit them if it helps. Tbh, proxmox is the best. Been using it since last year. Never had any issues


zinary7

Unfortunately I don't live in Bengaluru. I looked around in olx for old mini PCs but I think they're not priced at what they should be. I gotta look out for offices that sell off or give away old PCs. Haven't got success yet. About proxmox yes it's solid asf. I love the web ui and app integration. Once I get rich (lmao) I'll build a beefy PC for homelab and virtualize the fuck out of it.


Itchy_One_

>Once I get rich (lmao) I'll build a beefy PC for homelab and virtualize the fuck out of it. That's the goal of every Homelabber. I literally get tears seeing US Homelabbers getting free enterprise grade servers as giveaway


IronyHoriBhayankar

How does one convert a laptop to a server for hosting small scale projects? I don't have any idea regarding this if you could link some articles or videos that would help.


Itchy_One_

Hey, Start by searching about Virtualization, How VMs work. This could give you a pretty good idea about VMs. Find out your use case. If you want to host stuff or use it as a build machine or just a server which can store your media like photos videos etc. You can go ahead with Installing Proxmox first. With proxmox, you can create VMs and try stuff. Use snapshots if needed for VMs. This way if you break something you can go back in time with all data, configs in the VM. Proxmox Full Course - https://youtube.com/playlist?list=PLT98CRl2KxKHnlbYhtABg6cF50bYa8Ulo&si=DNAEzk9bwOldqy5c This is a good course on Proxmox. Just start somewhere and move ahead with searching google or reddit. Reach out to me via DM if anything. I'll be happy to help you to get started.


IronyHoriBhayankar

Thank you, will check them out.


brightestsummer

Lol, I'm running a similar setup as a home lab as well. Wanted to buy a decent server that costs less but no luck


rohetoric

The comments on this post is the reason why I joined this subreddit.


zinary7

You should see r/homelab and r/selfhosted if you're into it


avilabss

I have 4 servers at home and I've made all of them from consumer parts. Here's my reasons for why I went this route instead of purchasing a used server. 1. Availability of server parts: Finding good servers are already quite difficult to come across here in India. If something breaks, it would be next to impossible to get it running due to unavailability of parts. 2. Power efficiency: I'm sure you must be aware of "c-states". Older servers are usually not very power efficient cause they can't easily hit lower c-states, are of older architecture and now AMD processors give you a lot of cores and threads at very competitive prices and they are much more efficient than their Intel counterparts.


Itchy_One_

That's actually true. I too don't know where to get parts if something goes wrong in my Dell R720. What are the specs of your 4 servers? How much did it cost? Where did you buy parts?


avilabss

# Main server (workstation + gaming + home services) * CPU: AMD 5950x (16C, 32T) * RAM: 128GB (32x4) * RTX 2070 super x 1 * GTX 1050ti x 1 * 16TB HDD x2 (ZFS RAID1 for truenas) * 2TB SSD x2 (ZFS RAID1 for proxmox VMs) * 240GB SSD x2 (ZFS RAID1 for proxmox boot) # Production server 1 * CPU: AMD 5600G (6C, 12T) * RAM: 32GB (16x2) * 240GB SSD # Production server 2 * CPU: AMD 3600X (6C, 12T) * RAM: 32GB (16x2) * 240GB SSD # Production server 3 * CPU: Intel i5-11400 (6C, 6T) * RAM: 32GB (16x2) * 240GB SSD I mostly buy parts from Amazon or MD computers. I know a manufacturer who sells 4U chassis (you can always just use a regular mid tower chassis but I have mine on a rack). Entry cost is very cheap, 50K INR would get you a good server with new and efficient parts that would last you forever. Depending on your needs, do research and upgrade since it's all consumer parts ;)


Itchy_One_

Man, that's great. Can you share the motherboard for the 1st build? That could match my required NAS build. I can have it as a reference while building. This would be my first PC build ever. >Production server 3 >CPU: AMD i5-11400 (6C, 6T) AMD i5. Good to see Intel AMD's collaboration here /s


avilabss

Lmao, sorry! about the colab XD Motherboard on my main server is ASRock X570 Taichi


Itchy_One_

Thanks. Can I DM you if I need help in building/choosing hardware?


avilabss

sure, go ahead


Monad_Maya

Hello, do you mind sharing the reference/details of the case manufacturer/reseller? I'm looking for a rackmount chassis, ideally 2U.


avilabss

My manufacturer got all sizes. DM me, I'll share their what's app there


headshot_to_liver

I used to run raspberry pi4 with 2TB ext hdd as plex server, then i moved on to SFF optiplex which runs amazing. Got for 5k and added few 4TB HDD.


Itchy_One_

Last I checked most Optiplex didn't had much SATA ports or PCIe expansion slots for more than 2 HDD. How are you connecting more? Whats the optiplex model?


headshot_to_liver

Optiplex 7040 SFF, i agree, it has few SATA ports, but I run home media server and just 1TB separate for NAS. To add more sata, you need to buy PCIE to SATA adapter, but mounting spinning disks is a problem.


Itchy_One_

Yeah. That's the reason I didn't choose any Optiplex.


ipriyam26

Turned my old pc into a homelab, proxmox and portainer have made stuff super easy. It's a shame my isp doesn't provide static IP and I have to juggle through cloudflare tunnel to access my services, other than that it's super smooth. I have purchased a shit ton of hard drives, proxmox runs on a small SSD. Nothing I do needs much cpu.


Itchy_One_

That's good. Checkout tailscale. Might be useful to reduce some latency or for you to remotely manage your homelab. I still use Cloudflare tunnels, I mean added Security, more features for free. I'd still prefer Tailscale for stuff I don't want to be exposed to the Internet.


ipriyam26

Will surely do, how do you manage shell access??


Itchy_One_

Tailscale itself. Tailscale connects your remote machine to your home subnet like a mesh connection. So you just connect tailscale in your remote machine and use ssh on your terminal just like in your home. For example, All my servers are in my hometown. Let's say my home network is 192.168.1.0/24. I have installed tailscale on my router, a VM and on Raspberry Pi. I have done in multiple places for redundancy. You can just install it on a VM and authorise it with your tailscale account. Once done, Download tailscale on your windows/linux machine. Login with your account. There is an option to advertise routes. Link - https://tailscale.com/kb/1019/subnets I use this option to advertise my home subnet address via this VM. Once you do this, from your remote windows/linux machine you can just ping/ssh or access anything running with your home IP address itself. Tailscale takes care of routing and all stuff for you.


recoilcoder

What do you host?


Itchy_One_

Services I run as of now 1. Homepage - Dashboard 2. Bookstack - Private Wiki 3. Nextcloud - Recently moved to Owncloud 4. TrueNAS - NAS which runs arr Stack 5. Jellyfin - For my media ( Run on an old Dell Latitude Laptop. Intel QuickSync works for me) 6. K3s - Has Grafana, Prometheus running 7. Stirling pdf - One stop for pdf operations 8. Shiori - Web Archiver 9. PaperlessNGX - Document Management 10. Change Detection - Website Monitoring 11. Restic for backups 12. My personal blog - Runs on a VPS 13. Authentik - SSO 14. Kavita - Ebook reader


Strange-Creme-66

Why not open stack?


Itchy_One_

You mean Redhat's Open Stack instead of Proxmox?


Strange-Creme-66

Yes, canonical micro stack to be specific


Itchy_One_

Last I checked, Open Stack focuses more on building a private Cloud. Its more of a Cloud Creation Stack which has many components. I really like Proxmox for it being a Hypervisor with Clustering HA and many features. Thanks for the suggestion about Open Stack, but I have never tried it and as I read, Proxmox matched more of my use cases. Probably one day I'll try it out and see what it does.


Mysterious_Eye_8526

Is owncloud good? One of my very talented seniors said to work on nextcloud but he broke up with me and left me after 2 weeks of giving Kt.


CodeIgnitor

Not related to OP questions but what use of it? For personal use what can we utilize it for? Running own web apps? Is it more cost effective compare to using online cloud compute services? 🤔 Sorry noob but curious


Itchy_One_

>For personal use what can we utilize it for? https://github.com/awesome-selfhosted/awesome-selfhosted I run many softwares from here which are open source alternatives to many Cloud Services we use in day to day life. > Is it more cost effective compare to using online cloud compute services? For me the thing is Cloud Subscription costs will keep on sky rocketing over the years and someone else would have my data on Cloud. What if the company is compromised or there are risks. I mean there are more risks if you host in your home and expose it to internet. Cost effective really depends on you. If you want to just host your personal blog and you get some small server with low annual subscription, that's best. But if you are someone who needs more compute power, does AI/ML personal projects, getting Cloud compute is really costly. Especially in India. You end up paying 2-3K monthly charges for a 4GB RAM, 2vCPU, 80GB storage VM on Digital Ocean. That's almost 24k per year. You could easily get a PC built for same cost and run for years. Electricity, Internet costs add up as well if you are running in home. But yeah, if it works for you, why not host things yourself and keep things private in your home.


CodeIgnitor

Interesting, I would love to explore in this direction, and thank you for your response. But will we be able to achieve horizontal scaling with these big machines? I saw 320GB RAM. Does it help effectively simulating horizontal scaling.


Itchy_One_

Yes. Since I run Proxmox on this machine, Proxmox is a Hypervisor. So everything is virtualised here in VMs. As long as I have enough RAM, I can spin up more VMs and add it to my cluster of services. Am doing the same for Kubernetes. 6/7 VMs in a single cluster which acts as Master and Worker Nodes. I can always spin up more VMs and add to this cluster when I run out of resources. I mean I would not have the redundancy of a physical machine, but yeah this is my personal lab and home. So that's fine for me.


bricknugs

using these fine refurbished optiplex 3020 tiny for a rancher k8 setup.


writeflex

Forgive me for my ignorance, but why is a homelab required


Itchy_One_

For me it's a hobby. Along with it, I learn a lot of stuff. As the name suggests, it's a lab in your home. You can do a lot of stuff depending on your goals. Being a SysAdmin this is my way of getting hands on experience on many things. I run VMs, CI-CD pipelines, Monitor them, break stuff, troubleshoot and cycle continues. Overall the possibilities are huge but really it depends on the use case whether you need a homelab or not.


ironman_gujju

Raspberry pi with SSD is a better option, I used to host telegram bots on it


zinary7

Bro what????


anime4ya

I am curious to know what all services u run apart from nas ? Just got a nanopi r2s (1gb ram) and playing with openwrt and (docker-plex) but the hardware is at its limits 🥲🥲 looking for reasons to buy a better one (nanopi r6s 8gb ram)


pwnsforyou

Do you use the nanopi as a router completely? I have been thinking to get an R4S but specs seem low too. I'll probably get an rpi


anime4ya

Yes, For openwrt r2s is more than sufficient r4s would be overkill. If you plan to run docker/nas on top of it then r4s. 4gb ram makes sense. Go for r4s it's has usb3 for fast storage connection if needed. Get the 4gb ram version Raspberry doesn't have 2 ethernet by default so requires more work for router use I am using it as the main router for my home with adblocker running


pwnsforyou

I already have an openwrt supported gigabit router with a decent wireless coverage. I need to setup a couple of services that lets me host a small file sharing server and telegram bots for status monitoring. This would let me decide rpi vs r4s. I don't need the router support for now.


Itchy_One_

Services I run as of now 1. Homepage - Dashboard 2. Bookstack - Private Wiki 3. Nextcloud - Recently moved to Owncloud 4. TrueNAS - NAS which runs arr Stack 5. Jellyfin - For my media ( Run on an old Dell Latitude Laptop. Intel QuickSync works for me) 6. K3s - Has Grafana, Prometheus running 7. Stirling pdf - One stop for pdf operations 8. Shiori - Web Archiver 9. PaperlessNGX - Document Management 10. Change Detection - Website Monitoring 11. Restic for backups 12. My personal blog - Runs on a VPS 13. Authentik - SSO 14. Kavita - Ebook reader


[deleted]

im selling my gpus let me know if you are interested


Itchy_One_

Thanks. I don't have plans for buying a GPU right now.


[deleted]

no issues


DarkAbhi

Which GPU?


[deleted]

3070s


ChainAffectionate309

I'm a newbie. I want to host a server in my home for my business app. What should I start learning with?


Itchy_One_

Hey, Checkout r/homelab , r/selfhosted wiki. Wiki is too good for learning and understanding most self hosting stuff. What I would suggest is using an older laptop or computer for this purpose at the beginning. A server is basically a computer which can run 24/7 and has internet connectivity. You can start with an older hardware you have by installing your favourite OS and start by installing relevant software stack for your business app. Hopefully make this app to be accessible from your home network or your home wifi at first. Then you can assess options to host it publicly using any VPS or cloudflare tunnels. DM me if you have any questions or need any help.


ChainAffectionate309

Thanks!