我需要VM来进行Web演示吗? [英] Do I need VM for a web presentation?

查看:65
本文介绍了我需要VM来进行Web演示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Preact开发同构的JS SPA,我想知道我需要什么MS Azure产品.

I'm developing an isomorphic JS SPA using Preact and I'd like to know what MS Azure products I'll need.

我正在开发的应用程序/网站是一个设计工作室的Web演示文稿.这是一家相对较新的工作室,因此每月访问量不超过5000.演示非常简单=博客+产品组合(因此,blob存储空间不得超过32gb).我需要一个自动 通过Gulp/Webpack进行资产编译和图像压缩.

The app/website I'm developing is a design studio web presentation. It's a relatively new studio so no more than 5000 visits a month. The presentation is pretty simple = blog + portfolio (So no more than 32gb of blob storage). I'll need an automatic asset compilation and image compression via Gulp/Webpack.

我的主要问题是:
-我需要虚拟机吗? (如果是,那是为了什么?)
-我可以使用功能代替虚拟机吗? (服务器用作JSON API,但第一次加载是在服务器上生成的)
-Cosmos DB是否比SQL DB更好? (性能/成本)

My main questions are:
- Do I need VM? (if so, what for?)
- Can I use Functions instead of VM? (server is used as JSON API except first load which is generated on the server)
- Is Cosmos DB better than SQL DB? (performance/cost)

推荐答案

嗨yamiteru,

hi yamiteru,

在准备Azure认证的同时,我刚刚看到了您的问题,并且我学习了很多课程,其中一门是关于Azure存储解决方案以及如何决定使用哪门课程以及何时使用的课程. ?这是链接:选择存储-approach-in-azure .

I just saw your question at the same time I'm preparing for Azure Certification, and there is a lot of courses that I study, one of them is about Azure Storage Solutions and how to decide which one to use, and when? here is a link: choose-storage-approach-in-azure.

-我可以吗?需要虚拟机? (如果是这样,为什么?): 您可以使用可以通过Dockerfile组成的容器实例,并为Gulp/Webpack任务复制不同的脚本.

- Do I need VM? (if so, what for?): you can use Container Instances that you can compose using a Dockerfile and copy the different scripts for your Gulp/Webpack tasks.

-我可以吗使用功能而不是VM? (服务器用作JSON API ( 除外) 第一个 在服务器上生成的负载): 当然,但是您应该调整解决方案以避免冷启动,这是 blob存储您可以使用blob存储来存储角度应用程序" .

- Can I use Functions instead of VM? (server is used as JSON API except  for the first load which is generated on the server): sure, but you should adapt your solution to avoid Cold-Starts here is a good document about this case, otherwise you can use AppService or blob storage "you can use blob storage to store an angular application".

-Cosmos DB是否比SQL DB更好? (性能/成本):您可以使用Azure计算器对成本有所了解,但是每种服务的建议功能有所不同,这是这些产品之间的很好的比较.

这只是答案的简单版本,我将进行更深入的研究以给出更好的答案,

this is just a simple version of the answer, I'll investigate more deeply to give a better answer,  


这篇关于我需要VM来进行Web演示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆