This device is not compatible.

Deploy a Ruby On Rails and PostgreSQL App Using Azure CLI

PROJECT


Deploy a Ruby On Rails and PostgreSQL App Using Azure CLI

Learn to deploy a Ruby on Rails application with PostgreSQL database on Azure Cloud using Azure command line tools.

Deploy a Ruby On Rails and PostgreSQL App Using Azure CLI

You will learn to:

Deploy a fullstack application on the Azure cloud.

Create and configure the Azure PostgreSQL database.

Use the Azure CLI to configure cloud applications.

Use the Azure CLI to deploy a Ruby-on-Rails application.

Skills

Cloud Deployment

Azure Cloud Services

DevOps

Prerequisites

Intermediate knowledge of Azure CLI

Basic knowledge of Azure resources

Microsoft Azure subscription

Technologies

Git

Azure

PostgreSQL

Azure Repos

Ruby On Rails

Project Description

In this project, we’ll deploy a custom Ruby on Rails (RoR) application to the cloud using the Azure CLI. The application we’ll deploy is a simple e-learning course catalog with a PostgreSQL database for storage. We’ll create and configure our application resources to deploy them to the cloud using Azure command-line tools. To deploy a Ruby on Rails application on Azure cloud, we’ll use git commands to push the code to a git repository on Azure.

Azure is a cloud computing service operated by Microsoft for application management via Microsoft-managed data centers.

The simple e-learning course catalog application we’ll deploy shows a list of courses with a search bar that allows users to browse available courses. The data is being loaded from a PostgreSQL database.

The layout of the website, which will be accessible via a dynamic URL, looks like this:

Application homepage
Application homepage

Project Tasks

1

Initial Setup

Task 0: Get Started

Task 1: Azure CLI Configuration

2

Deploy the Postgres Database

Task 2: Create a Resource Group

Task 3: Create a Postgres Database in Azure

Task 4: Set Up the Firewall Rules

3

Connect the Database to the Application

Task 5: Configure the Application

Task 6: Execute the Application in Production Mode

4

Azure Services and Configuration

Task 7: Add a Deployment User

Task 8: Create an App Service Plan

Task 9: Create an App Service

Task 10: Configure the Database Settings

5

Deploy to Azure

Task 11: Configure Deployment Branch

Task 12: Deploy the Application

6

Clean Up

Task 13: Delete the Resource Group

Congratulations!