Launching a Web server in AWS with the help of Terraform
<p>here we are giving the provider name and then we are telling our region name in which region we would like to launch our EC2 instance. here I have used us-east-1 which is the region name of N. Virginia, and then I have used profile as default, through this we are telling the credentials of our account. you can also give an access key and secret key instead of profile.</p>
<p>After that, we need to run this command so that Terraform can download the plugins for AWS</p>
<pre>
Teraform init </pre>
<p>with this command Terraform got to know how to use AWS.</p>
<p>now let's add the code for adding resource AWS instance and remote connection,</p>
<p><a href="https://medium.com/@agarwalmanya7456/launching-a-web-server-in-aws-with-the-help-of-terraform-b21e70978470"><strong>Learn More</strong></a></p>