



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




AWS Identity and Access Management (IAM) securely shares and controls individual and group access to AWS resources. It integrates with many other AWS services, supports federated identity management, granular permissions, and multi-factor authentication (MFA). IAM also provides identity information for assurance. IAM addresses who is requesting access to the AWS account and the resources within it, handling authorization by checking policies relevant to the request to determine whether to allow or deny it.
An IAM user is a person or application that can authenticate with an AWS account. A group is a collection of IAM users who are granted identical authorization. A role is an identity used to grant a temporary set of permissions to make AWS service requests. An IAM policy is a document that defines which resources can be accessed and the level of access to each resource.
An IAM entity is used by AWS for authentication, encompassing users and roles. An IAM identity is used to identify and group users, groups, or roles. A policy can be attached to an IAM identity. An IAM resource includes the user, group, role, policy, and identity provider objects stored in IAM. Resources can be added, edited, and removed from IAM. A principal is a person or application that uses the AWS account root user, IAM user, or IAM role to sign in and make requests to AWS.
A request is made when a principal attempts to use the AWS Management Console, API, or AWS CLI. The request contains actions or operations, resources, the principal, environment data (IP address, user agent, SSL status, time of day), and resource data.
A person, application, or AWS service can assume a role. Common use cases include applications running on Amazon EC2, cross-account access for an IAM user, and mobile applications. IAM credentials are used for authentication.
Multi-factor authentication adds an extra layer of protection on top of a username and password. Users are prompted for an authentication code. It can be hardware-based or a virtual device. MFA should be activated for AWS Management Console users and AWS API users (requiring temporary security credentials). Examples of MFA devices include security keys (YubiKey, Gemalto), applications (Google Authenticator, Authy), and hardware devices.
IAM policies define permissions.
IAM policies are evaluated to determine authorization.
An identity-based policy is an example of authorizing with IAM.
A cross-account, resource-based policy is another example of authorizing with IAM.
An example IAM policy demonstrates an allow statement.
Identity federation is a system of trust between two parties to authenticate users and convey information needed to authorize resource access. AWS Single Sign-On (AWS SSO) and AWS Identity and Access Management (IAM) are two AWS services available to provide federation to AWS accounts and applications.
AWS SSO allows you to create or connect identities once and manage access centrally across AWS accounts. It provides a unified administration
connection to those instances. It requires specifying the public subnet in which the NAT gateway should reside and an Elastic IP address to associate with it. After creation, the route table for private subnets must be updated to direct internet-bound traffic to the NAT gateway.
Private subnets consist of a contiguous range of IP addresses. Interfaces attached to instances in private subnets cannot be reached from outside the parent VPC. Private subnets are often used to host database instances that don't need to be accessed through the public internet.
A public IP address is an IP address that is used to access the internet.
An Elastic IP address is associated with an AWS account, is static and doesn't change over time, and comes from Amazon's pool of IPv4 addresses. It is used when working on a long-term project and configuring IP addresses can be time-consuming.
A route table contains a set of rules (or routes) that direct network traffic from your subnet.
Public subnets are used when external traffic needs to reach an interface, such as an EC2 instance. Private subnets are often used to host database instances that don't need to be accessed through the public internet.
Security groups have rules that control inbound and outbound instance traffic. Inbound rules specify the source, protocol, and port range to allow traffic from network interfaces assigned to the same security group.
Network ACLs are stateless, meaning that responses to inbound traffic are subject to the rules for outbound traffic (and vice versa).
Default inbound and outbound rules for Network ACLs allow all IPv4 traffic from 0.0.0.0/0 and then deny all IPv4 traffic from 0.0.0.0/0.
Security groups operate at the instance or interface level and support allow rules only, are stateful, and all rules are evaluated before a decision is made. Network ACLs operate at the subnet level and support both allow and deny rules, are stateless, and rules are evaluated in number order.
VPC security features include security groups, network ACLs, subnets, and route tables. VPC Flow Logs can log activity down to the interface level.
Elastic Load Balancing distributes incoming application traffic, supports high availability, and performs health checks on instances. It provides Application Load Balancer, Network Load Balancer, and Classic Load Balancer options.
ELB provides a single point of contact and supports encryption at rest and in transit.
Control traffic at all layers, inspect and filter traffic at the application level, and automate network protection.