Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

An Azure Resource Manager template for an environment suitable for rails production deployments

Notifications You must be signed in to change notification settings

JamesCarscadden/arm-rails-deploy

Repository files navigation

arm-rails-deploy

An Azure Resource Manager template for an environment suitable for rails production deployments

Staging -

This template will install a simple Ubuntu linux server with a docker container for a Postgres DB, this is suitable for a staging environment or similar. This script also installs the Azure Linux OS Patching extension, so OS updates will be applied at scheduled intervals, and the server rebooted if necessary. As such this is not suitable for production deployments, as the server is not part of an availability group.

Deploy

  1. Using Azure CLI

Clone the files to your local machine, and then open a terminal at the cloned directory. Make sure you are logged in using azure cli, and that you are in Resource Manager mode. (More on how to do that at the link below)

azure group create <resource group name> <location>; azure group deployment create -v -f RailsBuildAgent.json <resource group name> <deployment name>

https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-azure-resource-manager/

  1. Using Powershell

https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/

  1. Using Azure Portal

Click the "Deploy to Azure" button above.

About

An Azure Resource Manager template for an environment suitable for rails production deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages