Account/Physical Organization Flashcards
Availability Zones work together, across regions, to allow for highly available and fault-tolerant applications.
False. not across region, within a region.
High availability
A durable system that can operate for long periods of time without failure.High availability refers to a system that has been tested to be durable and has its components highly or always available to its users.
IAM Policies
policies can not be directly attached to AWS resources(such as an EC2 instance).
more than one policy can be attached to a user or group at the same time.
How to create a policy?
using policy generator or written from scratch.
policy simulator
run test based on the policy you created to make sure policy works.
Power user access
Admin access except it does not allow user/group management.
Read Only Access
Only view aws resources.
IAM User
User credentials should NEVER be stored or “passed” to an EC2 instance.
IAM Groups
Allow you to assign IAM permission policies to more than one user at a time.
IAM Roles
You can now assign/change a role that is assigned to an RC2 instance after the creation process via the CLI or the EC2 management console.
– an EC2 instance can only have one role attached at a time.
IAM Role use case
you are using an EC2 instance and it need to access an S3 bucket.
- Instance should assume a role from IAM with the proper required permissions.(S3 read only);
- Instance can then perform actions based on the role it assumes. (read from S3).
- You “can” but should never pass or store credentials in or to an EC2 instance so roles are used instead.
IAM Role Other Users
assume a “role” for temporary access to AWS accounts and resources through having something like Active Directory or single sign-on service assume an “Identity Provider Access” role.
Create “cross account” access where a user from one account can assume a role with permissions in another account.
STS
3 components: Session Toke; An Access Key ID; A Secret Access key;
When to use STS
Identity Federation; Roles for Cross_account Access; Roles for amazon EC2.
STS API Calls
AssumeRole: cross-account delegation and federation through a custom identity broker;
AssumeRoleWithWebIdentity: Federation through a web-based identity provider;
AssumeRoleWIthSAML: Federation Through an ENterprise Identity Provider Compatible with SAML 2.0;
GetFederationToken: Federation Through a Custom Identity Broker;
GetSessionToken: Temproary Credentials for Users in Untrusted Environments.