Azure的迁移网站以Azure的云服务 [英] Migrate Azure Web Site to Azure Cloud Service

查看:175
本文介绍了Azure的迁移网站以Azure的云服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,我正打算启动Web应用程序作为一个Azure的网站,然后如果它需要一个大规模的策略将其迁移到一个蓝色的云服务(也称托管服务)。

I have a project and I'm planning to start the web app as an Azure Web Site and then migrate it to an Azure Cloud Service (also called Hosted Service) if it is needed as a scale strategy.

的决定是因为我读了Azure网站更简单,快速,几乎没有Azure的具体配置或code开发。因此,起动快,简单的是项目的良好起点。

The decision is because I read that Azure Web Sites are more simple and fast to develop with almost no Azure-specific configurations or code. So starting fast and simple is a good starting point for the project.

不过,是你一个很好的起点?
正在迁移一个Azure的网站以蔚蓝色的云服务一样你迁移正常ASP.NET网站到Azure的云服务?
你会从一开始就在Azure的云计算服务的权利开始?如果是,为什么?

But, is that a good starting point for you? Is migrating an Azure Web Site to an Azure Cloud Service the same as you were migrating a normal ASP.NET Website to an Azure Cloud Service? Would you start with an Azure Cloud Service right from the beginning? If yes, why?

感谢您的时间。

推荐答案

有这两个部署模型的好处,它最终将回落到你想达到什么目的,并最终应用程序的成功。

There are benefits to both deployment models, it will eventually come down to what you are trying to achieve and ultimately the success of your application.

在下面,我介绍的优点和每个模型的缺点,以确保你正在做正确的选择,为您的应用目标。

Below I've outlined the Pros and Cons of each of the models to ensure that you're making the right choice for your applications goals.

您已经正确识别了Windows Azure网站是应用程序一个很好的起点,但你也可以考虑网站确实为许多解决方案提供足够的可扩展性。

You have properly identified that Windows Azure Web Sites is a great starting point for an application, however you could also consider that Web Sites does offer enough scalability for many solutions.


  • 10的免费网站preVIEW期间<击> [免费为12个月]

  • 易于部署(使用git, TFS ,Web部署或FTP)

  • 快速可扩展性(您可以移动到你自己的专用群集[又名<击>保留标准])

  • 简单开发(支持经典的ASP, ASP.NET ,的Node.js ,巨蟒和放大器;的 PHP

  • 永久环境(大多数人都用这个)

  • 10 Free sites during preview [Free for 12 months]
  • Easy Deployment (use Git, TFS, Web Deploy or FTP)
  • Quick Scalability (You can move to your own dedicated cluster [aka reserved standard])
  • Simple Development (Supports Classic ASP, ASP.NET, Node.js, Python & PHP)
  • Persistent Environment (most people are used to this)

  • <击>在自定义域没有SSL支持

  • <击>在preVIEW(目前没有SLA)

  • No SSL Support on Custom Domains
  • in Preview (currently no SLA)

云服务(前身为托管服务)绝对是Web应用的未来的憧憬。它兼具弹性建成通过缩放来满足需求,以保持应用程序实惠的成本,并回拨容量时流量减慢。

Cloud Services (formerly known as Hosted Services) is definitely the vision for the future of Web Applications. It is built with resiliency in mind to keep the cost of applications affordable by scaling to meet demand, and dial back capacity when your traffic slows.


  • 在你的应用程序的成本增加控制(如果正确架构)

  • 柔韧性(你必须对环境完全控制)

    • SSL支持

    • 语言无关

    • Web服务器不可知论者(虽然IIS默认提供)


    • 建筑应慎重考虑

    • 部署时间较慢(减慢开发周期)

    上述项目有可能给你​​足够的规划申请在不久的将来,这是非常有可能,你可能要考虑云服务的未来(它适合一些应用场景更好地从长远来看)。

    The items above might have given you enough to plan the immediate future of the application and it is very likely that you might want to consider Cloud Services in the future (it fits a number of application scenarios better in the long run).

    下面是事情来帮助Web站点以云服务之间的可移植性的列表:

    Here is a list of things to help portability between Web Sites to Cloud Services:


    1. 开始思考无国籍

    Windows Azure的网站是很好的,因为它是一个持久的环境,这意味着你能之类的东西会话状态和资产存储到磁盘上。

    Windows Azure Web Sites is nice as it is a persistent environment, which means you are able to store things like session state and assets to the disk.

    虽然这是一个很好的功能,这是最好的开始朝着一个无状态的应用规划,如果你的最终目标是要在云服务。这里有一些事情可以做,开始考虑无状态:

    Although this is a good feature, it's best to start planning towards a stateless application, if your end goal is to be in Cloud Services. Here are a few things you can do to start thinking stateless:


    • 不要依赖于会话状态

      • 如果你需要它,想出了一项战略,以使其规模(高速缓存服务,SQL或存储)


      • 资产,如静态HTML,CSS,JavaScript和图像最好放在寄存

        • 避免在您的网站额外的带宽(可能停留更长的共享成本更低)

        • 可以CDN启用,为国际市场提供更好的体验

        • 容易当应用程序迁移到云服务来更新网络资产


        • 如果您的应用程序商店已经向存储服务,也少了一个code修改在未来的移动云服务的时候。

        使容易发现数据中的模式

        云服务的好处是它使你只缩放什么需要调整以降低成本。开始识别你如何分割你的存储数据库或表的规模,即单位的过程。

        The benefit of Cloud Services is it enables you to reduce cost by only scaling what needs scaled. Starting the process of identifying your scale units i.e. How you partition your database or Tables in Storage.

        这篇关于Azure的迁移网站以Azure的云服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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