1 of 17

Azure Cloud Developer

Migrate App to Azure

Dhruv Kinger

Udacity Mentor | SWE at Aplos Global Ltd

With Udacity >1 Year

2 of 17

2

Agenda

  • Project Summary�
  • Pain point #1- Postgres Db Configuration�
  • Pain point #2 - Monthly Analysis & Architecture Explanation

  • Pain point #3 - Azure Service Bus Configuration�
  • Q&A

3 of 17

PROJECT SUMMARY

4 of 17

4

Project Summary

The TechConf website allows attendees to register for an upcoming conference. Administrators can view the list of attendees and notify all attendees via a personalized email message.

Skills Covered

  • Azure Portal Overview
  • Databases Working
  • Deployment on Cloud Servers
  • Flask Application Working
  • Service Bus Queue

5 of 17

5

Environment Setup

You will need to install the following locally:

6 of 17

Pain point #1

Postgres Db Configuration

7 of 17

7

Postgres Db Configuration #1

  • Azure Database for PostgreSQL is a relational database service based on the open-source Postgres database engine.
  • You can manage Azure Database for PostgreSQL servers by using the Azure Portal or the Azure CLI.
  • An Azure Database for PostgreSQL server has default databases: postgres, azure_maintenance, azure_sys.
  • Database Backup files is in the Project starter code.

8 of 17

8

Postgres Db Configuration #1 continued

Azure Portal

PgAdmin

9 of 17

9

Postgres Db Configuration #1 continued

Azure Cosmos DB vs PostgreSQL: What are the differences?

  • Azure Cosmos DB belongs to "NoSQL Database as a Service" category of the tech stack, while PostgreSQL can be primarily classified under "Databases”.
  • Cosmos Db is a fully-managed, globally distributed NoSQL database service built for fast and predictable performance, high availability, elastic scaling, global distribution, and ease of development;
  • PostgreSQL is a powerful, open source object-relational database system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries and functions.

10 of 17

Pain point #2

Monthly Analysis & Architecture Explanation

11 of 17

11

Monthly Analysis & Architecture Explanation #2

You can use the Azure Pricing Calculator to find monthly cost.

See one of the sample below.

12 of 17

12

Monthly Analysis & Architecture Explanation #2

13 of 17

Pain point #3

Azure Service Bus Configuration

14 of 17

14

Azure Service Bus Configuration #3

  • Azure Service Bus is fully managed service whose scaling and availability will be taken care by Azure team.
  • It is integrated with other Azure services like, Event Grid, Logic Apps, Stream Analytics etc.
  • It provides reliable and secure asynchronous message communication platform along with facility of delayed processing of events or data.
  • Shared Access Signatures (SAS), Role Based Access Control (RBAC) and Managed Service Identity (MSI) protocols are supported by it.
  • It also supports client libraries for .NET, Java, JMS.

15 of 17

15

Azure Service Bus Configuration #3 continued

16 of 17

16

Azure Service Bus Configuration #3 continued

17 of 17

Q&A