You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.0 KiB

AWS

  • CLI
  • Console SignIn
  • EC2 vs Lambda comparison
    • EC2 : VM instance
      • always running
      • Pricing : CPU, memory, storage & runtime
      • use-case : high-performance application, long running
    • Lambda : Container
      • Run when event triggered
      • Pricing : based on running time
      • Max Mem : 3008MB
      • Max runtime : 900 sec
      • use-case :
        • automating task
        • realtime log
        • processing object upload to S3
  • Storage
    • EBS - Elastic Block Storage
    • S3
  • Messaging
    • SNS - Simple Notification Service
      • distributed Publish Subscribe system. push to subscriber
      • multiple receiver allowed
    • SQS - Simple Queue Service (Message Queue)
      • distributed queuing system. polling by receiver
      • single receiver
  • VPC - Virtual Private Cloud
$ aws --version

$ aws configure

AWS Access Key ID [None]: ...
AWS Secret Access Key [None]: ...
Default region name [None]: ap-southeast-1
Default output format [None]:

$ aws configure list

      Name                    Value             Type    Location
      ----                    -----             ----    --------
   profile                <not set>             None    None
access_key     ****************7BMR shared-credentials-file
secret_key     ****************Ph2l shared-credentials-file
    region           ap-southeast-1      config-file    ~/.aws/config
    
    
$ aws help

$ aws ec2 help

$ aws ec2 describe-instances help