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 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
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%