简体   繁体   English

主持一个容器爱好项目

[英]Hosting a container hobby project

I' m developing a hobby project which has;我正在开发一个爱好项目,它有;

  • An Azure Microsoft SQL database一个 Azure 微软 SQL 数据库
  • An update process that gets data and puts in the database (for now run locally once a week)获取数据并放入数据库的更新过程(现在每周在本地运行一次)
  • An API in Dotnet core 3.0 which reads from the database Dotnet core 3.0 中的 API 从数据库中读取
  • A NGINX frontend which is in Vue and reads from the API Vue 中的 NGINX 前端,从 API 读取

The last two applications are containerized and I can run the docker image locally.最后两个应用程序是容器化的,我可以在本地运行 docker 映像。 I want this hosted (in the cloud) so I can show off my work and get experience with something like Kubernetes or any other orchestration tool.我希望将其托管(在云中),这样我就可以展示我的工作并获得使用 Kubernetes 或任何其他编排工具之类的经验。 What I'm looking for is a non-enterprise hosting platform which is free or a small monthly fee.我正在寻找的是一个免费或每月收取少量费用的非企业托管平台。 I have an Azure developer budget but when I try the smallest Azure Kubernetes Service it still is going to cost me a lot.我有一个 Azure 开发人员预算,但是当我尝试最小的 Azure Kubernetes 服务时,它仍然会花费我很多。

Who has some advice on which hosting platform is working for their hobby projects?谁对哪个托管平台适用于他们的爱好项目有一些建议?

GCP has a fairly generous free tier, you could launch a 1-node cluster for free. GCP 有一个相当慷慨的免费层,您可以免费启动一个 1 节点集群。 It only has about a half a gigabyte of RAM though, you may find running both your app and SQL Server challenging.虽然它只有大约半 GB 的 RAM,但您可能会发现同时运行您的应用程序和 SQL 服务器具有挑战性。 Heroku does offer a free-tier for their SQL database but it's Postgres not SQL Server. Heroku 确实为他们的 SQL 数据库提供免费层,但它是 Postgres 而不是 SQL 服务器。

What I ended up to do is just don't use K8s but stick to a container instance in Azure.我最终要做的就是不使用 K8s,而是坚持使用 Azure 中的容器实例。 I know it's a bit lame because I started out with K8s on my mind.我知道这有点蹩脚,因为我一开始就想到了 K8s。 Still, now I have got a relative cost-efficient solution with a private registry and two containers for under 10 euro.尽管如此,现在我已经获得了一个相对具有成本效益的解决方案,其中包含一个私有注册表和两个容器,价格低于 10 欧元。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 docker 容器上托管 JavaFX 项目 - Hosting JavaFX project on docker container Docker容器托管 - Docker container hosting 用于在Bluemix中托管OpenLDAP的定制容器 - Custom Container for hosting OpenLDAP in Bluemix 在 Docker 容器中托管 WordPress 站点的视频 - Hosting video for a WordPress site in a Docker container 在容器中重新打开项目的问题 - Problem with reopening of the project in container 使用Firebase托管为CI / CD创建类似于生产的容器 - Creating production-like container for CI/CD with Firebase hosting Docker Compose Postgres容器连接被主机拒绝 - Docker Compose Postgres Container connection refused from hosting machine Azure App Service 共享托管破容器启动 - Azure App Service shared hosting breaking container startup 选择哪个 GCP 服务来托管存储在 Container Registry 中的 Docker 映像? - Which GCP service to choose for hosting Docker image stored at Container Registry? 如何从 docker 容器连接到远程 mysql 托管? - How to connect to a remote mysql hosting from docker container?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM