Skip to content

Instantly share code, notes, and snippets.

@Javlopez
Last active November 26, 2015 22:52
Show Gist options
  • Save Javlopez/1782c673f4af7e360fe1 to your computer and use it in GitHub Desktop.
Save Javlopez/1782c673f4af7e360fe1 to your computer and use it in GitHub Desktop.
$ sudo pip install awscli
$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json
$ aws ec2 create-security-group --group-name devenv-sg --description "security group for development environment in EC2"
{
"GroupId": "sg-b018ced5"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment