简体   繁体   English

我应该使用哪种Microsoft Azure?

[英]What Microsoft Azure should i use?

My company is about provide e-commercial website service and finding the best solution for deployment. 我公司将提供电子商务网站服务,并寻找最佳的部署解决方案。

Our application is a multi-tenant e-commercial application. 我们的应用程序是多租户电子商务应用程序。 Once purchased, our customer has a website. 购买后,我们的客户拥有一个网站。 The newly created website can be browsed by default subdomain on our domain (our domain is invishop.com) eg: mikeshop.invishop.com. 可以在我们域的默认子域(我们的域是invishop.com)上浏览新创建的网站,例如:mikeshop.invishop.com。 The website also can be browsed by customer's custom domain. 该网站也可以通过客户的自定义域进行浏览。 This requires to create CNAME record to our domain name (invishop.com). 这需要将CNAME记录创建为我们的域名(invishop.com)。 Our multi-tenant application is developed in ASP.NET MVC platform. 我们的多租户应用程序是在ASP.NET MVC平台上开发的。

The simplest solution our considered is Windows hosting with Dedicated IP but this solution does not meet big users requirement. 我们考虑的最简单的解决方案是带有专用IP的Windows托管,但是该解决方案无法满足大用户的需求。 Our application will be used by up to 1000 or higher at a same time. 我们的应用程序可同时使用多达1000个或更多。 If we deploy our service on shared ASP.NET hosting our service is always can not access. 如果我们在共享ASP.NET托管上部署我们的服务,则我们的服务始终无法访问。 We want to run our application on higher availability Infrastructure but do not want to focus on building and managing Infrastructure. 我们希望在更高可用性的基础架构上运行我们的应用程序,但不想专注于构建和管理基础架构。 We only want to focus on develop our application and business. 我们只想专注于开发我们的应用程序和业务。

So what service we should use ? 那么我们应该使用什么服务呢?

You can use Azure virtual machines for hosting. 您可以使用Azure虚拟机进行托管。 VMs are scalable and you can make availability set with other VMs. VM具有可伸缩性,您可以设置其他VM的可用性。 So, if is going down (update etc), the second will working. 因此,如果要关闭(更新等),则第二个将正常工作。 You can create virtual network and assign some VMs to it (Web server and database server). 您可以创建虚拟网络并为其分配一些VM(Web服务器和数据库服务器)。 You can use backup services for each VM too. 您也可以为每个VM使用备份服务。 You can make VM with dedicated IP - Be careful it is possible to configure ONLY before you make VM - you must use PowerShell. 您可以使用专用IP来制作VM-注意,在制作VM之前只能进行配置-必须使用PowerShell。

    • Create dedicated IP via PowerShell (see on internet commands) 通过PowerShell创建专用IP(请参阅Internet命令)
    • Create virtual network (not necessary) 创建虚拟网络(不必要)
    • create VM - web server and assign it to IP via PowerShell 创建VM-Web服务器并通过PowerShell将其分配给IP
    • create VM - SQL server 创建VM-SQL Server
    • Configure server for IIS - it is possible to host multiple websites on one VM via host names (I use this). 为IIS配置服务器-可以通过主机名在一个VM上托管多个网站(我使用此名称)。 Add A record to your domain(xyz.com and www.xyz.com and your dedicated IP) 将A记录添加到您的域(xyz.com和www.xyz.com以及您的专用IP)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM