CCP Flashcards
Abbreviation : IAM
Identity and Access Management
Define : IAM
IAM is a Global Service that allows you to create users and groups to access your AWS environment.
What can IAM groups consist of
IAM groups can only contain users
IAM Users
Mapped to a physical user, has a password for AWS Console access
IAM Policies
JSON documents that outline permissions for users or groups
Where can you apply IAM policies
Policies can be applied to users, groups, and roles
What type of policy is applied directly to a user
An inline policy
IAM Roles
Allows you to create permissions so services can perform tasks in AWS. Common roles are
EC2 instance, Lambda function, and CloudFormation roles
AWS CloudShell
Browser-based shell that gives command-line access to your AWS resources in the selected AWS region
Three MFA options
- Virtual MFA Device
- Universal 2nd Factor (U2F) Security Key
- Other hardware MFA device
Three ways to access AWS
- AWS Management Console
- AWS Command Line Interface
- AWS Software Developer Kit
IAM Credentials Report
A report that lists all your account’s users and the status of their various credentials
IAM Access Advisor
Access Advisor shows the service permissions granted to a user and when those services were last accessed
Abbreviation : EC2
Elastic Compute Cloud
Abbreviation : AMI
Amazon Machine Image
Port : 22
SSH (Secure Shell)
Port : 21
FTP (File Transfer Protocol)
Port : 22
SFTP (Secure File Transfer Protocol)
Port : 80
HTTP
Port : 443
HTTPS
Port : 3389
RDP (Remote Desktop Protocol)
EC2 configuration options
- OS : Linux, Windows, Mac OS
- CPU/RAM
- How much storage space
- Network Card : Speed of the card, Public IP address
- Firewall rules : Security group
- Bootstrap script (configure at first launch) : EC2 User Data
EC2 User Data
-Using a EC2 User Data Script we can bootstrap our machines
-That script is only ran once at the instance first start
-EC2 user data is used to automate boot tasks such as
-Installing updates
-Installing software
-Downloading common files from the internet
-Anything you can think of
The EC2 User Data Script runs with the root user
What is an AMI
Amazon Machine Image (AMI) : An AMI is a template that contains the software configuration (operating system, application server, and applications) required to launch your instance. You can select an AMI provided by AWS, our user community, or the AWS Marketplace; or you can select one of your own AMIs.