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