Tag: azure

Lab: Tip/Code sample Generating Dynamic Open Graph Images with Azure Functions

Oct 08, 2020 · 6 min read

Open Graph (OG) tags allow you to control what content shows up when you share the webpage on major social media sites such as Facebook, Twitter, and Google. The essential Open Graph properties that you must configure in the <head> section of your webpage are the following. og:title: The title of your webpage. og:image: An image URL displayed as the thumbnail of your webpage when it is shared. The recommended dimension of this image is 1200px X 627 px.

#azure#compute

Read more of Generating Dynamic Open Graph Images with Azure Functions

Lab: Tip/Code sample Enable TLS on HTTP Triggered Function App in Kubernetes Using KEDA and NGINX

Sep 26, 2020 · 4 min read

With KEDA (Kubernetes-based Event-Driven Autoscaling), you can host Azure Functions on Kubernetes. KEDA allows you to scale pods based on configurable rules that rely on metrics from data sources such as Azure Queue. The Microsoft documentation outlines how you can use the Prometheus scaler to scale HTTP triggered Azure functions. However, it does not discuss the the security of the transport channel in detail. This quick tip will demonstrate how you can expose your HTTP triggered Azure Functions over TLS/SSL (HTTPS endpoint).

#azure#kubernetes

Read more of Enable TLS on HTTP Triggered Function App in Kubernetes Using KEDA and NGINX

Dynamic Admission Control in AKS with Azure Functions

Sep 20, 2020 · 15 min read

This article is part of #ServerlessSeptember. You’ll find other helpful articles, detailed tutorials, and videos in this all-things-Serverless content collection. New articles from community members and cloud advocates are published every week from Monday to Thursday through September. Find out more about how Microsoft Azure enables your Serverless functions at https://docs.microsoft.com/azure/azure-functions/. Nov 02,2020: The implementation of validating webhook Azure Function that uses Azure Communication Service is available in the feature/impl-azure-comm-service branch.

#azure#kubernetes#compute

Read more of Dynamic Admission Control in AKS with Azure Functions

Lab: Tip/Code sample No Code Incident Management System with Azure Logic Apps

Sep 06, 2020 · 8 min read

In this lab, we will create an Azure Logic App that monitors Twitter, analyzes the sentiment of customer tweets with Text Analytics v2 service, and creates incidents in Pager Duty. PagerDuty is an incident management platform that provides reliable notifications, automatic escalations, on-call scheduling, and other functionality to help teams detect and fix problems quickly. This application can help customer service agents react swiftly to customer complaints and avoid brand reputation damages.

#azure#integration

Read more of No Code Incident Management System with Azure Logic Apps

Cheapskate’s Journey to On-Demand Load Tests on Heroku with Locust

Jun 20, 2020 · 17 min read

I want to stretch every dollar that I spend on the cloud. I run a handful of web applications on Heroku, and like everyone else, run a suite of smoke tests and load tests on every release increment in a non-production environment. Load tests are important: they help us not only to understand the limits of our systems but also bring up issues that arise due to concurrency, which often escape the realms of unit tests and integration tests.

#azure#heroku#devops#programming

Read more of Cheapskate’s Journey to On-Demand Load Tests on Heroku with Locust

Using Startup Command to Pass Command Line Arguments to Azure App Service for Linux

Jun 06, 2020 · 6 min read

Azure App Service on Linux has several pre-fabricated Docker images that support applications written in languages such as .NET core, PHP, and Node.js. App Service also supports using your own Docker image to spin up a container for your application. A useful configuration feature of App Service on Linux is the Startup File configuration that you can set as part of configuring the runtime stack. The value that you specify for the configuration overrides the CMD instruction of the Dockerfile that creates the runtime of the application.

#azure#app-service

Read more of Using Startup Command to Pass Command Line Arguments to Azure App Service for Linux

Durable Cloud Event Production from Knative Container Source with Azure Durable Task Framework

Jan 15, 2020 · 11 min read

Knative is an excellent platform for building, deploying and managing serverless workloads on Kubernetes. The Serving resources of Knative extend Istio to support serverless applications. Another class of resources of Knative called Eventing extend Istio to support the production and consumption of Cloud Events. Knative offloads the responsibility of scaling the workloads from the users by only activating pods when they receive a request. It scales out the workload pods based on the number of requests and scales pods down to zero when they are idle.

#azure#kubernetes

Read more of Durable Cloud Event Production from Knative Container Source with Azure Durable Task Framework

Enhance Integrated CI and CD in Azure Pipelines as Code With Key Utils: Binary Logger and Report Generator

Dec 03, 2019 · 12 min read

If you are using Azure DevOps for building and deploying your .NET core applications, then you should consider the following. Azure Pipelines now supports composing both the build and release stages as code. You can now combine your CI and CD pipeline definitions into a single pipeline definition that lives within the same repository as the application code. Turn on binary logging in MSBuild so that you receive exhaustive structured logs from the build process.

#azure#devops#compute

Read more of Enhance Integrated CI and CD in Azure Pipelines as Code With Key Utils: Binary Logger and Report Generator

IoT Edge Device Monitoring and Management with Azure Durable Entities Functions - Part 2

Jul 13, 2019 · 12 min read

In this series IoT Edge Application Azure Durable Entities Function In the last article, we built and tested a simple IoT Edge application that simulates temperature telemetry based on the command that it receives. We also created a test client that can invoke Direct Method on the device. Today we will build monitoring and management capabilities for our IoT Edge device using Azure Functions. One critical consideration that I would like to bring to your attention is the demand for this solution to stay mostly connected.

#azure#internet-of-things#compute

Read more of IoT Edge Device Monitoring and Management with Azure Durable Entities Functions - Part 2

IoT Edge Device Monitoring and Management with Azure Durable Entities Functions - Part 1

Jul 01, 2019 · 12 min read

In this series IoT Edge Application Azure Durable Entities Function IoT systems involve many devices, each of which maintains a small internal state. The Actor Model is a good fit for representing IoT devices in the cloud because of its inherent fault tolerance, concurrency controls, performance, and scalability. I wrote about the Actor Model and Orleans (virtual actor based implementation) in one of my previous articles here.

#azure#internet-of-things#compute

Read more of IoT Edge Device Monitoring and Management with Azure Durable Entities Functions - Part 1