[https://paulyukstoragev2.blob.core.windows.net/flex-under-hood/functions-scale-under-hood.pptx]
[https://gist.github.com/paulyuk/7609612ad5330e4e3aaf66b844b93075]
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "sites_py_flex_beta_function2_name": { | |
| "defaultValue": "py-flex-beta-function2", | |
| "type": "String" | |
| }, | |
| "serverfarms_py_flex_beta_function2FlexPlan_externalid": { | |
| "defaultValue": "/subscriptions/ca5ce512-88e1-44b1-97c6-22caf84fb2b0/resourceGroups/py-flex-beta-2/providers/Microsoft.Web/serverfarms/py-flex-beta-function2FlexPlan", |
This shows how to take a simple Function App (e.g. the output of our client tools templates for a trigger or binding) or a simple sample and "modernize" it from using ConnectionStrings and secrets in favor of Managed Identity and RBAC.
| apiVersion: dapr.io/v1alpha1 | |
| kind: Component | |
| metadata: | |
| name: statestore | |
| spec: | |
| type: state.redis | |
| version: v1 | |
| metadata: | |
| # These settings will work out of the box if you use `helm install | |
| # bitnami/redis`. If you have your own setup, replace |
Here are all the demos shown in our session with full repos, azd templates, and a few notes. Enjoy, and let us know what you think! -- Scott and Paul
| { | |
| "id": "foo", | |
| "customerId": "1", | |
| "text": "Cosmos DB is a fully managed NoSQL, relational, and vector database. It offers single-digit millisecond response times, automatic and instant scalability, along with guaranteed speed at any scale. Business continuity is assured with SLA-backed availability and enterprise-grade security.", | |
| "hash": "ce13da7c7cdd911e90d846b66c58ac4db6e964c8c8ff1fef1c90d6695ae7e083", | |
| "vectors": [ | |
| -0.004219152, | |
| 0.04899512, | |
| 0.06557241, | |
| 0.016116815, |