Skip to main content

Amazon Web Services

Amazon Web Services

S3

ElasticSearch

Logging with Winston

AWS S3 CORS

[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"POST",
"GET",
"DELETE",
"PUT"
],
"AllowedOrigins": [
"https://mydomain.com/*"
],
"ExposeHeaders": [
"Etag"
],
"MaxAgeSeconds": 3000
}
]

Nat Gateways

aws ec2 describe-nat-gateways |
jq -r '.NatGateways[] | .NatGatewayAddresses[] | .PublicIp'