Contains all the files for the Infrastructure as Code Demo.
Slideshow link: https://docs.google.com/presentation/d/17XSupy667ZV3nhd2i4RYQpssc_9lXVLQeNBVUBd529A/edit?usp=sharing
To get started you will need two items. A pre-existing virtual network and a storage account to store the bootstrap scripts and MSIs to install on the servers.
The MSIs used in the demo can be found at:
- https://s3.us-east-2.amazonaws.com/octopus-iac-demo/DLMAutomation.zip
- https://s3.us-east-2.amazonaws.com/octopus-iac-demo/Octopus.Tentacle.zip
To help build out the demo resource group an ARM template is stored in this repository in the Azure / ArmTemplates folder there is a file called "PreExistingResourceGroup.json."
The storage account should have a container called "bootstrap."
That container should contain all the bootstrap PowerShell files.
The storage account should also have a file share called "installer."
The zip files from the S3 bucket should be extracted to that share.
You can connect that file share as a network share by clicking on the connect button.
Clicking that button will provide you the necessary scripts to do that.
Make note of the account key. That needs to be passed into the Azure Resource Template.
In addition to the ARM template variables you will need to define the following variables which Octopus will automatically replace using OctoStache.
- Global.Database.AdminUser
- Global.Database.AdminPassword
- Global.Octopus.Url
- Global.Octopus.ApiKey
- Global.Octopus.ServerThumbprint
- Octopus.Environment.Name
- Project.Role.Web.Name
- Project.Web.VM.Name
- Azure.Installers.Share.Key
- Azure.Installers.Share.Name