Skip to main content

4 posts tagged with "cloud"

View All Tags

· 4 min read

Overview

As per a survey, 57% of young individuals agreed they do not have the right connections to find a mentor and more than 50% of them couldn't find a job that they are passionate about. As a result I was exploring if there is any platform that would solve this major problem. Yes, there are some existing online apps but those don't serve the complete purpose to the extent that i expected. I decided to start a pet project to build this platform during my spare time , in this post i will be sharing the architecture of the application and how i was able to quickly spin up this application.

 Prerequisites to build and deploy

As an Azure fan, i have used Azure as the cloud platform to deploy this solution. Here are some prerequisites first:

  • An Azure account (don’t worry, deploying this app costed me almost nothing, you can use free trial)
  • node and npm (preferably the latest versions)
  • VSCode and Android Studio

As i explained in the previous posts, Cosmosdb and Azure Functions are great combo to build applications and deploy in quick time without worrying about underlying infrastructure. You can read about some of the reference architectures i have posted in the past from the below links,

Let me dive into each component in the architecture of 'MentorLab'.

How it works?

MentorLab has been made to scale up the existing students and mentors using Azure Services and Serverless Architecture to provide a cost-economic one stop solution which is dependable and truly secure. The objective is to give the students a platform which is built on a serverless architecture and can be remotely accessed irrespective of geographic location.

There are two facets of this solution

  • Mentor Side - Dashboard (Flutter)
  • Students Side - Mobile App (Flutter)

Azure Services Used 

  • Github Actions
  • Active Directory (A2D)
  • Blob Storage
  • Azure Cosmos DB
  • API Management
  • Azure Functions
  • Monitor

Architecture of MentorMe App

Flutter App is the front end application which is accessed by Mentor and Developer with different types of logins, All the requests from the mobile app will be router via the AppGateway. The backend APIs are built as servelress APIs with Azure functions with the support of Cosmosdb Trigger. Cosmosd's serverless feature is a great offering when building these kind of applications, as it is a cost-effective option for databases with sporadic traffic patterns and modest bursts. It eliminates the concept of provisioned throughput and instead charges you for the RUs your database operations consume. In this scenario, i have chosen Mongo API for the CRUD operations. The APIs are registered as endpoints with the Azure API management with right policies in place.

Some of the additional components you could see in the diagram are the CI/CD pipelines with Github Actions and Azure AD B2C for the authorization, Key vault for storing the connection strings,keys in a secured way. And finally application insights to generate the related metrics and for troubleshooting.

It nearly took just 3 days to build this application and going forward i am planning to add more features such as video conferencing with the help of Azure Communication and Media services . All these components just costs 36$/Month to host this application on Azure.

Hope this reference architecture helps you to kickstart your work for similar application. Feel free to add your thoughts/Questions as comments in the section below. Happy Hacking!

· 4 min read

You might have noticed my recent posts were mostly focused on how to get started and learn Azure in 2020. This post is also to help all Azure enthusiasts to get to know and download all the free ebooks by Microsoft to learn more in depth about Azure. I have added the reference to this blog in my tool Azure 360 as well. There are around 174 ebooks which can be downloadable from the Microsoft site as of now. I have listed the top 60 books which are recommended and liked,shared the most among the social mediums.

Ebooks For Achitects,Developers and Decision Makers

eBook NameDownload
Azure for ArchitectsPDF
Designing Distributed SystemsPDF
Cloud Migration EssentialsPDF
Kubernetes : Up and RunningPDF
Learning Azure Cognitive ServicesPDF
Effective DevOps—Building a DevOps Culture at ScalePDF
How to Containerize Your Go CodePDF
Build and deploy a multi-container application in Azure Container ServicePDF
Build and deploy multi-container application in Azure Service FabricPDF
Kubernetes objects on Microsoft AzurePDF
Azure Serverless Computing CookbookPDF
Create your first intelligent bot with Microsoft AIPDF
Best Practices for Migrating Windows Servers to AzurePDF
Cloud Database Migration EssentialsPDF
Getting started with Apache Spark on Azure DatabricksPDF
15 Lessons Learned: Migrating SAP to the CloudPDF
Learning Node.js Development and deploy on AzurePDF
Cloud Analytics with Microsoft AzurePDF
Grow Your ISV Business with SaaSPDF
Building Intelligent Cloud ApplicationsPDF
Manage your network more effectively with the Azure Networking CookbookPDF
Developer’s Guide to Getting Started with Microsoft Azure Database for MySQLPDF
Developer's Guide to Getting Started with Cosmos DBPDF
Quick Start Guide to Azure SentinelPDF
The Developer's Guide to AzurePDF
Kubernetes on AzurePDF
Professional Azure SQL Database AdministrationPDF
Devops with ASP.NET Core and AzurePDF
Devops for Containerized AppsPDF
Enterprise Cloud StrategyPDF
Implementing a Zero Trust approach with Azure Active Directory PDF
Microsoft Azure Trips and Tips - DataPDF
Azure AD Application Proxy – Adoption Kit – eBookPDF
Azure Active Directory B2B Collaboration – Adoption Kit – eBookPDF
AI for Retail: Learn the scenarios that are driving today's digital consumerPDF
Building IoT Solutions with Azure: A Developer’s GuidePDF
The enterprise developer’s guide to building five-star mobile appsPDF
Modernizing existing .NET appsPDF
Azure Active Directory Company Branding- Adoption Kit – eBookPDF
Azure Migration SQL Server to Azure SQL Database Managed Instance a step by step guidePDF
Azure Active Directory Connect Health- Adoption Kit – eBookPDF
Azure Active Directory Self-Service Group Management – eBookPDF
AI in Action—explore three technical case studies in one guidePDF
Azure Active Directory Identity Protection – eBookPDF
Azure Multi-Factor Authentication – eBookPDF
Azure Privileged Identity Management – eBookPDF
Azure Active Directory Single Sign-On – eBookPDF
Azure Active Directory Self-Service Password Reset – eBookPDF
Azure Active Directory User Provisioning – eBookPDF
Five Principles for Deploying and Managing Linux in The Cloud with AzurePDF
Optimizing Azure Site Recovery (ASR) WAN OptimizersDOC
Azure VM – Oracle 12c on Linux – Configuration Steps – eBookPDF
Azure Strategy and Implementation GuidePDF
Build your first intelligent app with a guide from O’ReillyPDF
Guide to migrate schema & data from Oracle to Azure SQL DBPDF
How to Set up Azure AutomationPDF
Deploy IBM DB2 pureScale on AzurePDF
Azure AD in Windows 10 cloud subscriptionsPDF
Learn Azure in a Month of LunchesPDF
Microsoft Azure Essentials Migrating SQL Server DatabasesPDF
Migrate your SAP estate to the cloud—securely and reliablyPDF
Microsoft Azure ExpressRoute GuidePDF
Making the Most of the Cloud EverywherePDF
APIs + MicroservicesPDF
Hands-On Linux Administration on AzurePDF
Designing your Hybrid Cloud Strategy: Identity and Access ManagementPDF
Overview of Azure Active DirectoryDOC
Containerize Your Apps with Docker and KubernetesPDF
Solve your big data and AI challenges with an Azure Databricks use case e-bookPDF
Azure Rapid Deployment Guide For Azure Rights ManagementPDF
Practical Microsoft Azure IaaSPDF
IoT in the Real World: Stories from ManufacturingPDF
Continuous Delivery in JavaPDF
Azure Rethinking Enterprise Storage: A Hybrid Cloud ModelPDF
Azure AD/Office 365 seamless sign-inDOC
Exam Ref AZ-900 Microsoft Azure Fundamentals (NOT eBook)PDF
Azure AD & Windows 10: Better Together for Work or SchoolDOC

If you want to access all the Ebooks,Research papers, Reports in one place you can directly go here and get it. Hope these links will be helpful and Azure be the cloud you love!

· 4 min read

You might have noticed my recent posts were mostly focused on how to get started and learn Azure in 2020. Want to become more productive with Azure?. There are around 174 ebooks which can be downloadable from the Microsoft site as of now. I have listed the top 60 books which are recommended and liked,shared the most among the social mediums.

eBooks For Architects,Developers and Decision Makers

eBook NameDownload
Azure for ArchitectsPDF
Designing Distributed SystemsPDF
Cloud Migration EssentialsPDF
Kubernetes : Up and RunningPDF
Learning Azure Cognitive ServicesPDF
Effective DevOps—Building a DevOps Culture at ScalePDF
How to Containerize Your Go CodePDF
Build and deploy a multi-container application in Azure Container ServicePDF
Build and deploy multi-container application in Azure Service FabricPDF
Kubernetes objects on Microsoft AzurePDF
Azure Serverless Computing CookbookPDF
Create your first intelligent bot with Microsoft AIPDF
Best Practices for Migrating Windows Servers to AzurePDF
Cloud Database Migration EssentialsPDF
Getting started with Apache Spark on Azure DatabricksPDF
15 Lessons Learned: Migrating SAP to the CloudPDF
Learning Node.js Development and deploy on AzurePDF
Cloud Analytics with Microsoft AzurePDF
Grow Your ISV Business with SaaSPDF
Building Intelligent Cloud ApplicationsPDF
Manage your network more effectively with the Azure Networking CookbookPDF
Developer’s Guide to Getting Started with Microsoft Azure Database for MySQLPDF
Developer's Guide to Getting Started with Cosmos DBPDF
Quick Start Guide to Azure SentinelPDF
The Developer's Guide to AzurePDF
Kubernetes on AzurePDF
Professional Azure SQL Database AdministrationPDF
Devops with ASP.NET Core and AzurePDF
Devops for Containerized AppsPDF
Enterprise Cloud StrategyPDF
Implementing a Zero Trust approach with Azure Active Directory PDF
Microsoft Azure Trips and Tips - DataPDF
Azure AD Application Proxy – Adoption Kit – eBookPDF
Azure Active Directory B2B Collaboration – Adoption Kit – eBookPDF
AI for Retail: Learn the scenarios that are driving today's digital consumerPDF
Building IoT Solutions with Azure: A Developer’s GuidePDF
The enterprise developer’s guide to building five-star mobile appsPDF
Modernizing existing .NET appsPDF
Azure Active Directory Company Branding- Adoption Kit – eBookPDF
Azure Migration SQL Server to Azure SQL Database Managed Instance a step by step guidePDF
Azure Active Directory Connect Health- Adoption Kit – eBookPDF
Azure Active Directory Self-Service Group Management – eBookPDF
AI in Action—explore three technical case studies in one guidePDF
Azure Active Directory Identity Protection – eBookPDF
Azure Multi-Factor Authentication – eBookPDF
Azure Privileged Identity Management – eBookPDF
Azure Active Directory Single Sign-On – eBookPDF
Azure Active Directory Self-Service Password Reset – eBookPDF
Azure Active Directory User Provisioning – eBookPDF
Five Principles for Deploying and Managing Linux in The Cloud with AzurePDF
Optimizing Azure Site Recovery (ASR) WAN OptimizersDOC
Azure VM – Oracle 12c on Linux – Configuration Steps – eBookPDF
Azure Strategy and Implementation GuidePDF
Build your first intelligent app with a guide from O’ReillyPDF
Guide to migrate schema & data from Oracle to Azure SQL DBPDF
How to Set up Azure AutomationPDF
Deploy IBM DB2 pureScale on AzurePDF
Azure AD in Windows 10 cloud subscriptionsPDF
Learn Azure in a Month of LunchesPDF
Microsoft Azure Essentials Migrating SQL Server DatabasesPDF
Migrate your SAP estate to the cloud—securely and reliablyPDF
Microsoft Azure ExpressRoute GuidePDF
Making the Most of the Cloud EverywherePDF
APIs + MicroservicesPDF
Hands-On Linux Administration on AzurePDF
Designing your Hybrid Cloud Strategy: Identity and Access ManagementPDF
Overview of Azure Active DirectoryDOC
Containerize Your Apps with Docker and KubernetesPDF
Solve your big data and AI challenges with an Azure Databricks use case e-bookPDF
Azure Rapid Deployment Guide For Azure Rights ManagementPDF
Practical Microsoft Azure IaaSPDF
IoT in the Real World: Stories from ManufacturingPDF
Continuous Delivery in JavaPDF
Azure Rethinking Enterprise Storage: A Hybrid Cloud ModelPDF
Azure AD/Office 365 seamless sign-inDOC
Exam Ref AZ-900 Microsoft Azure Fundamentals (NOT eBook)PDF
Azure AD & Windows 10: Better Together for Work or SchoolDOC

If you want to access all the EBooks,Research papers, Reports in one place you can directly go here and get it. Hope these links will be helpful and Azure be the cloud you love!

· 5 min read

One of the frequent questions i get from partners is on how to set Timezone for an application running on Azure app service. It is too easy to change the timezone for an app service hosted in windows OS , but the same settings do not apply for an app service hosted in Linux or Web App running using a container.

How to configure for App Service on Windows:

If your app service plan runs on Windows, As a quick fix, in the configuration, just add a setting named “WEBSITE_TIME_ZONE” with the value you want:

Timezone configuration on Web App

How to configure for AppService on Linux:

If your App Service Plan is Linux, you need to do it differently. You need to set TZ variable in Application settings.

Say if you want to set your timezone to Asia/Kolkata. you need to set the TZ variable value as

Timezone configuration on Linux Web App

Timezone Values:

The supported timezone values are listed here.

Value="Morocco Standard Time" For (GMT) Casablanca
Value="GMT Standard Time" For (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
Value="Greenwich Standard Time" For (GMT) Monrovia, Reykjavik
Value="W. Europe Standard Time" For (GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Value="Central Europe Standard Time" For (GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
Value="Romance Standard Time" For (GMT+01:00) Brussels, Copenhagen, Madrid, Paris
Value="Central European Standard Time" For (GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb
Value="W. Central Africa Standard Time" For (GMT+01:00) West Central Africa
Value="Jordan Standard Time" For (GMT+02:00) Amman
Value="GTB Standard Time" For (GMT+02:00) Athens, Bucharest, Istanbul
Value="Middle East Standard Time" For (GMT+02:00) Beirut
Value="Egypt Standard Time" For (GMT+02:00) Cairo
Value="South Africa Standard Time" For (GMT+02:00) Harare, Pretoria
Value="FLE Standard Time" For (GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
Value="Israel Standard Time" For (GMT+02:00) Jerusalem
Value="E. Europe Standard Time" For (GMT+02:00) Minsk
Value="Namibia Standard Time" For (GMT+02:00) Windhoek
Value="Arabic Standard Time" For (GMT+03:00) Baghdad
Value="Arab Standard Time" For (GMT+03:00) Kuwait, Riyadh
Value="Russian Standard Time" For (GMT+03:00) Moscow, St. Petersburg, Volgograd
Value="E. Africa Standard Time" For (GMT+03:00) Nairobi
Value="Georgian Standard Time" For (GMT+03:00) Tbilisi
Value="Iran Standard Time" For (GMT+03:30) Tehran
Value="Arabian Standard Time" For (GMT+04:00) Abu Dhabi, Muscat
Value="Azerbaijan Standard Time" For (GMT+04:00) Baku
Value="Mauritius Standard Time" For (GMT+04:00) Port Louis
Value="Caucasus Standard Time" For (GMT+04:00) Yerevan
Value="Afghanistan Standard Time" For (GMT+04:30) Kabul
Value="Ekaterinburg Standard Time" For (GMT+05:00) Ekaterinburg
Value="Pakistan Standard Time" For (GMT+05:00) Islamabad, Karachi
Value="West Asia Standard Time" For (GMT+05:00) Tashkent
Value="India Standard Time" For (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi
Value="Sri Lanka Standard Time" For (GMT+05:30) Sri Jayawardenepura
Value="Nepal Standard Time" For (GMT+05:45) Kathmandu
Value="N. Central Asia Standard Time" For (GMT+06:00) Almaty, Novosibirsk
Value="Central Asia Standard Time" For (GMT+06:00) Astana, Dhaka
Value="Myanmar Standard Time" For (GMT+06:30) Yangon (Rangoon)
Value="SE Asia Standard Time" For (GMT+07:00) Bangkok, Hanoi, Jakarta
Value="North Asia Standard Time" For (GMT+07:00) Krasnoyarsk
Value="China Standard Time" For (GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Value="North Asia East Standard Time" For (GMT+08:00) Irkutsk, Ulaan Bataar
Value="Singapore Standard Time" For (GMT+08:00) Kuala Lumpur, Singapore
Value="W. Australia Standard Time" For (GMT+08:00) Perth
Value="Taipei Standard Time" For (GMT+08:00) Taipei
Value="Tokyo Standard Time" For (GMT+09:00) Osaka, Sapporo, Tokyo
Value="Korea Standard Time" For (GMT+09:00) Seoul
Value="Yakutsk Standard Time" For (GMT+09:00) Yakutsk
Value="Cen. Australia Standard Time" For (GMT+09:30) Adelaide
Value="AUS Central Standard Time" For (GMT+09:30) Darwin
Value="E. Australia Standard Time" For (GMT+10:00) Brisbane
Value="AUS Eastern Standard Time" For (GMT+10:00) Canberra, Melbourne, Sydney
Value="West Pacific Standard Time" For (GMT+10:00) Guam, Port Moresby
Value="Tasmania Standard Time" For (GMT+10:00) Hobart
Value="Vladivostok Standard Time" For (GMT+10:00) Vladivostok
Value="Central Pacific Standard Time" For (GMT+11:00) Magadan, Solomon Is., New Caledonia
Value="New Zealand Standard Time" For (GMT+12:00) Auckland, Wellington
Value="Fiji Standard Time" For (GMT+12:00) Fiji, Kamchatka, Marshall Is.
Value="Tonga Standard Time" For (GMT+13:00) Nuku'alofa
Value="Azores Standard Time" For (GMT-01:00) Azores
Value="Cape Verde Standard Time" For (GMT-01:00) Cape Verde Is.
Value="Mid-Atlantic Standard Time" For (GMT-02:00) Mid-Atlantic
Value="E. South America Standard Time" For (GMT-03:00) Brasilia
Value="Argentina Standard Time" For (GMT-03:00) Buenos Aires
Value="SA Eastern Standard Time" For (GMT-03:00) Georgetown
Value="Greenland Standard Time" For (GMT-03:00) Greenland
Value="Montevideo Standard Time" For (GMT-03:00) Montevideo
Value="Newfoundland Standard Time" For (GMT-03:30) Newfoundland
Value="Atlantic Standard Time" For (GMT-04:00) Atlantic Time (Canada)
Value="SA Western Standard Time" For (GMT-04:00) La Paz
Value="Central Brazilian Standard Time" For (GMT-04:00) Manaus
Value="Pacific SA Standard Time" For (GMT-04:00) Santiago
Value="Venezuela Standard Time" For (GMT-04:30) Caracas
Value="SA Pacific Standard Time" For (GMT-05:00) Bogota, Lima, Quito, Rio Branco
Value="Eastern Standard Time" For (GMT-05:00) Eastern Time (US & Canada)
Value="US Eastern Standard Time" For (GMT-05:00) Indiana (East)
Value="Central America Standard Time" For (GMT-06:00) Central America
Value="Central Standard Time" For (GMT-06:00) Central Time (US & Canada)
Value="Central Standard Time (Mexico)" For (GMT-06:00) Guadalajara, Mexico City,Monterrey
Value="Canada Central Standard Time" For (GMT-06:00) Saskatchewan
Value="US Mountain Standard Time" For (GMT-07:00) Arizona
Value="Mountain Standard Time (Mexico)" For (GMT-07:00) Chihuahua, La Paz, Mazatlan
Value="Mountain Standard Time" For (GMT-07:00) Mountain Time (US & Canada)
Value="Pacific Standard Time" For (GMT-08:00) Pacific Time (US & Canada)
Value="Pacific Standard Time (Mexico)" For (GMT-08:00) Tijuana, Baja California
Value="Alaskan Standard Time" For (GMT-09:00) Alaska
Value="Hawaiian Standard Time" For (GMT-10:00) Hawaii
Value="Samoa Standard Time" For (GMT-11:00) Midway Island, Samoa
Value="Dateline Standard Time" For (GMT-12:00) International Date Line West

To verify that whether offset is updated or not navigate to Console and execute time command

Also, note that TZ codes are different from the Windows codes. Here's the reference database:

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

I hope it helps someone out there.