asfenquotes.blogg.se

Aws command line for mac
Aws command line for mac







  1. #AWS COMMAND LINE FOR MAC INSTALL#
  2. #AWS COMMAND LINE FOR MAC MAC#

  • ec2-elb-upload-ssl-cert.sh Upload an SSL Certificate to AWS for use in setting up an ELB.
  • ec2-elb-export-template.sh Export an ELB to a JSON template file for version control, duplication or recreation.
  • ec2-ebs-delete-snapshots.sh Deletes snapshots for each EC2 EBS volume that is tagged with the backup flag and matches the specified date.
  • ec2-ebs-create-snapshots.sh Create a snapshot of each EC2 EBS volume that is tagged with the backup flag.
  • ec2-classic-import-network-acl.sh Import CIDR IP list to AWS EC2 Classic ACL rules and deny access.
  • ec2-associate-elastic-ip.sh Reassign a previously allocated Elastic IP to the instance which runs this script.
  • ec2-ami-encrypted-ebs-boot-volume.sh Create an AMI with an encrypted EBS boot volume from the latest Amazon Linux AMI.
  • cloudwatch-logs-retention-policy.sh Set CloudWatch Logs Retention Policy for all log groups in all regions available.
  • cloudwatch-logs-search.sh Search CloudWatch Logs for any string across all regions and log groups.
  • cloudwatch-logs-delete-groups.sh Quickly delete all CloudWatch Log Groups with a specified prefix in all regions available.
  • cloudwatch-logs-cleanup.sh Delete all CloudWatch Log Groups with a Last Event that is older than the Retention Policy.
  • cloudwatch-create-alarms-unhealthyhost.sh Create CloudWatch UnhealthyHost Alarms for all ALB and ELB Elastic Load Balancers in all regions available.
  • cloudwatch-create-alarms-statuscheckfailed.sh Create CloudWatch StatusCheckFailed Alarms with Recovery Action for all running EC2 Instances in all regions available.
  • cloudwatch-create-alarms.sh Create CloudWatch alarms for EC2, RDS, Load Balancer environments.
  • cloudfront-invalidation-status.sh Checks CloudFront Distributions for cache invalidation status to complete.
  • cloudfront-inprogress-status.sh Checks CloudFront Distributions with In-Progress status to complete and become Deployed.
  • #AWS COMMAND LINE FOR MAC INSTALL#

    $ sudo apt-get install jq Tools included in this repo: Linux: jq is in the official Amazon Linux AMI, Debian and Ubuntu repositories. Jq is a lightweight and flexible command-line JSON processor. $ aws configure -profile example What is jq? You can configure additional profiles by using aws configure with the -profile option or by adding entries to the config and credentials files. The AWS CLI supports named profiles stored in the config and credentials files. AWS Access Key ID and AWS Secret Access Key are your account credentials. The AWS CLI will prompt you for four pieces of information. If you already have pip and a supported version of Python, you can install the AWS CLI with the following command:įor general use, the aws configure command is the fastest way to set up your AWS CLI installation.

    aws command line for mac

  • Python 2 version 2.6.5+ or Python 3 version 3.3+.
  • Installing 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.

    aws command line for mac aws command line for mac

    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?

    #AWS COMMAND LINE FOR MAC MAC#

    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've tried to keep everything applicable to as many use cases across regions and across as many different AWS accounts 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. 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. 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. A collection of bash shell scripts for automating various tasks with Amazon Web Services using the AWS CLI and jq.









    Aws command line for mac