Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

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.

Assignment 2

Create a new directory and write a terraform code which would create Security Group and new Key and create Ec2 instance and use newly created Security Group and Key.The security group should allow incoming traffic on port 22 (SSH) and port 80 (HTTP).

Assignment 3

Write a terraform code would create following resources

  • keypair (Pub – ON AWS – PVT – Local)
  • Display a pvt on Console
  • Create a Security group must open 80 Port
  • Create a Ec2 instance Ubuntu using the same Key & SG which you created above.
  • You must install/Start apache2 in EC2 instance
    $ apt-get update
    $ apt-get install apache2 -y
    $ systemctl start apache2

Terraform Assignment: Module

  • Create a Terraform module that provisions an Amazon S3 bucket and an associated CloudFront distribution for content delivery.
  • Write a Terraform module that creates an Amazon RDS database instance and an EC2 instance to connect to the database.
  • Develop a Terraform module that sets up an Amazon VPC with public and private subnets and an Internet Gateway for Internet access.
  • Create a Terraform module that provisions an Amazon Elastic Container Service cluster and a corresponding load balancer.
  • Write a Terraform module that creates an Amazon Elastic File System and mounts it on an EC2 instance.
  • Build a Terraform module that sets up an Amazon Route 53 hosted zone and an associated record set.
  • Develop a Terraform module that provisions an Amazon API Gateway and corresponding Lambda functions for serverless application deployment.
  • Write a Terraform module that creates an Amazon CloudWatch dashboard for monitoring metrics from multiple AWS services.
  • Build a Terraform module that sets up an Amazon Elastic Load Balancer and associated Auto Scaling Group for high availability & use this module in another Module which would create 2 Ubuntu Vms and loadbalance these 2 Vms using ELB.
  • Create a Terraform module that provisions an Amazon ECS Fargate task definition and corresponding IAM roles and policies for task execution.

How to Submit Assignment: Please publish it at www.Debug.School and share a URL in comment box.

Terraform FAQs

  1. What is Terraform, and how does it work?
  2. What are the benefits of using Terraform?
  3. How does Terraform differ from other infrastructure as code tools?
  4. What is the syntax for creating Terraform configurations?
  5. How do I declare resources in Terraform?
  6. How do I manage dependencies between resources in Terraform?
  7. What are Terraform modules, and how do I use them?
  8. How do I deploy and manage infrastructure with Terraform?
  9. How do I manage state in Terraform?
  10. How do I use Terraform with cloud providers such as AWS, Azure, and Google Cloud Platform?
  11. How do I debug Terraform configurations?
  12. How do I version control Terraform configurations?
  13. How do I test Terraform configurations?
  14. How do I secure Terraform configurations?
  15. How do I integrate Terraform with other tools and services in my stack?

Project & Assignment – 1

Project & Assignment – 2

Project & Assignment – 3

Project & Assignment – 4

Answer – Write a terraform code which would create Ec2 instance and use Existing Security Group and Key

Answer – write a terraform code which would create Security Group and new Key and create Ec2 instance and use newly created Security Group and Key.The security group should allow incoming traffic on port 22 (SSH) and port 80 (HTTP).

Find Trusted Cardiac Hospitals

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

Explore Hospitals
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Top 10 Subscription Management Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction Subscription management software is designed to streamline and optimize the process of managing recurring billing, customer subscriptions, and related business operations. In 2026, with the rapid…

Read More

Top 10 AI Data Integration Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI data integration tools are pivotal for businesses navigating the complexities of modern data ecosystems. These tools combine artificial intelligence with data integration processes…

Read More

Top 10 Fleet Management Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, the logistics and transportation industries are evolving rapidly, and managing a fleet of vehicles has never been more complex. Fleet management software has become…

Read More

Top 10 AI Academic Plagiarism Checkers Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI academic plagiarism checkers have become indispensable tools for students, educators, researchers, and institutions striving to uphold academic integrity. With the rise of AI-generated…

Read More

Top 10 Travel Management Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, travel management software (TMS) has become a crucial tool for businesses, travel agencies, and frequent travelers. These tools automate the booking, tracking, and management…

Read More

Top 10 No-Code Platforms Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, no-code platforms have become essential for businesses and individuals looking to build powerful applications, websites, and automations without the need for programming knowledge. These…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x