As part of a blog series on deploying a Rails applications on Azure with increasing levels of DevOps maturity. See: todo:add_link
This Todo app runs an ember frontend which depends on a Rails backend. It illustrates the scripted level of DevOps maturity (Level 1).
- Mongoid
- Rails API Stack
- Active Model Serializers for JSONAPI serialization
- /api/v1/todo_lists
- /api/v1/todo_items
- Standard
- Azure CLI
- Azure Virtual Machines
- Key Vault Secrets
- Custom Script Extension
- Azure Document DB
- Azure Key Vault
- Azure Active Directory Service Principal
- (optional) Azure Scale Sets
- Clone the repo and
cd
into the root of the repo - Run
./scripts/provision
. This will build all of the Azure infrastructure.- change
set -eu
in./scripts/provision
toset -eux
if you'd like see verbose / debug script output.
- change
- From the root of the repo,
cd api-ruby
. - Run
bundle exec cap production deploy:initial
. This will deploy the Ember / Rails Todo application to your Azure infrastructure. - Run
echo http://$(az network public-ip show -g level1 -n level1-vmss --query 'dnsSettings.fqdn' -o tsv)
to get th