Skip to content

Collection of scripts we use to save time working with AWS

License

Notifications You must be signed in to change notification settings

gunnertech/aws-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Prerequisites

Install the following

  1. Brew $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Python $ brew install python
  3. AWS CLI or $ brew install awscli - make sure you have the latest
  4. Git
  5. NVM
  6. Node $ nvm install node

And if you didn't clone this repo, do so now. Location doesn't matter

Also, you'll need to have an existing AWS account with admin access with your credentials in ~/.aws/credentials and ~/.aws/config

It should look something like this:

~/.aws/credentials

[default]
aws_access_key_id=xxxxxxxxxxxxx
aws_secret_access_key=xxxxxxxxxxxxx

~/.aws/config

[default]
region=us-east-1
output=json

AWS Accounts

The following will create new accounts and organize them within your AWS Organization. To see all options, open the file

$ chmod 0644 ~/.aws/credentials
$ chmod 0644 ~/.aws/config
$ npm install
$ ./organization add -o <client-name> -n <project-name>-dev -e <project-name>-dev@gunnertech.com
$ ./organization add -o <client-name> -n <project-name>-staging -e <project-name>-staging@gunnertech.com
$ ./organization add -o <client-name> -n <project-name>-prod -e <project-name>-prod@gunnertech.com

Project

The following will pull down a project template and partially configure it.

Once it is finished, you will need to open the project's README.md to finish setup

$ ./project <project-name> <developer-name> (destination)
# open up that project's README.md and finish the job!

About

Collection of scripts we use to save time working with AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published