Giter Club home page Giter Club logo

terraform-august23's Introduction

terraform-august23

Terraform Infrastructure Provisioning**

Objective:
Create a Terraform configuration to provision an EC2 instance with Apache deployed, along with necessary networking configurations, using best practices.

Tasks:

  1. EC2 Instance with Apache Deployment:

    • Write Terraform code to provision an EC2 instance.
    • Use user data to deploy Apache on the instance.
    • Utilize string interpolation to name the instance as <name-ec2>-<environment>.
  2. Security Group Configuration:

    • Create a security group resource to allow SSH access from your IP and open port 80 to the world.
    • Ensure proper ingress and egress rules are defined for security.
  3. Elastic IP Address Association:

    • Provision an Elastic IP address.
    • Associate the Elastic IP address with the EC2 instance.
  4. Output Values:

    • Define output values to display important information such as instance ID, public IP, and Elastic IP.
  5. State Management:

    • Store the Terraform state file on an S3 bucket backend.
    • Ensure proper IAM permissions are set for accessing the S3 bucket.
  6. Parameterization:

    • Parametrize all values in the Terraform code using variables.
    • Include variables for instance type, AMI ID, SSH key name, VPC ID, subnet ID, etc.
  7. GitHub Repository:

    • Upload your Terraform code to a GitHub repository.
    • Share the GitHub repository link as part of your submission.

Submission Guidelines:

  • Submit the Terraform code in a GitHub repository.
  • Ensure proper documentation and comments are provided within the code.
  • Include a README.md file explaining the purpose of the code and how to execute it.

Note:

  • Make sure to adhere to best practices for security, naming conventions, and resource optimization.
  • Test the Terraform code thoroughly before submission to ensure it functions as expected.
  • Reach out to Teacher Assistant if you encounter any issues or need clarification on any aspect of the assignment.

Happy Terraforming!

terraform-august23's People

Contributors

sidiclaudio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.