Sunday, 12 November 2017

AWS Initial Setup


1. AWS CLI ( Command Line Interface )
  - Installation : http://docs.aws.amazon.com/ko_kr/cli/latest/userguide/installing.html
  - Configuration : http://docs.aws.amazon.com/ko_kr/cli/latest/userguide/cli-chap-getting-started.html

2. setup proxy if you need - hppt or https

  2.1.   setup proxy with window system (Permanent)
               https://docs.cloudfoundry.org/cf-cli/http-proxy.html
  2.2.   setup proxy with window system (Temporarily)
       C:\Users\hwangki>set HTTP_PROXY=http://web-proxy.sg.hpicorp.net:8080
       C:\Users\hwangki>set HTTPS_PROXY=http://web-proxy.sg.hpicorp.net:8080

3. AWS CLI test
C:\Users\hwangki>aws ec2 describe-availability-zones
{
    "AvailabilityZones": [
        {
            "State": "available",
            "ZoneName": "ap-southeast-2a",
            "Messages": [],
            "RegionName": "ap-southeast-2"
        },
        {
            "State": "available",
            "ZoneName": "ap-southeast-2b",
            "Messages": [],
            "RegionName": "ap-southeast-2"
        },
        {
            "State": "available",
            "ZoneName": "ap-southeast-2c",
            "Messages": [],
            "RegionName": "ap-southeast-2"
        }
    ]
}


No comments: