Archiving your loganalytics with Azure Automate
source: https://github.com/chrisvugrinec/azure-omslogs2blob.git In this example I show how you can create an Azure Automate job written in python and schedule the execution of this runbook. This example gets data from LogAnalytics, converts this data to a csv file and persists the data to a cheaper form of (Azure) storage, blob storage.
Containerized cloudapp example
This applications' backend runs on a managed kubernetes cluster (Azure AKS) and the frontend is available as Serverless instance (Azure Container Instance). All images are stored in a private registry (Azure Container Registry) It uses Azure Paas solutions like: Keyvault: for storing secrets, CosmosDB for storing results, Redis Cache for temp storage. Frontend is a java Springboot app which you can only access when Authentication on your configured Azure AD tenant and backend is simple Python and shell code.
Openshift on Azure
Setup Openshift origin on Azure and get started with developing and deploying a web application. Code for setup on Azure: https://github.com/chrisvugrinec/azure-openshift, Code for python app: https://github.com/chrisvugrinec/azure-openshift-pythonflaskapp, Code for java springboot app: https://github.com/chrisvugrinec/azure-openshift-javaspringbootapp
Config authentication on linux with Azure Active Directory - domain join
Authenticate your Linux VM’s utilising Azure Active Directory…see here how. By syncing your on premise Active Directory with Azure AD you have an Enterprise solution, especially with the policies and restrictions enabled by using AAD Premium (for eg Multi Factor authentication). Documentation: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-join-rhel-linux-vm
Develop blockchain contracts on private network with Azure powered VM's
This explains how to use the code on: https://github.com/chrisvugrinec/demo-ethereumonazure With this you can setup your own private eth network and deploy your own contracts. All of this on your favorite cloud provider...Azure 🙂
Fabric8 dev on Azure with Kubernetes
Fabric8 is a collection of open source tools that enables people to develop/deploy/ test on kubernetes. From start to end fabric8 enables you to guide your app from dev pipeline to production. Here is a demo of a springboot app that is using a fabric8-springboot archetype and is deployed on kubernetes with the maven fabric8 plugin. Used source code is found here: https://github.com/chrisvugrinec/azure-fabric8-with-acsonk8 In order to get this working on Azure, use the Ingress controller: Ingress controller kubectl apply -f http://central.maven.org/maven2/io/fabric8/devops/apps/ingress-nginx/2.2.334/ingress-nginx-2.2.334-kubernetes.yml kubectl label node [node name] --overwrite fabric8.io/externalIP=true AND per node add the following to your docker daemon: --insecure-registry=10.0.0.0/8 Azure Container Service only accepts 127.0.0.1 as insecure registry by default. By adding this line in the /etc/systemd/ .... you will accept the default repo from fabric8 as well 🙂
How to create a java webapp and run it as Azure Web App
This shows you how to create a java webapp using the maven-webapp archetype. Then it shows you how to deploy this as an Azure Webapp. Create a CICD pipline with VSTS and it shows you how to use a deployment slot for production like scenarios. Sourcecode is here: https://github.com/chrisvugrinec/azure-webapp-java
Gluster on Azure
This shows you how you can easily setup a gluster cluster on Azure, using Ansible in combination with Azure ARM templates. Sourcecode for this: https://github.com/chrisvugrinec/azure-glusterfs-demo
Springboot Authentication with Azure AD and MFA
This simple HelloWorld app is written in Java with the Springboot framework, sourcecode https://github.com/chrisvugrinec/azure-springboot-aad-mfa. This application uses Azure AD as authentication provider and enforces Multi Factor Authentication.
Azure IOT demo in java
Sourcecode for this can be found here: https://github.com/chrisvugrinec/azure-iothub/ .This is written in java and does the following: Creates azure resources needed for this demo, the resources are: IOTHUB, for ingestion. Stream Analystics for parsing data from 1 endpoint to another. Azure ServiceBus which provides a queue. The Device messages are persisted here. Finally it also generates a documentDB where devices and device data is stored as well. With the java web app you register an -n amount of devices. with the docker client you emulate a device (with an orchestrator you can scale this 🙂 You will see messages being ingested and persisted on the queue.
deploy elk stack on Azure
Code needed for this: https://github.com/chrisvugrinec/azure-kube-elk . This creates 1 azure vnet that contains your elastic machines in a elastic cluster…you can always expand the cluster with 1 extra machine with the provided script. The other vnet contains a kubernetes cluster that is used for logstash ingress and kibana for querying the elastic search data. Vnet’s are connected with net peering, a script for this is provided as well. A loadbalancer is used for internal communication between the elk components. Finally there is a springboot app that logs to the logstash server(s) ..the logging will appear in elastic search and will be visible in kibana..there you go!!
Azure Logic App example Twitter with sentiment analysis
A simple app which can be used in presentations when talking about Azure Logic Apps. source code available on https://github.com/chrisvugrinec/azure-logicapp-twitterdemo.git
rancher demo on azure
sourcecode here: https://github.com/chrisvugrinec/azure-rancher.git shows you how to create an azure infra in combination with several container orchestration frameworks using the awesome rancheros image
03-04 Config CICD VSTS pipeline for ACS using Kubernetes
This shows you how to setup a CICD pipeline with VSTS using Azure Container Service and Kubernetes. The code can be found here: https://github.com/chrisvugrinec/ms-buddyfinder/tree/master/04_vsts
02 Create and install puppet modules
This is the instruction for the 2nd part of the demo. Code is on: https://github.com/chrisvugrinec/ms-buddyfinder/tree/master/02_azure-infra This demonstrates a couple of puppet modules that are responsible for creating the azure components that are required for my demo.
01 Config Puppetmaster Azure gems
This contains the steps for the code in https://github.com/chrisvugrinec/ms-buddyfinder/tree/master/01_puppet .Configuring the puppet master and puppet gems so it can manage your resources on Azure. This shows you how to build a buildagent masterless, just by applying a puppet template
Puppet on Azure
This is the ‘see it in action’ for the code on: https://github.com/cvugrinec/microsoft/tree/master/azure-puppet .Setting up a puppet master and 2 machines that are being managed…all on Azure. Also showing you how to create a custom module, make it available on the master and then apply it on the machines with the puppet agent running on them.
Azure Batch with Docker demo
This shows you how to use docker in combination with Azure Batch. Code you can find on: https://github.com/cvugrinec/microsoft/tree/master/azure-batch/gis-ahndockerjob . Azure Batch in combination with docker is awesome!!! Large compute power at your fingertips
Setting up Kubernetes on Azure using ACS
This demo uses the sources from: https://github.com/cvugrinec/microsoft/tree/master/acs-kubernetes . It creates a docker image that contains the azure cli tooling, the go-lang code for creating the acs kubernetes template file and the kubectl for managing the kubernetes cluster. Using this you can give a Kubernetes on Azure demo in a couple of minutes, showing the power of this awesome container technology on one of the most powerful cloudplatforms: Azure. Further more you will see a webapp being deployed on a replication set, then being exposed as a service and eventually even exposed via a public IP and Azure LoadBalancer....cool stuff
Azure Media Services demo
Removed the flic from the AMS container, this is the demo that goes with the github project on: https://github.com/cvugrinec/datalinks/tree/master/MPlayerService
Config Azure AD authentication on Tomcat
This shows a webapplication build in java and deployed on a tomcat container. The secure part of the webapplication is authenticated through a custom JAAS authenticator that uses the ADAL lib. Adal authenticates through Azure Active Directory, you can find the sourcecode and description over here: https://github.com/cvugrinec/microsoft/tree/master/java-webapp-tomcat-aad/
Config authentication on linux with Azure Active Directory
This video shows how you can configure authentication using Azure Active Directory on your linux machine. I am using Ubuntu 14.04 in this demo...created an install script for this, you can find the sources on : https://github.com/cvugrinec/microsoft/tree/master/adal-auth-ubuntu/aad-login . Azure Active Directory is uberawesome!!!! you can sync AAD with your on-premise AD, you can easily configure SSO, it's scaleable...proven technology...etc etc ..the list goes on!!! Please note that I had to implement 2 hacks (see code), the stuff used in the demo is not production ready ...for this you need to do some more research, this is a good start for a POC docker commands: docker run -it -p 2222:22 cvugrinec/ubuntu-git-ssh:14.04 /bin/sh
Azure Container Service DCOS demo
this is the demo for the Azure container service presentation. It contains basic docker stuff, deployment example on how to deploy with jenkins on remote machine and deploy docker instances on multiple machine with container orchestration from MESOS…using the Azure Container service template
using docker-machine on azure
this demo shows you how to deploy a simple java web application as a docker container locally and then on azure…a seamless development and test experience.
Steps are described in http://datalinks.nl/wordpress/?p=428