All Projects → swoodford → Aws

swoodford / Aws

Licence: apache-2.0
A collection of bash shell scripts for automating various tasks with Amazon Web Services using the AWS CLI and jq.

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Aws

Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+1907.1%)
Mutual labels:  aws, s3, ec2, aws-cli, iam
Aws Security Viz
Visualize your aws security groups.
Stars: ✭ 511 (+3.65%)
Mutual labels:  aws, ec2, aws-cli, json
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+27.59%)
Mutual labels:  aws, ec2, terraform, infrastructure-as-code
Iam Policy Json To Terraform
Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document
Stars: ✭ 282 (-42.8%)
Mutual labels:  aws, terraform, infrastructure-as-code, iam
Aws Sdk Perl
A community AWS SDK for Perl Programmers
Stars: ✭ 153 (-68.97%)
Mutual labels:  aws, s3, ec2, amazon
Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-94.52%)
Mutual labels:  aws, s3, aws-cli, cloudfront
Aws Workflows On Github
Workflows for automation of AWS services setup from Github CI/CD
Stars: ✭ 95 (-80.73%)
Mutual labels:  aws, s3, ec2, amazon
Terraform Aws Cloudfront S3 Cdn
Terraform module to easily provision CloudFront CDN backed by an S3 origin
Stars: ✭ 162 (-67.14%)
Mutual labels:  aws, s3, terraform, cloudfront
go-localstack
Go Wrapper for using localstack
Stars: ✭ 56 (-88.64%)
Mutual labels:  ec2, s3, iam
CloudHunter
Find unreferenced AWS S3 buckets which have CloudFront CNAME records pointing to them
Stars: ✭ 31 (-93.71%)
Mutual labels:  amazon, s3, cloudfront
Moto
A library that allows you to easily mock out tests based on AWS infrastructure.
Stars: ✭ 5,428 (+1001.01%)
Mutual labels:  aws, s3, ec2
nifi
Deploy a secured, clustered, auto-scaling NiFi service in AWS.
Stars: ✭ 37 (-92.49%)
Mutual labels:  ec2, s3, iam
Infracost
Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill!
Stars: ✭ 4,505 (+813.79%)
Mutual labels:  aws, terraform, infrastructure-as-code
terraform-modules
Terraform Modules by Peak
Stars: ✭ 16 (-96.75%)
Mutual labels:  s3, iam, infrastructure-as-code
Laravel Aws Eb
Ready-to-deploy configuration to run Laravel on AWS Elastic Beanstalk.
Stars: ✭ 247 (-49.9%)
Mutual labels:  aws, ec2, amazon
Terraform Aws Gitlab Runner
Terraform module for AWS GitLab runners on ec2 (spot) instances
Stars: ✭ 292 (-40.77%)
Mutual labels:  aws, terraform, infrastructure-as-code
Tfsec
Security scanner for your Terraform code
Stars: ✭ 3,622 (+634.69%)
Mutual labels:  aws, terraform, infrastructure-as-code
terraform-aws-frontend
Collection of Terraform modules for frontend app deployment on AWS.
Stars: ✭ 31 (-93.71%)
Mutual labels:  s3, iam, cloudfront
Airiam
Least privilege AWS IAM Terraformer
Stars: ✭ 304 (-38.34%)
Mutual labels:  aws, terraform, iam
Nodb
NoDB isn't a database.. but it sort of looks like one.
Stars: ✭ 353 (-28.4%)
Mutual labels:  aws, s3, json

AWS

A collection of bash shell scripts for automating various tasks with Amazon Web Services using the AWS CLI and jq.

Build Status

https://github.com/swoodford/aws

Table of contents

Why

Why does this project exist?

This repository is intended to make some of the more difficult DevOps tasks commonly required to maintain complex hosting infrastructure in AWS simple, quick and easy. This is my attempt to automate and expedite difficult, repetitive, tedious and time consuming processes into a simple shell script that gets the job done as cleanly as possible. These scripts were developed out of frustration in clicking around on the same things over and over again in the web console every day, week, month when they could easly be done in seconds in a script that uses the AWS CLI. I've tried to keep everything applicable to as many use cases across regions and across as many different AWS accounts as possible. I run many of these scripts myself, mostly on a Mac or in Linux and do periodic usability and bug checking, making updates for any changes to the CLI. I hope this collection of tools helps you too, and if you use these please hit the Star/Fork button and if you have any suggestions please open an Issue or PR!

Getting Started

What is the AWS Command Line Interface?

The AWS CLI is an open source tool built on top of the AWS SDK for Python (Boto) that provides commands for interacting with AWS services.

Installing the AWS Command Line Interface

Requirements:

  • Python 2 version 2.6.5+ or Python 3 version 3.3+
  • macOS, Linux, or Unix

If you already have pip and a supported version of Python, you can install the AWS CLI with the following command:

$ pip install awscli --upgrade --user

Configuring the AWS CLI

For general use, the aws configure command is the fastest way to set up your AWS CLI installation.

$ aws configure

The AWS CLI will prompt you for four pieces of information. AWS Access Key ID and AWS Secret Access Key are your account credentials.

Named Profiles

The AWS CLI supports named profiles stored in the config and credentials files. You can configure additional profiles by using aws configure with the --profile option or by adding entries to the config and credentials files.

$ aws configure --profile example

What is jq?

jq is a lightweight and flexible command-line JSON processor.

Installing jq

OS X: Use Homebrew to install jq:

$ brew install jq

Linux: jq is in the official Amazon Linux AMI, Debian and Ubuntu repositories.

Amazon Linux AMI, RHEL, CentOS:

$ sudo yum install jq

Debian/Ubuntu:

$ sudo apt-get install jq

Tools included in this repo:

cloudfront

CloudFront

cloudwatch

CloudWatch

ec2

EC2

elastic beanstalk

Elastic Beanstalk

iam

IAM

route53

Route53

s3

S3

vpc

VPC

waf

WAF

other tools

Other Tools

Bugs and feature requests

Have a bug or a feature request? The issue tracker is the preferred channel for bug reports, feature requests and submitting pull requests. If your problem or idea is not addressed yet, please open a new issue.

Creator

Shawn Woodford

Copyright and License

Code and Documentation Copyright 2012-2018 Shawn Woodford. Code released under the Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].