Launching the AWS instance using Terraform

Launching the AWS instance using Terraform

Terraform is an open-source tool created by HashiCorp. It is used for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. Terraform can manage existing and popular service providers as well as custom in-house solutions.

Configuration files describe to Terraform the components needed to run a single application or your entire datacenter. Terraform generates an execution plan describing what it will do to reach the desired state, and then executes it to build the described infrastructure. As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied.

Task 1 : Have to create/launch Application using Terraform

Tools Required:-

1. AWS command line interface

2.Terraform

3.Putty and Puttygen.exe

I used Terraform for creating :

 

EBS Volume

Key Pair

Security Group

Instance

S3 Bucket

Cloudfront

Description:-

1. Create the profile that has all your Information in it.

No alt text provided for this image


2. Second we created the workspace and in that folder we created the Terraform file

No alt text provided for this image

3. Now we need to Write a code in Which we instruct the terraform to perform all the above specified tasks.


Above is the link for the Terraform file

4. We need to use command to install the terraform Plugin

Terraform init

after this command we have to check the syntax for this we will use the command

terraform validate

to apply the things we use command

terraform apply
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

5. Now we have to check the is the instance running. For this let go to GUI and check if it is Running or not Also all the details like volume attached.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Here we can see our server is running


To view or add a comment, sign in

More articles by Vinit Sharma

  • Self Reflection of Expert Session

    The concepts that I have learnt from this session are as follows:- 🔰Open Source means those technologies whose codes…

  • Self Reflection of Mongo DB Workshop

    THE CONCEPTS THAT I HAVE LEARNT FROM THIS AMAZING WORKSHOP ARE GIVEN BELOW:- 🔰 To store any data…

  • SELF REFLECTION OF THE SHELL SCRIPTING WORKSHOP

    THE CONCEPTS THAT I HAVE LEARNT FROM THIS AMAZING WORKSHOP ARE GIVEN BELOW:- 🔰 Shell scripting is a programmatic way…

  • Self Reflection of AI on AWS workshop

    Following are the concepts that I have learnt through this workshop:- 🎯 AI/ML resemble to human brain as it performs…

  • ARTH-TASK 11.2

    TASK DESCRIPTION:- Create a Article, blog or Video on how industries are solving challenges using Ansible ANSIBLE:-…

  • ARTH--TASK 11 (11.1 & 11.3)

    ANSIBLE It is used for the automation purpose with the help of computer networking. The basic tasks that are done from…

  • Jenkins working and using by companies

    What is Jenkins? Jenkins — an open source automation server which enables developers around the world to reliably…

  • Industry Use Cases- Kubernetes/Openshift

    On 1st March,2021 LinuxWorld Informatics Pvt Ltd had organized an expert session on "Industry use-cases of Openshift…

  • Session feedback

    Hello Connections Expert Practical Demo Session on Ansible by two of the best experts of the industry Mr. Sreejith…

  • Kubernetes Case Study (Why and when you should use Kubernetes)

    Kubernetes is a powerful container management tool that automates the deployment and management of containers…

    2 Comments

Others also viewed

Explore content categories