MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Terraform Project – Assignment – Exercise – Lab#2: Modules

How to submit Assignment?

Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post.


  • Project 1 – Create a terraform Module in which you create a Ec2-instance RHEL7.5, Install JDK and Maven into Ec2-instance and create a jar file using pom.xml.
    Source Code – https://github.com/scmgalaxy/helloworld-java-maven
  • Project 2 – Create a terraform Module in which using Azure you create a virutal machine of RHEL7 and install Ansible and run the run a following ansible role into it.
    Source Code – https://github.com/devops-school/ansible-hello-world-role
  • Project 3 – We are looking to improve the security of our network and have decided we need a bastion server to avoid logging on directly to our servers. Add a bastion server, the bastion should be the only route to SSH onto servers in the VPC.
  • Project 4 – The team have decided to use the Java framework Spring Boot to build features for our website. Deploy the following sample application into the VPC, reconfigure Nginx as a reverse proxy to the Java app. Provide a Terraform output/curl command to get the hello world text that the application serves.

Source Code – https://github.com/sebwells/example-java-spring-boot-app

Sample Terraform code – https://github.com/rjbate/terraform-exercise

  • Project 5 – Deploy a sample Tomcat Application on an Azure Virtual Machine Scale Set
    • Create a customized Ubuntu managed image with Tomcat installed
    • Store the image in a shared image gallery
    • Create a Key Vault enabled for disk encryption and a Key
    • Deploy a Virtual machine scale set
    • Enable service endpoint for Key Vault.
    • Update key vault access policy to allow scale set subnet.
    • Enable disk encryption extension and associate with key
    • Access Tomcat webpage

Source – https://github.com/preddy727/AzureTerraformTemplates

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Terraform: Azure VM using terraform-azurerm-compute Module

The example above uses the community Azure/compute/azurerm and Azure/network/azurerm Terraform modules to build one Linux VM and one Windows VM in Azure. Both share a virtual network…

Read More

Terraform: Azure VM using virtual-machine Module

This tutorial uses the community kumarvna/virtual-machine/azurerm module from the Terraform Registry to deploy two Windows Server 2019 VMs into an existing Azure resource group, virtual network and…

Read More

Terrafrom Tutorials – remote-exec provisioner using AWS & Azure providers

the remote-exec provisioner in Terraform is used to execute commands remotely on a target resource after it’s been created. This is often used for post-deployment configuration or…

Read More

Terraform Assignment and Excercise

Terraform Assignment: Getting Started Assignment 1 Create a new directory and write a terraform code which would create Ec2 instance and use Existing Security Group and Key….

Read More

Hashicorp Packer Example Program: AWS AMI

This tutorial uses a HashiCorp Packer HCL2 template to build a custom Amazon Machine Image (AMI). The template starts from Ubuntu 22.04 in the ap-south-1 (Mumbai) region…

Read More

AWS Tutorials: AWS CodeBuild – Buildspec code for creating AMI from running instances

This page has an AWS CodeBuild buildspec that finds every running EC2 instance tagged environment=uat and creates an AMI from each one with the AWS CLI. It…

Read More