DevOps Classroomnotes 01/Jun/2022

Terraform with AWS Contd

  • The necessary inputs for creating an ec2 instance are
    • AMI id
    • instance type
    • security group
    • subnet-id
    • name tag
    • key pair
  • Lets get started with key pair.
  • Ensure you have a key pair created with ssh-keygen
  • Used a object to declare the necessary information of the variable for server creation and add the ec2 instance Refer Here for the changeset and execute terraform apply


  • Now lets create 2 web servers Refer Here for the changes
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%%