웹에 대한 FinOps 모범 사례
이 문서에서는 웹 서비스에 대해 입증된 FinOps 사례의 컬렉션을 간략하게 설명합니다. 비용을 최적화하고, 효율성을 개선하고, ARG(Azure Resource Graph) 쿼리를 사용하여 웹 리소스에 대한 인사이트를 얻기 위한 전략을 제공합니다. 이러한 사례를 따르면 웹 서비스가 비용 효율적이고 조직의 재무 목표에 부합하는지 확인할 수 있습니다.
App Service
다음 섹션에서는 App Service에 대한 ARG 쿼리를 제공합니다. 이러한 쿼리는 App Service 리소스에 대한 인사이트를 얻고 적절한 설정으로 구성되었는지 확인하는 데 도움이 됩니다. Azure Advisor에서 App Service 계획을 분석하고 권장 사항을 표시하면 비용 효율성을 위해 App Service 리소스를 최적화할 수 있습니다.
쿼리: 웹 애플리케이션 상태
이 ARG 쿼리는 Azure 환경 내에서 웹 애플리케이션의 상태 및 기본 정보를 검색합니다.
범주
모니터링
쿼리
resources
| where type =~ 'Microsoft.Web/sites'
| project
id,
WebAppName = name,
Type = kind,
Status = tostring(properties.state),
WebAppLocation = location,
AppServicePlan = tostring(properties.serverFarmId),
WebAppRG = resourceGroup,
SubscriptionId = subscriptionId
| order by id asc
쿼리: App Service 계획 세부 정보
이 ARG 쿼리는 Azure 환경 내에서 Azure 앱 서비스 계획에 대한 자세한 정보를 검색합니다.
범주
리소스 관리
쿼리
resources
| where type == "microsoft.web/serverfarms" and sku.tier !~ 'Free'
| project
planId = tolower(tostring(id)),
name,
skuname = tostring(sku.name),
skutier = tostring(sku.tier),
workers = tostring(properties.numberOfWorkers),
maxworkers = tostring(properties.maximumNumberOfWorkers),
webRG = resourceGroup,
Sites = tostring(properties.numberOfSites),
SubscriptionId = subscriptionId
| join kind=leftouter (
resources
| where type == "microsoft.insights/autoscalesettings"
| project
planId = tolower(tostring(properties.targetResourceUri)),
PredictiveAutoscale = properties.predictiveAutoscalePolicy.scaleMode,
AutoScaleProfiles = properties.profiles,
resourceGroup
) on planId
더 많은 것을 찾고 계신가요?
우리는 아무것도 놓쳤습니까? 추가된 항목을 보시겠습니까? 여기서 설명한 질문, 문제 또는 해결 방법에 대해 듣고 싶습니다. 여기에 포함된 세부 정보를 사용하여 새 문제를 만듭니다.
관련 콘텐츠
관련 리소스:
관련 솔루션: