Skip to content

VictorChin/AppDev-ContainerDemo

 
 

Repository files navigation

AppDev-ContainerDemo

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:

  1. ensure you have a running jumpbox as outlined in the OSSonAzure repository
  2. clone this project from git
  3. mark the scripts as executable
  4. run the 1-create-settings-file.sh environment template file creation script
  5. after editing the template file with your values run the 2-setup-demo.sh script

SCRIPT to Install

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

SCRIPT to Configure Demo 1. Sample ASP.net core app in containers.

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

SCRIPT to Configure Demo 2. Sample ASP.net core app on ACS with Kubernetes.

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

SCRIPT to Configure Demo 3. Sample ASP.net core app on App Service with Linux PaaS.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 75.6%
  • Python 24.4%