Aws Notes


       The  Cost  Explorer API enables you to programmatically query your cost
       and usage data. You can query for aggregated data such as total monthly
       costs  or total daily usage. You can also query for granular data, such
       as the number of daily write operations for  Amazon  DynamoDB  database
       tables in your production environment
  • Linux

    aws ce get-cost-and-usage --time-period Start=$(date -u -d "$TODAY" '+%Y-%m-01'),End=$(date -u +"%Y-%m-%d" --date="+1 day") --granularity MONTHLY --metrics UnblendedCost --output text


AWS Cost Explorer USE1-APIRequest                                                $0.05
$0.01 per API Request                      5.000 Request                         $0.05

steps to make ec2 access from outside

  1. create vpc
  2. create internet gateway
  3. add route to the gateway into the routetable

RequestTimeTooSkewed error with S3 upload

cloudfront set Origin Custom Headers