4 ms·
Where do you host your .net projects? I am especially interested in anything other than azure webapp and VM's/IIS.
by dnndev 4y ago
Where do you host your .net projects? I am especially interested in anything other than azure webapp and VM's/IIS.
- mythz 4y agoHetzner & Digital Ocean are great value hosting providers, we maintain GitHub Action deployment scripts that can deploy to any generic Linux host using Docker Compose + SSH, that our latest Litestream support uses to effortlessly deploy .NET RDBMS Apps (with savings up to 40x vs Azure's recommended managed RDBMS configuration): https://docs.servicestack.net/ormlite/litestream https://docs.servicestack.net/ormlite/litestream If you don't want to use Docker, you can also easily deploy to Linux using rsync + supervisor: https://docs.servicestack.net/netcore-deploy-rsync https://docs.servicestack.net/netcore-deploy-rsync
- Const-me 4y agoLast couple times I used cloud VMs with ARM64 CPUs running some Linux. A systemd service to run asp-net only takes a few lines of text in the *.service file, like following: [Service] Type=simple ExecStart=/usr/bin/dotnet /some/path/myapp.dll WorkingDirectory=/some/path/ Restart=always User=someone Group=someone [Install] WantedBy=multi-user.target
- manigandham 4y agoPackage as a Docker container and run on any host. I've used everything from digitalocean VMs to Kubernetes across all major clouds.
- jayd16 4y agoYep, both AWS and GCP have been fine.
- nso 4y agoAs a systemd service on physical ubuntu servers. Each app running on its own port, haproxy server in front routing different domain:80s to the corresponding ports. Stateless apps so sideways scalable.
- pmontra 4y agoA customer of mine is running .net on a Debian host on the Google Cloud. Another one in a container in perhaps k8s on a minor cloud provider.
- ArrayBoundCheck 4y agoI use a VPS. The strange thing is one site never drops a connection and another one does. I'm not sure if its the physical location or my config but one of the two instance works very well. Its a $5 VPS too
- hadrien01 4y agoI have a couple apps on Azure App Service, but all the companies I've worked at simply host them on Docker images (on AWS or on a private cloud)
- starik36 4y agoI host them on my Raspberry Pi 4 at home. I combine it with noip.com to get around the dynamic IP problem. Obviously that's not for mission critical apps.
- UglyToad 4y agoI have two DigitalOcean sites on the same VPS just serving from kestrel behind an nginx reverse proxy and then one site on a Hetzner VPS where I was playing around with k3s. For digitalocean I followed this post which is probably way out of date now https://www.hanselman.com/blog/publishing-an-aspnet-core-website-to-a-cheap-linux-vm-host https://www.hanselman.com/blog/publishing-an-aspnet-core-web... For the k3s site the source is here https://github.com/EliotJones/LetsShip/blob/main/kubernetes/deployment.yaml https://github.com/EliotJones/LetsShip/blob/main/kubernetes/... though worth noting I have set up LetsEncrypt incorrectly but that's my lack of k3s understanding.
- neonsunset 4y agoAnything that's win-x64, linux-x64 or even osx-arm64 (at home :D) honestly. At work we utilize a mix of k8s linux hosts (standard mcr.microsoft.com/dotnet/aspnet:6.0 image) and windows hosts where services are ran with Kestrel (default ASP.NET Core host). Literally 'dotnet {AppName.dll}' and that's it.
- ledgerdev 4y agoSuper easy to package into docker. Then run at google cloud run or azure container apps. Both are amazing.
- thepra 4y agoSelf-hosted Ubuntu server ;) For APIs, WebApps and websites.