Skip to content

Docker for Amazon Web Services (AWS) Management

Notifications You must be signed in to change notification settings

codiy1992/aws-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Amazon Web Services (AWS) Management

Usage

  • Add the function below to your .zshrc file And Modify THIS_REPO_LOCATION to your own location.
function ops {
    cd THIS_REPO_LOCATION && make bash PROFILE=${1:-default}
}
  • Clone your playbook repo into work directory.
  • Use command ops to enter container and then do what you want with Ansible and Aws CLI

Useful AWS CLI command shortcuts

  • AWS CLI command shortcuts located in the file home/.mybashrc, and you can modify freely.
  • command shortcut ec2 list all running ec2 instances in current location.
  • command shortcut ssm with ec2 instance id as parameter to connect to ec2 instance.

How to Change Profile (if you have multiple profiles)

  • use internal command senv YOUR_PROFILE_NAME to change profile.
  • senv --region SPECIFIED_REGION to change current region.
  • Named profiles for the AWS CLI are located in ~/.aws.

About

Docker for Amazon Web Services (AWS) Management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published