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 multitier 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/intuitivetp/itp-aug-2023
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 Subscription
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.