Skip to content

Deploy an EC2 DEV Machine and connect it to visual studio code on the Fly for projects

License

Notifications You must be signed in to change notification settings

alialaamoha/terraform_ec2_dev

Repository files navigation

DEPLOY EC2 - TERRAFORM, and Connect it to your visual code 👾

Tired of creating devevlopment labs manually , try something for a few minutes? this for you

Pre-requisites

  • Terraform installed
  • AWS cli installed on a host
    • AWS credentials

Deployment Instructions

  • Install Terraform
  • Clone this repository
  • Run a terraform init to grab providers and modules
  • Run aws_configure and establish your credentials
  • Run a terraform_apply and wait 10 - 15 minutes

Deployment Instructions - EC2 Instances

  • Install Terraform
  • Clone this repository
  • Edit the variables in variables.tf to match any unique values you want to apply to your instances
  • Generate a key for ssh and put in the .ssh folder on windows ssh-keygen
  • Run a terraform init to grab providers and modules
  • Run aws_configure and establish your credentials and create you profile in .profile folder
  • Run a terraform_apply and wait 10 - 15 minutes
  • Profit

About

Deploy an EC2 DEV Machine and connect it to visual studio code on the Fly for projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published