DevOps Classroomnotes 09/Aug/2023

ntier – aws

  • For manual creation steps, refer classroom video
  • Steps:
    • import key pair (generate key pair)
    • Figure out ami id for os ami-0f8e81a3da6e2510a
    • instance type t2.micro
    • select security group

Realizing in terraform

  • we need to import key pair Refer Here for resource
  • Refer Here for the changes to import the key
  • Refer Here for the changes in the template to accomodate the ec2 instance creation
  • AMI id as user input is an horrible idea, we need to fix that and multiple inputs for one ec2 instance can be combined into one variable (object/map)
  • Exercise:
    • Try creating an ec2 instance in web subnet also with similar configuration

Terraform – Concepts

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube