Skip to content

How to deploy a gRPC on Azure API management, this include complete APIM setup and backend to connect with APIM

Notifications You must be signed in to change notification settings

shailugit/apimGrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

How to deploy a gRPC on Azure API management

This is a complete guide with steps by step process to deploy the gRPC and how to use Azure API Management to import the gRPC API. The major steps claissfied as below.

- Create a .NET gRPC server application
- Create a .NET gRPC client application
- Test the setup locally 
- Publish the .NET gRPC server to Azure WebApp
- Deploy the self hosted gateway on Azure API management.
- Import the gRPC API in API Management
- Update the .NET gRPC client application to test using API management. 

Step-1 As a first step we will be building a .NET gRPC server application. You can skip this step in case you already have gRPC server application. If you would like to view .NET Core sample used for this sample project, please visit here.

Step-2 As a second step we will be building a .NET gRPC client application. You can skip this step in case you already have gRPC client. If you would like to view .NET Core client used for this sample project, please visit here.

Step-3 Once your client and server code is ready here are the steps to Test your application locally

Step-4 Deploy the server to Azure WebApp Please make sure to enable HTTP version, Enable HTTP 2.0 Proxy and add HTTP20_ONLY_PORT application setting as gRPC only work using http2.0 as shown below image info image info please visit here.

Step-5 Deploy the self hosted gateway on Azure API management as explianed here

Step-6 Import the gRPC API in API Management and enable the http2 in API management as shown below image info Ref this link

Step-7 Update the .NET gRPC client application to test using API management.

About

How to deploy a gRPC on Azure API management, this include complete APIM setup and backend to connect with APIM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published