I'm trying to wrap my brain around how many certificates I'm going to need for service fabric. I've read quite a bit from the product team and that's been really helpful, now I'm trying to distill that down to what I actually need given the following goals:
In order to create a secure cluster I'll need a valid certificate which will require a custom domain name.
Create a Service Fabric cluster in Azure using Azure Resource Manager
- The certificate must contain a private key.
- The certificate must be created for key exchange, exportable to a Personal Information Exchange (.pfx) file.
- The certificate's subject name must match the domain used to access the Service Fabric cluster. This matchng is required to provide SSL for the cluster's HTTPS management endpoints and Service Fabric Explorer. You cannot obtain an SSL certificate from a certificate authority (CA) for the
.cloudapp.azure.com
domain. You must acquire a custom domain name for your cluster. When you request a certificate from a CA, the certificate's subject name must match the custom domain name used for your cluster.
Based on that, would it be correct to assume that I only need one cert and a custom domain to achieve the goals outlined above?
I'd like to follow any best practices on this, so if I'm in error, please provide feedback.
A single Service Fabric node type/scale set can not contain more than 100 nodes/VMs. To scale a cluster beyond 100 nodes, add additional node types.
A Service Fabric cluster is a network-connected set of virtual or physical machines into which your microservices are deployed and managed. A machine or VM that is part of a cluster is called a cluster node. Clusters can scale to thousands of nodes.
For simplicity and to be conservative, assume that the operating system and system services, the Service Fabric runtime, and your services consume 6gb of that, leaving 10gb available per machine, or 100 gb for the cluster.
AAD takes care of your client-to-node security, so the only certificate you'll need would be a Server certificate for node-to-node security. This is what they seem to recommend here as well, so you should be on the right track.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With