OSS on Azure Demos framework - AppDev with simple containers
This project builds from the https://github.com/dansand71/OSSonAzure environment setup. This demo shows:
- Linux Containers on Azure with Docker, K8S and Azure Linux PaaS and .NET Core
- Azure Management integration with Application Insights and OMS for containers and Linux infrastructure
- Image creation and migration to Azure for RHEL, Centos and Ubuntu VM's
- and many more to come....
To get started with these demo's:
- ensure you have a running jumpbox as outlined in the OSSonAzure repository
- clone this project from git
- mark the scripts as executable
- run the 1-create-settings-file.sh environment template file creation script
- after editing the template file with your values run the 2-setup-demo.sh script
cd /source
git clone https://github.com/dansand71/AppDev-ContainerDemo
sudo chmod +x /source/AppDev-ContainerDemo/1-create-settings-file.sh
/source/AppDev-ContainerDemo/1-create-settings-file.sh
The script installs / updates:
- Azure CLI v2 on the Jumpbox server
- Docker CE 17
- Docker compose
Configures Azure:
- Creates ossdemo-appdev-acs resource group, opens port 22
- Creates ossdemo-appdev-iaas resource group, opens port 22, 80
- Creates ossdemo-appdev-paas resource group, opens port 80
Creates:
- 2 docker CENTOS servers in ossdemo-appdev-iaas RG
- 1 kubernetes cluster with 1 master and 3 agents
DEMO's Available:
- template aspnetcore on linux mvc app. Demonstrate IaaS deployment with Ansible, Private Registry, ACS with Kubernetes, Azure App Service with PaaS
- eShopOnContainer demo - multi-tier application showing microservices and SQL On Linux
cd /source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/iaas
/source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/iaas/1-build-deploy-containers
cd /source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/acs
/source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/acs/1-deploy-expose-service.sh
/source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/acs/2-browse-k8s-cluster.sh
/source/AppDev-ContainerDemo/sample-apps/aspnet-core-linux/demo/acs/3-republish.sh