Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Service Connector blog #4296

Merged
merged 11 commits into from
May 23, 2024
14 changes: 13 additions & 1 deletion blog/_data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,16 @@ Paul Yu:
url: "https://www.linkedin.com/in/yupaul/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/pauldotyu"
url: "https://github.com/pauldotyu"

Coco Wang:
name : "Coco Wang"
bio : "Coco is an AKS Product Manager and mainly works on AKS security capability, AI-based security remediation plan."
avatar : "https://pbs.twimg.com/profile_images/1791779839114092544/Lj9jvCTG_400x400.jpg" # Replace this with your avatar image
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
- label: "LinkedIn"
icon: "fab fa-fw fa-linkedin"
url: "https://www.linkedin.com/in/coco-wang-2399041b6/"
35 changes: 35 additions & 0 deletions blog/_posts/2024-05-23-service-connector-intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "Service Connector Introduction"
description: "Simplify Your Azure Kubernetes Service Connection Configuration with Service Connector"
date: 2024-05-23
author: Coco Wang
categories: security # general, operations, networking, security, developer topics, add-ons
---
Workloads deployed on an Azure Kubernetes Service (AKS) cluster often need to access Azure backing resources, such as Azure Key Vault, databases, or AI services like Azure OpenAI Service. Users are required to manually configure [Microsoft Entra Workload ID](https://learn.microsoft.com/en-us/entra/workload-id/workload-identities-overview) or Managed Identities so their AKS workloads can securely access these protected resources.

The [Service Connector](https://learn.microsoft.com/en-us/azure/service-connector/overview) integration greatly simplifies the connection configuration experience for AKS workloads and Azure backing services. Service Connector takes care of authentication and network configurations securely and follows Azure best practices, so you can focus on your application code without worrying about your infrastructure connectivity.

![image](https://github.com/CocoWang-wql/AKS/assets/45681473/8c146088-0bd9-4095-a0c2-c802a135b4c2)
Service Connector Action Breakdown

Before Service Connector, in order to [connect from AKS pods to a private Azure backing services](https://learn.microsoft.com/en-us/azure/aks/workload-identity-deploy-cluster) using workload identity, users needed to perform the following actions manually:
1. Create a managed identity
2. Retrieve the OIDC issuer URL
3. Create Kubernetes service account
4. Establish federated identity credential trust
5. Grant permissions to access Azure Services
6. Deploy the application

Now, Service Connector performs steps 2 to 5 automatically. Additionally, for Azure services without public access, Service Connector creates private connection components such as private link, private endpoint, DNS record, etc.
You can create a connection in the Service Connection blade within AKS.
![image](https://github.com/CocoWang-wql/AKS/assets/45681473/8cb37a39-9e1b-4423-9ffa-9a928fd7d486)
Click create and select the target service, authentication method, and networking rule. The connection will then be automatically set up.

In addition to Azure portal, Service Connector also supports [Azure CLI](https://learn.microsoft.com/en-us/azure/service-connector/quickstart-cli-aks-connection?tabs=Using-access-key).

Service Connector on AKS cluster is currently in preview. Here are a few helpful links to for you to learn more about Service Connector.
- [Create a service connection in an AKS cluster from the Azure portal](https://learn.microsoft.com/en-us/azure/service-connector/quickstart-portal-aks-connection?tabs=UMI)
- [Tutorial: Connect to Azure OpenAI Service in AKS using a connection string (preview)](https://aka.ms/service-connector-aks-openai-connection-string)
- [Tutorial: Connect to Azure OpenAI Service in AKS using Workload Identity (preview)](https://aka.ms/service-connector-aks-openai-workload-identity)
- [What is Service Connector?](https://learn.microsoft.com/en-us/azure/service-connector/overview)

Loading