AWS

https://github.com/donnemartin/awesome-aws

https://github.com/localstack/localstack

use localstack on local:

http://IP:4566/health?reload
aws configure --profile default
aws --endpoint-url=http://localhost:4566 kinesis list-streams

aws certification:

  • Foundational: 6个月经验. Cloud Practitioner Foundational(CLF).
  • Associate: 一年经验. Solutions Architect Associate(SAA); Developer, SysOps Administrator
  • Professional: 两年经验. Solutions Architect Professional(SAP), Devops Engineer.
  • Specialty: 特殊领域.

SDK

python

https://github.com/boto/boto3

golang

https://github.com/aws/aws-sdk-go

javascript

https://github.com/aws/aws-sdk-js


AWS Management Console

通过webUI管理资源.


AWS Command Line Interface

https://github.com/aws/aws-cli

https://github.com/awslabs/aws-shell

安装awscli-v1:

$ pip install awscli

推荐使用awscli-V2:

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html

使用:

aws [-h] [--profile PROFILE] [--debug]

option:

-h, --help
--profile PROFILE
--debug

CLI credentials

  • CLI

      $aws configure
    
  • Environment variable

      export AWS_ACCESS_KEY_ID="id"
      export AWS_SECRET_ACCESS_KEY="key"
      export AWS_SESSION_TOKEN="token"
    
  • Shared credentials file

      $vi ~/.aws/credentials 
      [default]
      aws_access_key_id=id
      aws_secret_access_key=key
      aws_session_token=token
    
      export AWS_SHARED_CREDENTIALS_FILE=~/.aws/credentials
    
  • Config file

      $vi ~/.aws/config
      [default]
      aws_access_key_id=id
      aws_secret_access_key=key
      aws_session_token=token
    
      export AWS_CONFIG_FILE=~/.aws/config
    
  • IAM role

how to check:

$aws sts get-caller-identity

services

iam
ec2
sts

Launch Wizard


AWS Auto Scaling


CloudFormation


AWS License Manager