Skip to content

Commit

Permalink
Merge pull request Azure#6714 from robe070/feature/ssl-new
Browse files Browse the repository at this point in the history
Feature/ssl new
  • Loading branch information
bmoore-msft authored Jan 6, 2020
2 parents 463ff68 + 8bd4ab5 commit e511ca0
Show file tree
Hide file tree
Showing 5 changed files with 407 additions and 230 deletions.
10 changes: 6 additions & 4 deletions lansa-vmss-windows-autoscale-sql-database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,20 @@ The Autoscale rules are configured as follows
+ A Virtual Network
+ Six Storage Accounts for deploying up to 100 virtual machines
+ Two public ip addresses, one for each Load Balancer
+ One Application Gateway with SSL certificate
+ Two external Load Balancers
+ One Virtual Machine Scale Set to contain the single virtual machine which is responsible for configuring the database
+ One Virtual Machine Scale Set to contain the number of web servers requested by the deployer
+ The Virtual Machines are all instantiated from the Marketplace LANSA SKU lansa-scalable-license. There is a software cost for using this image. [Click here](https://azure.microsoft.com/en-us/marketplace/partners/lansa/lansa-scalable-license/) for details.
+ One Azure SQL Database server with one database, configured as per settings provided by the deployer
+ Optionally, one Azure SQL Database server with one database, configured as per settings provided by the deployer

## Prerequisites

Before deploying this template you must:
- Construct your LANSA application using [Visual LANSA for Web Development](https://azure.microsoft.com/en-us/marketplace/partners/lansa/visuallansa/) Version 14.1 with EPCs 141010, 141011 and 141013 applied, or later.
- Construct a deployment image MSI using the LANSA Deployment Tool provided with [Visual LANSA for Web Development](https://azure.microsoft.com/en-us/marketplace/partners/lansa/visuallansa/).
- Construct your LANSA application using [Visual LANSA](https://www.lansa.com/products/visual-lansa.htm) Version 14.1 with EPCs 141010, 141011 and 141013 applied, or later.
- Construct a deployment image MSI using the LANSA Deployment Tool provided with [Visual LANSA](https://www.lansa.com/products/visual-lansa.htm).
- Upload your LANSA Web Application MSI to Azure BLOB storage and obtain the URL of the MSI. Note that the template includes a demonstration application so it is not strictly necessary to create a LANSA MSI in order to use the template.
- Obtain an SSL certificate for your web site and convert it to a base64 encoded string. To get the certificate data from a pfx file in PowerShell you can use this: [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes("path to pfx file"))
- Its also highly recommended to follow the usage instructions below :)

## Usage Instructions
Expand All @@ -61,7 +63,7 @@ For full instructions for using this template go to [Azure Deployment Tutorial](

## Notes

1. Two VMSS. One to install the database; 1 to run the web site. OverProvision = false. This is so that extra VMs are not created which would put more load on the database which slows down provisioning. Failure to provision has not been seen. A second reason is that the database installer VMSS MUST NEVER have more than 1 instance installing at a time. Errors occur when publishing the weblets. As well as the database state not being matched to what the VM thinks the state of the database is in terms of table creation, etc.
1. Two VMSS. One to install the database; one to run the web site. OverProvision = false. This is so that extra VMs are not created which would put more load on the database which slows down provisioning. Failure to provision has not been seen. A second reason is that the database installer VMSS MUST NEVER have more than 1 instance installing at a time. Errors occur when publishing the weblets. As well as the database state not being matched to what the VM thinks the state of the database is in terms of table creation, etc.
1. Database VMSS
1. Only 1 instance ever. If instance dies another one is created.
2. This instance is not currently used by the web site as 1 load balancer may only be configured for a single VMSS.
Expand Down

This file was deleted.

Loading

0 comments on commit e511ca0

Please sign in to comment.