DevOps Classroomnotes 05/Aug/2023

Terraform contd

ntier-aws:

  • fixing cidr range issue with terraform functions
  • Refer Here for the usage of cidrsubnet function
  • graph
  • try creating a security groups Refer Here by using list(object) as input type
    • web
      • ingress:
        • http (80): allow to all
        • ssh (22): allow to all
    • app
      • ingress:
        • ssh (22): allow to all

ntier-azure

  • Refer Here for the usage of cidrsubnet function to generate subnets
  • graph
  • Creating a Network security group for
    • web
      • incoming:
        • http (80): allow to all
        • ssh (22): allow to all
    • app
      • incoming:
        • ssh (22): allow to all
  • For screen shots kindly refer classroom video
  • Refer Here for resource docs
  • Refer Here for changeset with nsg and object usage

concepts

  • For dealing with ip address related stuff terraform has ip functions and we have used cidrsubnet function to calculate subnet cidr based on network range Refer Here
  • For generating graph or understading the order of creation we can use terraform graph command which generates graph in dot format Refer Here and graph can be visualized Refer Here
  • Variable type map or object Refer Here
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency
Exit mobile version
%%footer%%