DevOps classroom notes 18/May/2024

Terraform contd

Security Group

  • Manually creating security group: refer video of classroom
  • Lets design inputs
    • vpc id
    • inbound rules
      • from: ip address range (0.0.0.0/0 or vpc range or 100.100.100.100/32)
      • protocol: TCP UDP ICMP
      • port
    • outbound rules
      • to: ip address range (0.0.0.0/0 or vpc range or 100.100.100.100/32)
      • protocol
      • port
  • Refer Here for the changes done to create web security group

Terraform outputs

EC2 instance

  • Inputs:
    • AMI ami-05e00961530ae1b55
    • instance type: t2.micro
    • key pair: my_idrsa
    • network
      • subnet
      • enable public ip
      • security group
    • userdata
  • Refer Here for the changes done to create ec2 instance with user data.
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%