You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-fabric/how-to-deploy-custom-image.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,19 @@ author: tomvcassidy
7
7
ms.service: service-fabric
8
8
ms.custom: devx-track-arm-template
9
9
services: service-fabric
10
-
ms.date: 09/15/2022
10
+
ms.date: 09/12/2023
11
11
---
12
12
13
-
# Deploy a custom Windows virtual machine scale set image on new node types within a Service Fabric Managed Cluster (preview)
13
+
# Deploy a custom Windows or Azure Marketplace virtual machine scale set image on new node types within a Service Fabric Managed Cluster (preview)
14
14
15
-
Custom windows images are like marketplace images, but you create them yourself for each new node type within a cluster. Custom images can be used to bootstrap configurations such as preloading applications, application configurations, and other OS configurations. Once you create a custom windows image, you can then deploy to one or more new node types within a Service Fabric Managed Cluster.
15
+
Custom windows images are like marketplace images, but you create them yourself for each new node type within a cluster. Custom images can be used to bootstrap configurations such as preloading applications, application configurations, and other OS configurations. Once you create a custom windows image, you can then deploy to one or more new node types within a Service Fabric Managed Cluster. Customers can also use a marketplace image. Azure Marketplace images are clones of entire computer systems including operating system, application, and state information. Service Fabric managed clusters allow you to utilize these images for your node types within your Service Fabric managed cluster.
16
16
17
17
## Before you begin
18
18
Ensure that you've [created a custom image](../virtual-machines/linux/tutorial-custom-images.md).
19
19
Custom image is enabled with Service Fabric Managed Cluster (SFMC) API version 2022-08-01-preview and forward. To use custom images, you must grant SFMC First Party Azure Active Directory (Azure AD) App read access to the virtual machine (VM) Managed Image or Shared Gallery image so that SFMC has permission to read and create VM with the image.
20
20
21
+
If you have chosen to use an Azure Marketplace image, you need to [find and use the appropriate marketplace purchase plan information](../virtual-machines/windows/cli-ps-findimage.md). You can then specify a marketplace image and plan information when you create a VM. You can also browse available images and offers using the [Azure Marketplace](https://azuremarketplace.microsoft.com) or the [Azure CLI](../virtual-machines/linux/cli-ps-findimage.md).
22
+
21
23
Check [Add a managed identity to a Service Fabric Managed Cluster node type](how-to-managed-identity-managed-cluster-virtual-machine-scale-sets.md#prerequisites) as reference on how to obtain information about SFMC First Party Azure AD App and grant it access to the resources. Reader access is sufficient.
When you create a new node type, you will need to modify your ARM template with the new property: VmImageResourceId: <Imagename>. The following is an example:
35
+
When you create a new node type, you'll need to modify your ARM template with the new property: VmImageResourceId: <Imagename>. The following is an example:
34
36
35
37
```JSON
36
38
{
@@ -51,6 +53,25 @@ The vmImageResourceId will be passed along to the virtual machine scale set as a
- Shared Gallery Image Version (Microsoft.Compute/galleries/images/versions)
53
55
56
+
Service Fabric managed clusters also support marketplaces images that can be used on your virtual machine. Customers who would like to use a specific image from the marketplace can use the below configuration.
0 commit comments