Skip to content

KapilThakkar/Microsoft-Azure-ROR

Repository files navigation

Day Planner App

Introduction

Get hands-on and learn how to build and deploy PostgreSQL Database Services and Ruby on Rails application on Azure.

Pre-requisites for the Lab

If you don't have an Azure subscription, create a free account before you begin.

Deployment Instructions

Perform following steps to deploy Ruby on Rails web application in Azure and connect it to PostgreSQL.

  1. Click on Deploy to Azure button above. You will be redirected to custom deployment window of Azure Portal.

  2. On Custom deployment page, select Subscription type for Web Application deployment in Basic category.

  3. Create new or use existing Resource Group. An Azure resource group is a logical container into which Azure resources like web apps, databases and storage accounts are deployed and managed. Learn more here.

  4. Select Location from the available locations for web application deployment.

  5. Select App Service Plan. It is pricing model for hosting application, default value is set to F1 which represent free service.

  6. The Repo Url is the Github repository url of web application. The default value is set to the current GitHub repository Url which contains sample Ruby on Rails application source code which connects with PostgreSQL database created with the ARM template. Leave it as is for this demo

  7. Ths Branch is branch name of Github repository where code resides, leave it as is for this demo.

  8. Provide the Postgre SQL Compute Unit or leave it as it. Learn more about Compute Unit

  9. The Postgre SQL Storage GB is the size of physical memory (in GB) for PostgreSQL Database. Learn more about Storage Unit

  10. Administrator Login is username for PostgreSQL Database.

  11. Administrator Login Password is password for PostgreSQL Database. It must contain character from three of the following categories – English uppercase letters, English lowercase letters, number (0-9), and non-alphanumeric characters (!, $, #, %).

  12. Select Postgre SQL Version for PostgreSQL Database.

  13. Select Postgre SQL Location from available locations for PostgreSQL Database.

  14. Mark Check I agree to the terms and conditions stated above checkbox.

  15. Click on Purchase button.

It will take few minutes to deploy web application and create PostgreSQL Database, after successful deployment you can browse web application.

Clean up

To clean up the Azure assets:

  1. Login to the Azure portal.
  2. Delete the resource group created as part of the deployment – It will have the same name as the prefix used as part of the deployment step. Internally this will delete all the child resources created in Azure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published