DevOps Classroomnotes 27/May/2022

Terraform contd..

  • Creating a Security Group in AWS, which is used as firewall for the virtual machines.
    • We need to open 22 port for ssh communication from anywhere (0.0.0.0/0)
    • We need to open 80 port as we will be using this for web servers
    • you can give the name of the security group as webserver

  • Write the terraform resource to create the same security group in the vpc created by terraform
  • Refer Here for the official docs
  • Refer Here for the changes done
  • Now lets assume in our application architecture we use
    • web servers => apache which runs on linux machine and can be accessed over port 80
    • application servers => tomcat which runs on some linux machine and can be accessed over port 8080
    • databases servers => mysql which runs on port 3306
  • We need to create two more security groups
  • AWS Architecture for ntier application
  • AZure Architecture for ntier application
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
Customized Social Media Icons from Acurax Digital Marketing Agency

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%%