Azure Classroomnotes 20/Jul/2023

Azure Functions

  • Azure Functions allows us to run a piece of code referred as functions.
  • The key differnce between Azure Functions Consumption tier vs other compute is they will be charged per second only when code is running
  • Bindings uses Azure Functions for connecting your function with external world.
  • Azure function can have mix of input and output bindings
  • Triggers are the events that cause function to start its execution
  • Azure functions can be implemented in
    • C#
    • Java
    • Python
    • Java Script
  • Azure functions supported bindings Refer Here

Scenario

  • Lets realize the following
    Preview
  • Create a vm for admin image defintion with size B1s

    • install apache server sudo apt update && sudo apt install apache2 -y
    • navigate to /var/www/html
    • clone the code from Refer Here
    • rename the folder to admin
    • checkout the brach to admin
    • Now navigate to http:///admin/index.html
      Preview
    • Now create the image definition admin
  • Create a vm for catalog image defintion with size B1s
    • install apache server sudo apt update && sudo apt install apache2 -y
    • navigate to /var/www/html
    • clone the code from Refer Here
    • rename the folder to product
    • Now navigate to http:///product/index.html
      Preview
    • Now create the image definition product

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner