Skip to content

Utilities for managing services and lambda on AWS

License

Notifications You must be signed in to change notification settings

wko27/aws_app_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws_app_utils

Helpful tools for quickly creating/prototyping simple applications on AWS

Installation

  • Clone this repository
  • Add the following to your ~/.bash_profile
    • export PATH=(full path to bin directory):$PATH
    • Note this should be a full path (do not use ~)
    • For example, if I cloned this repository to /Users/bob/repos/aws_app_utils, then I would add this line
      • export PATH=/Users/bob/repos/aws_app_utils/bin:$PATH

Usage

  • Run aws-app create-app (and follow the prompts) to create a new application
  • Run aws-app create-service (and follow the prompts) to create a new service
    • with 1 EC2 instance attached to an autoscaling group, an app-level security group, and a service-level security group
  • Run aws-app deploy to deploy code to your service
  • Run aws-app ssh to ssh into that EC2 instance
  • Run aws-app delete-service to delete all resources configured for this service
  • Run aws-app delete-app to delete all resources for an application

FAQ

  • How do I specify the build directory
    • (service directory)/ec2-aws.properties, modify the LOCAL_BUILD_DIR
  • Is this webscale?
    • No.
    • This is intended to be an easy bootstrap way to get simple services and lambdas running when prototyping an app
    • Please use CloudFormation or other AWS infrastructure when your app needs to become more serious
  • How do I give access to other users to my services' EC2 instances?
    • (app directory)/app-aws.properties, modify the EC2_USER_PUBLIC_KEYS
    • Please do not share generated .pem files
  • I don't like this, what else can I use?

About

Utilities for managing services and lambda on AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages