Azure Classroom Series – 06/Mar/2021

Exercise

  • Create a azure vm with ubuntu os (Standard_b1s)
  • create a azure app service with free plan in linux environment
  • Now to deploy application in vm (IAAS)
    • we need to install softwares for programming language runtimes (java/.net core/python/ruby)
    • Install a server software (tomcat/apache)
    • deploy the application using the build artifact
  • To deploy application in App service
    • we choose the platform (.net/.net core/java/python/ruby)
    • we upload the code/from code the build artifact to azure app service.
  • Lets consider a simple ecommerce application which has the following services
    • User Management
    • Inventory Management
    • Order Management
  • Traditionally all of this application is deployed into one server which we refer as monolith
  • Then with this approach, it is difficult to scale the application and manage, so the tiered architectures (n-tier) was introduced Preview
  • With the evolution of cloud and containers, the new approach for applications called as microservices is introduced
    • Microservice is an implementation of service oriented architecure that arranges application as collection of loosely coupled serviecs Preview
  • With the cloud evolutions, a new approach of deploying applications called as Serverless was introduced
  • Serverless is a cloud computing execution model, where the cloud provider dynamically manages the allocation and provisioning of servers, There will be pricing models where you will be paying only for the duration which your code is executed
  • With this Serverless, we write reusable functions which are loosely coupled and can be triggered from various services or http requests Preview
  • Azure functions are the best way to deploy nano services, where only a functionality (like create order, delete order, get order) etc are written and deployed as individual functions

Azure Functions

  • Lets create a resource group, navigate to all services and select Azure function App Preview Preview Preview Preview Preview Preview Preview Preview
  • To understand azure functions, we need to understand
    • triggers and bindings
    • Azure function syntax and semantics
    • Setting up visual studio code to develop Azure functions
    • Pricing models / hosting plans

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin