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

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube