https://github.com/ernsthaagsman/grouporder-aws
Terraform configuration files to create an AWS development environment for grouporder
https://github.com/ernsthaagsman/grouporder-aws
aws pycharm terraform
Last synced: over 1 year ago
JSON representation
Terraform configuration files to create an AWS development environment for grouporder
- Host: GitHub
- URL: https://github.com/ernsthaagsman/grouporder-aws
- Owner: ErnstHaagsman
- License: mit
- Created: 2017-12-04T14:51:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-19T18:25:12.000Z (over 8 years ago)
- Last Synced: 2025-01-23T07:25:14.391Z (over 1 year ago)
- Topics: aws, pycharm, terraform
- Language: HCL
- Homepage: https://blog.jetbrains.com/pycharm/2017/12/creating-a-development-environment-on-amazon-ec2/
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Grouporder AWS Development Environment
======================================
This repository contains the AWS configuration to set up a
remote development environment for
[grouporder](https://github.com/ErnstHaagsman/grouporder).
Instructions
------------
0. First get [Terraform](https://terraform.io), and install it on
your computer (make sure it's on your PATH)
0. Clone this repository
0. Make sure you have a public key configured in the **AWS region**
where you'd like to spin up a grouporder dev environment.
0. Load the private key that matches the uploaded key in your SSH
agent. On Ubuntu, just run `ssh-add` to add your id_rsa.
0. Make sure you have a [`~/.aws/credentials` file.](http://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html)
0. On the terminal (whether PyCharm built-in or regular) navigate
to the folder where you've cloned this repository
0. Run `terraform init`
0. (Optional) Create a `terraform.tfvars` file to specify both the
AWS public key name, and the AWS region.
0. Run `terraform apply`
After running `terraform apply`, you should have an `ssh_config.out`
file. Copy the contents of this file to `~/.ssh/config`:
cat ssh_config.out >> ~/.ssh/config
At this point you should be able to connect to all three hosts by
running `ssh management`, `ssh web`, or `ssh database`.