Giter VIP home page Giter VIP logo

ade's People

Contributors

brandonmartinez avatar caschw avatar charles-pluta avatar joshuawaddell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ade's Issues

Log Analytics Deployment Changes

Log Analytics Deployment Changes

  • Change API version to 2020-08-01
  • Remove "features" section of Properties and Search Version is already set
features: {
            searchVersion: 1
        }

Migrate Scripts from Mitaric GitHub Repo

After making ADE public, migrate all scripts from current repo to ADE repo.

Deployments impacted:

  • jumpbox
  • developer
  • vpn gateway (graphics for markdown file)
  • vmss
  • aks vote
  • hello world primary
  • hello world secondary
  • sql todo
  • cognitive services (graphics for markdown file)

Update Azure Monitor for Virtual Machines Extensions

Performed a recent in-portal update to Azure Monitor for Virtual Machines. The following extensions are now installed:

Windows

  • AzureMonitorWindowsAgent (New)
  • DependencyAgentWindows
  • GuestHealthWindowsAgent (New)
  • MMAExtension

Linux

  • AzureMonitorLinuxAgent (New)
  • DependencyAgentLinux
  • GuestHealthLinuxAgent (New)
  • OMSExtension

Research new extensions and implement in ARM Templates for the following deployments:

  • jumpbox
  • vmss
  • ADE App VMs (Frontend, Backend, etc)

Initial Implementation of "Modules" and/or Scenarios

When deploying ADE, prompt the user to deploy various modules of the ADE app (e.g. App Services, AKS, VMs), and customize the deployed Bicep template to only deploy those modules. Additionally creating "scenarios" the end user can pick from like dev/test/prod to demonstrate the flexibility of IaC as well as to reduce cost of running ADE.

Examples of Modules:

  • AKS
  • VPN/Firewall
  • App Services
  • Virtual Machines/VMSS

Examples of Scenarios:

  • Dev Environment: drop App Services to a Basic tier SKU, etc…

Check For Existing KeyVault When Re-Deploying

If ADE was deployed and then removed, Azure KeyVault may be in a "soft delete" state. When deploying, check if an existing soft-deleted KeyVault is present, and if it is, restore it instead of trying to deploy a new instance.

Create NSG Flow Logs Deployment

Create NSG Flow Logs Deployment

  • Add new storage account for NSG flow logs
  • Create NSG Flow Logs for each NSG in the demo environment

Hello World Certificate

Hello World isn't using the wildcard cert

  1. Add certificate to Key Vault
  2. Import certificate to App Service
  3. Add Binding from cert to App Service

If Docker Image Is Missing, Remove-LocalDockerImages Fails

When running the docker rmi command in Remove-LocalDockerImages, it will fail and end the removal process. We should be able to remove Confirm-LastExitCode lines in that function, since if the removal fails it doesn't really matter.

Server with ADDS

Pre-install Active Directory with same domain name label to allow to demonstrate installing and configuring AD Connect

Customizable Region Support

Allow the user to specify which region the user can deploy into. This could either be any region the user wants, or have suggested region-pairs. Or, have the user choose the primary region and we pick the secondary region as a supported pair.

Update Documentation

Update Documentation

  • Update azure_cognitive_services deployment graphics.
  • Update HelloWorld deployments with new URL locations and Application Settings
  • Update resources with incorrect naming convention

./README.md

Requirements

Note: For MSDN Subscriptions or other Subscriptions that have tighter Resource Limits, open a support ticket and request a quote increase for the following resources:

  • Public IP Addresses (10 - 20)

Assumptions

Note: Deployment assumes default naming convention of Network Watcher Resource Group and Network Watcher Resources per region.

Create "Cohesive Solution" Proposal

We need to come up with the initial design of a cohesive solution for ADE. This may be integrating something like Azure Stream, or Podcastr.

Error When Deleting Azure Policy

Receiving this error when running ade.ps1 -remove:

BadRequestError: The policy set definition 'Azure Demo Environment Initiative' cannot be deleted. It is referenced by the policy assignment '/subscriptions/{SUBSCRIPTION_ID}/providers/Microsoft.Authorization/policyAssignments/Azure Demo Environment Initiative'. Please delete all policy assignments referencing the policy.
An error occurred: An error occurred executing the previous command. Check its output for more details.

Application Insights Deployment Changes

Make modifications to Application Insights JSON in the following deployments:

  • Image Resizer
  • Hello World Primary
  • Hello World Secondary
  • SQL ToDo

Adjust properties as shown below:

properties: {
        Application_Type: 'web'
        WorkspaceResourceId: logAnalyticsWorkspace.id
    }

Implement Substring function for SA name

Issue:
If parameter name for alias is too long some resources won't be deployed.

{'additionalProperties': {}, 'code': 'InvalidTemplateDeployment', 'message': "The template deployment 'AzureAppServiceImageResizerDeployment' is not valid according to the validation procedure. The tracking id is '0c6a2423-55ad-44ec-8ce8-a096c43eeaf7'. See inner errors for details.", 'target': None, 'details': [{'additionalProperties': {}, 'code': 'PreflightValidationCheckFailed', 'message': 'Preflight validation failed. Please refer to the details for the specific errors.', 'target': None, 'details': [{'additionalProperties': {}, 'code': 'AccountNameInvalid', 'message': 'sakuhlmanlabseusasimgreszr is not a valid storage account name. Storage account name must be between 3 and 24 characters in length and use numbers and lower-case letters only.', 'target': 'sakuhlmanlabseusasimgreszr', 'details': None, 'additionalInfo': None}, {'additionalProperties': {}, 'code': 'AccountNameInvalid', 'message': 'sakuhlmanlabseusfaimgreszr is not a valid storage account name. Storage account name must be between 3 and 24 characters in length and use numbers and lower-case letters only.', 'target': 'sakuhlmanlabseusfaimgreszr', 'details': None, 'additionalInfo': None}, {'additionalProperties': {}, 'code': 'AccountNameInvalid', 'message': 'sakuhlmanlabseusbkpimgreszr is not a valid storage account name. Storage account name must be between 3 and 24 characters in length and use numbers and lower-case letters only.', 'target': 'sakuhlmanlabseusbkpimgreszr', 'details': None, 'additionalInfo': None}], 'additionalInfo': None}], 'additionalInfo': None}

Resolution:
Implement substring function for alias when its applied to SA name value.

App Service Plan and App Services Roadmap

Due to changes in Azure App Services and feature enhancements, there is a need to consider a change to App Service Plans and App Services.

  • Immediate fix was to remove the AppServiceAntivirusScanAuditLogs Diagnostics Setting, as this setting can only be associated with Premium or higher App Service Plans.
  • There is a future need to move to Premium App Service Plans to incorporate Private Endpoints for frontend access to App Services. Linux P1V2 plans are more cost effective than Windows P1V2 plans.
  • Only SQLTODO cannot run on Linux App Service Plans. It will either need to be refactored, or moved to a Dev/Test plan.

Docker Image Removal Should be Explicit

When running the ADE, Docker images are cleaned up automatically. This should be
an explicit option by the user instead of automatic, in case they already use
these images for other projects.

DNS Deployment Changes

It is necessary to remove the DNS Zone creation deployment due to the need to manually update Name Servers with a registrar. The following tasks need to be completed.

  • Remove DNS Zone creation from deployment and removal scripts.
  • Make the creation of a DNS Zone a PRE-REQUISITE for Azure Demo Environment
  • DNS Zone Resource Group name will need to be established as either a consistent name, or referenced in initial script command
  • Update documentation to reflect changes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.