IAM, Route 53 & EC2 Flashcards
IAM identities?
IAM user, groups and roles
IAM working of policies ?
Policies attached to role or directly to user (inline policy). Role can be applied to a user or group of user or resource.
Types of policies ?
Managed policies (orange box), customer managed (editable) or inline
IAM policy components
Version, Statement (container for policy element), Sid (optional serial id), Effect (allow or deny), Principal (account, user or role), Action (list of actions), Resource, Condition (optional)
AWS access keys
2 keys per user for programmatic access
AWS Cognito?
Used for giving temporary access to AWS services when authenticates with external identity provider like Google, FB etc.
AWS Cloud 9?
Cloud based web IDE
Route 53 ?
Managed DNS by AWS. Gels very well with the AWS services.
Managing subdomains ?
WE can have different subdomains like app.humanityolympiad.org point to Ec2, www.humanityolympiad.org pointing to cloudfront and so on
Route 53 traffic flow ?
There are 7 routing policies within route 53. This is visual editor for working with them.
Route 53 routing policies ?
Simple (multiple IPs random), weighted (separate for each IP with weight), latency (lowest latency), failover (primary, sec site with health check), geolocation (based on origin location), geoproximity (bias values, region), multi-value (simple with failover)
AWS Route 53 Resolver ?
For in house data centre and AWS VPC
EC2 instance types ?
General, Memory, Compute, Accelerated Optimised, Storage Optimised
EC2 placement groups ?
Logical placement of instances for multi-tenant apps. Is free service.
EC2 userdata ?
Script that can be run before launching for initial setup
EC2 metadata ?
Instance details like AMI, IP etc curl /latest/meta-data