如何在活动开始前将活动网站扩展两周 [英] How to Scale Up an event website for a fortnight in the run up to the event

查看:66
本文介绍了如何在活动开始前将活动网站扩展两周的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在英国开办了一个全国性的活动网站。该活动每年在同一个周末每年运行一次。

Hi, I run a website for a national event in the UK. The event runs once a year on the same weekend every year.

它目前使用STANDARD1服务计划托管在Azure WebApp上,该服务计划在一年中的50周内运行良好,利用2%和5%的CPU(每天最多100个用户)

It is currently hosted on an Azure WebApp using the STANDARD1 Service Plan, which runs fine for 50 weeks of the year, utilising between 2 and 5% CPU (up to 100 users per day)

然而,在活动开始的几周内(今年5月5日),使用量大幅增加,我必须手动切换到STANDARD2以应对用户(去年每天5到10k,今年可能更多)。一旦节目结束,
的使用情况会迅速消失,并在一周内回落到预演的使用情况。

However, in the weeks running up to the event (this year May 5th) the usage ramps up considerably and I have to manually switch to STANDARD2 to cope with the users (last year between 5 and 10k per day, probably more this year). Once the show is over the usage tails off rapidly and drops back down to the pre show usage within a week.

我打算在下周末做到这一点,但是想知道是否有办法使用触发器或某些系统自动进行此升级。我可以手动执行UP SCALE,但看起来这样做时你只能在月内切换剩余的
,在结算周期中似乎没有简单的DOWN SCALE方式 - 我在这里错过了一个技巧吗?

I plan to do this at the end of next week, but was wondering if there was a way to do this upgrade automatically using either triggers or some system. I can do the UP SCALE manually, but it appears that when doing this you can only switch for the rest of the month, there does not appear to be an easy way to DOWN SCALE in the middle of a billing period - Am I missing a trick here?

如果可能的话,希望尽快给出答案。

Hoping for an answer soon if possible.

非常感谢,

JrB

推荐答案

嗨J Bromley,听起来你正在尝试做的是扩大规模(添加更多内核或转移到新的VM大小)而不是向外扩展(添加更多实例)。有没有理由为什么扩展不能满足您的需求? Azure App Services目前
支持自动缩放(向外扩展)。您应该能够设置规则以根据额外工作负载添加实例。这是

有用的博客
来指导你。 

Hi J Bromley, sounds like what you are currently trying to do is scaling up (adding more cores or moving to a new VM size) as opposed to scaling out (adding more instances). Is there a reason why scaling out wouldnt meet your needs? Azure App Services currently supports auo-scaling (scaling out). You should be able to set a rule to add instances based on the additional workload. Here's a useful blog to guide you. 

希望这会有所帮助。

干杯。


这篇关于如何在活动开始前将活动网站扩展两周的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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