Skip to content

Commit

Permalink
Merge pull request #4296 from CocoWang-wql/CocoWang-wql-patch-1
Browse files Browse the repository at this point in the history
Add Service Connector blog
  • Loading branch information
chzbrgr71 authored May 23, 2024
2 parents b0f43da + 6e30aa7 commit 527a73b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
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)

0 comments on commit 527a73b

Please sign in to comment.