Virtual machine – SQL Server Configuration VS Manage SQL virtual machine
결론 부터
- Azure VM 에 임의 대로 MS SQL 을 설치했다. 어느순간 port 에 [SQL 관리] 라는 것이 생겼다.
가만히 보니 다른 VM 에는 없는 메뉴다.
이상해서 테스트로 진행해봤다. 근데 뭔가 설치되는듯한 느낌....
난중에 알고보니, VM 상에 MS SQL 을 설치할경우, Azure 에서 주기적인 스켄을 통해서 MS SQL 이 설치되어 있는지를 점검한단고 한다, 그래서 VM 상에 MS SQL 이 설치되어 있을경우 [SQL 관리] 메뉴를 포털에 나타나게 한다는것이다.
이거 그대로 놔두면, SQL 라이센스 과금이 진행된다고 한다.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
이부분 매우 중요.. 돈이 나가는거니.... 결론은 VM 상에 유료 라이센스인 MS SQL 을 설치시에는 라이센스 비용이 측정될수 있으니, 매우 조심해야함.
Virtual machine – SQL Server Configuration – Manage SQL virtual machine 에 대해 문의하신 것으로 확인하였습니다.
이는 SQL Server IaaS Agent Extension이 설치되어 있는 virtual machine에 한해서 노출되는 메뉴로, SQL Server와 관련이 없거나 SQL Server IaaS Agent Extension이 설치되어 있지 않은 virtual machine에서는 확인하실 수 없습니다.
해당 메뉴를 통해서 Azure Portal을 통해 SQL Server를 관리할 수 있는 SQL Virtual Machine 페이지로 넘어갈 수 있습니다.
SQL virtual machine 에서 라이선스 및 에디션 유형, 스토리지 구성, TempDB 구성, 자동화된 패치, 자동화된 백업, SQL 모범사례 평가 등을 손쉽게 관리할 수 있는 편의를 제공합니다.
Feature benefits에 대해서는 다음 링크를 참고하실 수 있습니다.
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-iaas-agent-extension-automate-management?view=azuresql&tabs=azure-portal#feature-benefits
SQL Server 2016 이상의 버전이 설치된 가상 머신이라면, SQL Server IaaS Agent Extension은 임의의 시간에 자동으로 설치될 수 있습니다.
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/sql-server-iaas-agent-extension-automate-management?view=azuresql&tabs=azure-portal#installation
Deploying a SQL Server VM Azure Marketplace image through the Azure portal automatically registers the SQL Server VM with the extension. However, if you choose to self-install SQL Server on an Azure virtual machine, or provision an Azure virtual machine from a custom VHD, then you must register your SQL Server VM with the SQL IaaS Agent extension to unlock feature benefits. By default, self-installed Azure VMs with SQL Server 2016 or later are automatically registered with the SQL IaaS Agent extension when detected by the CEIP service. SQL Server VMs not detected by the CEIP should be manually registered.
가상 머신에서 SQL Server를 제거한 후 SQL Server 라이선스에 대한 청구를 완전히 중지하기 위해서는 SQL Server IaaS Agent Extension를 제거하는 대신, 아래의 절차를 참고하여 기존의 SQL Server 제거 및 SQL Server Express Edition을 설치 후 라이선스 유형을 Express로 변경하실 것을 제안 드립니다.
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/frequently-asked-questions-faq?view=azuresql#can-i-remove-sql-server-and-the-associated-license-billing-from-a-sql-server-vm-
If you want to keep the VM but stop SQL Server billing, follow these steps:
- Back up all of your data, including system databases, if necessary.
- Uninstall SQL Server completely, including the SQL IaaS Agent extension (if present).
- Install the free SQL Express edition.
- Register with the SQL IaaS Agent extension.
- Change the edition of SQL Server in the Azure portal to Express to stop billing.
- (Optional) Disable the Express SQL Server service by disabling service startup.