program. Pulumi serializes it and produces the deployment artifact. Deployed to the single location next to the Cosmos DB account Azure Functions in Pulumi 101 5
program. Pulumi serializes it and produces the deployment artifact. Deployed to the single location next to the Cosmos DB account Azure Functions in Pulumi 101 6 Cosmos DB connection parameters are passed implicitly as the variables. Alternatively, we could set them as application settings.
DNS-based routing service Traffic Manager 17 An endpoint is created to target each region. Endpoints are connected to the targets (Azure Function Apps in this case).
DNS-based routing service Traffic Manager 18 An endpoint is created to target each region. Endpoints are connected to the targets (Azure Function Apps in this case).
DNS-based routing service Traffic Manager 19 An endpoint is created to target each region. Endpoints are connected to the targets (Azure Function Apps in this case).
global Cosmos DB account, Traffic Manager, etc. A custom Pulumi component Global App 25 A factory function creates the infrastructure for a specific use case: both global and regional resources.
global Cosmos DB account, Traffic Manager, etc. A custom Pulumi component Global App 26 A factory function creates the infrastructure for a specific use case: both global and regional resources.
global Cosmos DB account, Traffic Manager, etc. A custom Pulumi component Global App 27 A factory function creates the infrastructure for a specific use case: both global and regional resources.
https://www.pulumi.com/ Globally Distributed close to the users Azure Cosmos DB takes care of distributing the data and low-latency access. Pulumi simplifies the deployment of the compute infrastructure to match the best practices and the target tech stack. Infrastructure as Code Typescript / Python / Go Use the power of programming languages: general-purpose functions, conditions, loops, collection manipulation, compile-time errors, automated testing, refactoring, static analysis, linting. The tools you know and love. Abstractions reusable components Codify the best practices and distribute the implementation among the teams. Both components and applications can evolve over time.
Included! https://www.pulumi.com/blog/globally-distributed-serverless-application-in-100-lines-of-code- infrastructure-included/ • Global App component example https://github.com/mikhailshilkov/pulumi-cosmos/ • Getting Started with Pulumi and Azure https://www.pulumi.com/azure/ Useful Links 37