Friday, August 4, 2023

Azure Evaluation - Lab 1

 Azure Terraform Assignment – Lab   

Scope 

A scenario to solve a business problem for Azure, draw architectural diagram, implement using terraform, take screenshots of key outputs, upload it the repo. 


Problem Statement 

Deploy resilient multi tier applications built for high availability. In this scenario, the application consists of three layers as depicted in below architecture diagram 

Web Tier: Handles user interactions and forwards actions for processing. 

App Tier: Processes user interactions, makes logical decisions, and connects the user interface and data storage. 

Data Tier: Stores application data using databases, object storage, or file storage. 


Architecture 

 

 

Requirements 

  • Requirement 1 – Implement Web Tier with HA 
  • Requirement 2 – Add App Tier with HA 
  • Requirement 3 – Add DB Tier with HA 
  • Commit after each requirement to the source control repo 
  • Optional: Running a sample application on the above infrastructure 

 

  • Deliverables 
  • Write terraform code, execute to create the required resources  
  • Upload the terraform code 
  • Upload the following Screen shots 
  • Resources created from respective resource dashboard  
    • plan.out file 
    • tf.state file 

    

 

Tools needed 

  • Install these tools before the start of the event 
    • IDE ( VS Code, Intellj, Atom) – as per your preference 
    • GIT CLI 
    • Terraform CLI7 
  • Github Repo: https://github.com/xyz
  • Folder Structure    
  • Multi-TierWebApp-<FirstName>-<SecondName 
        TerraformCode 
       [Please add meaningful commit messages]        
    Output  Screenshots as detailed above        
    Architecture <*draw.io file> or equivalent file 

Result 

  • Detailed architecture design with Azure services and configuration recommendations. You may use draw.io or any tool of your choice  
  • Write terraform code, execute to create the required resources   
  • Upload the terraform code  
  • Upload the following Screen shots  
  • Resources created from respective resource dashboard   
  • plan.out file  
  • tf.state file  
  • Write the terraform code for all the pieces  
  • Have a gitignore file to ignore .tfstate files and .terraform directory 
  • Run the Terraform code to provision resources in the Azure Account 
  • Execute the terraform code and take screenshots of key services / outputs. 
  • Take full browser screenshot  

 

FAQs 

  • Duration 
    • 3 hours once they start. 
  • Lab should be taken in office. 

No comments:

Post a Comment

Autistic Child Story

 I dare you not to cry.  My son Andrew will never get married, have his own children, drive a car, so many things, BUT he is happy & hea...