Skip to content

rjackson-dev-ops/groundhog_day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groundhog Day

The purpose of this repo to proovide a AWS Cloudformation template that will provide a working Ruby development environment on an AWS EC2 micro instance. The environment includes:

  • rvm 1.29.3
  • Ruby 2.3.5
  • Python 2.7.6
  • aws-cli 1.15.6
  • Ubuntu 14.04 LTSA
  • Full access to all AWS resources

Run clouldformation script to setup EC2. Which script should you use?

Use this script: create_dev_env.yaml

This script is included only for reference: create_dev_env.json

I started with the create_dev_env.json script created by our team in 2014 as part of this blog:

I've left this script in the repo so you can compare the original json script to the current yaml script.

Additionally, this repo contains several devops scripts used for querying/updating system resources.

Generate ssh keys

cd ~ mkdir -p .ssh cd .ssh ssh-keygen -f id_rsa -t rsa -N '' ls -alt chmod 400 id* cd ~ echo "The new public key is:" cat .ssh/id_rsa.pub

Put SSH public key in Github

(Optional) Set environment/dot-files

git clone [email protected]:rjackson-dev-ops/dot-files.git cd dot-files ./setup.sh

I suggest you fork my repo or Chris Hunt's. I forked his repo. This setup includes excellent VIM and TMUX options.

Chris Hunt video on VIM/Tmux

Clone this repo and set path

git clone [email protected]:rjackson-dev-ops/groundhog_day.git

Motivation

Recently, our Stelligent team has worked wth clients where the development environment is "locked down," and we may not have immediate access to AWS resources from our laptops.

This cloudformation script will create a EC2 instance/bastion you can use as a template to create a simple development environment.

In some situations, you made need to recreate this bastion periodically for security; hence the reason I named this repo Groundhog Day.

About

Repo to startup a EC2 Dev environment for AWS work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors