Code Monkey home page Code Monkey logo

aws_terraform's Introduction

Getting Started

This repo will deploy a VPC, private subnets, public subnets, security groups S3 bucket, SQS, an Ubuntu VM with the Datadog Agent and Vector configured. The security group associated with the aws_instance will only allow 22/tcp from your local public IP address. Relevant variables will output upon successful deployment of resources.

This repo requires the following:

  • AWS Account with appropriate permissions
    • Access/Secret Access Key
  • Terraform installed
  • You will need to create terraform.tfvars. terraform.tfvars should include your AWS key/secret

You will need to create terraform.tfvars in the directory that you are using to deploy resources with the following values:

  • access_key = "<AWS_ACCESS_KEY"
  • secret_key = "<AWS_SECRET_KEY>"
  • DD_API_KEY = "<DATADOG_API_KEY>"
  • ssh_pub_key = "<YOUR_PUBLIC_SSH_KEY>"

Deployment

  1. Nagivate to the agent-vector directory
  2. Initiliaze the Terraform providers with: terraform init
  3. Preview the Terraform actions wtih: terraform plan
  4. Execute the actions proposed in terraform plan with: terraform apply

Other Terraform Commands

  • You can destroy specific resources by running: terraform destroy --target <resource>.<resource_name>
  • You can destroy all resources by running: terraform destroy

Additional Resources

aws_terraform's People

Contributors

collin-sanford avatar mkelleh2 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.