9. Edge
• Route 53 - Domain name service
• Cloud Front - Content Delivery Network (CDN)
10. Instance
• Meta Data
- Instance resume (e.g. Memory size)
• User Data
- User customize
- e.g. pre-configuration script
- Only execution at first launch
(restart/reboot don’t take effect)
31. Access service via Role
• Hard code access key
• High Risk
awsConfig({
region: 'us-east-1' // explicitly set AWS region
sslEnabled: true, // override whether SSL is enabled
maxRetries: 3, // override the number of retries for a request
accessKeyId: 'your_aws_access_key', // can omit access key and secret key
secretAccessKey: 'your_secret_key' // if relying on a profile or IAM
profile: 'profile_name', // name of profile from ~/.aws/credentials
timeout: 15000 // optional timeout in ms. Will use AWS_TIMEOUT
});