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.
EC2 Instance Types
- General Purpose
- Compute Optimized
- Memory Optimized
- Accelerated Computing
- Storage Optimized
EC2 General Purpose
General purpose instances provide a balance of compute, memory and networking resources, and can be used for a variety of diverse workloads. These instances are ideal for applications that use these resources in equal proportions such as web servers and code repositories.
EC2 Compute Optimized
Compute Optimized instances are ideal for compute bound applications that benefit from high performance processors. Instances belonging to this family are well suited for batch processing workloads, media transcoding, high performance web servers, high performance computing (HPC), scientific modeling, dedicated gaming servers and ad server engines, machine learning inference and other compute intensive applications.
EC2 Memory Optimized
Memory optimized instances are designed to deliver fast performance for workloads that process large data sets in memory.
EC2 Accelerated Computing
Accelerated computing instances use hardware accelerators, or co-processors, to perform functions, such as floating point number calculations, graphics processing, or data pattern matching, more efficiently than is possible in software running on CPUs.
EC2 Storage Optimized
Storage optimized instances are designed for workloads that require high, sequential read and write access to very large data sets on local storage. They are optimized to deliver tens of thousands of low-latency, random I/O operations per second (IOPS) to applications.
What is a Security Group
- Security groups act as a ‘firewall’ on EC2 instance
- The control access ports, authorized IP ranges, and control inbound and outbound networks
- Only contain allow rules
EC2 Instance Connect
Substitute for logging into your instance though a terminal. Launches a web-based SSH connection.
EC2 Purchasing Options
- On-Demand Instance : short workload, predictable pricing
- Reserved : (min 1 year) long workloads
- Convertible Reserved Instance : Long and flexible workload
- Spot Instance : short workload, cheap, can lost instance
- Dedicated Hosts : book entire physical server
- Dedicated Instance : has hardware dedicated to that instance
EC2 Instance Role
A Role applied to an instance that links to an IAM role allowing the EC2 instance to connect to IAM
Abbreviation : EBS Volume
Elastic Block Store Volume
What is an EBS Volume
- Network drive you can attach to your instance while they run
- Can only be mounted to one instance
- Locked to AZ
What is a EBS Snapshot
Backup of an EBS volume at a point in time. Can be copied across AZ or Region
What is EC2 Image Builder
A tool used to create custom AMIs for use in your AWS environments.
What is EC2 Instance Store
EC2 Instance Store is a physical hard drive attached to your EC2 instance for increased performance over an EBS volume. EC2 Instance Store lose their storage if they’re stopped
Abbreviation : EFS
Elastic File System
What is EFS
A managed network file system that can be mounted on 100s of EC2s. EFS works with Linux instances in multi-AZ only.
What is EFS-IA
EFS Infrequent Access is used to save on files that are not often accessed. EFS can move files automatically based off a Lifecycle Policy into EFS-IA. Transparent to the applications accessing EFS
What is Amazon FSx
A fully managed, highly reliable, and scalable native shared file system for Windows File Server, Lustre, and NetApp. Can be integrated into you on-premises.
What is elasticity mean in AWS
Once a system is scalable, elasticity means that there will be some ‘auto-scaling’ so that the system can scale based on the load. This is ‘cloud-friendly’ : pay-per-use, match demand, optimize costs
What is scalability in AWS
Ability to accommodate a larger load by making the hardware stronger (scale up), or by adding nodes (scale out)
What is HA in AWS
Run instances for the same application across multi AZ for redundancy
Abbreviation : ELB
Elastic Load Balancer
What is ELB
A managed load balancer that forward internet traffic to multiple servers downstream.
Three types of load balancers offered by AWS
- Application Load Balancer (HTTP/HTTPS only)
- Network Load Balancer (TCP)
- Classic Load Balancer (slowly retiring)
Abbreviation : ASG
Auto Scaling Group
What is an ASG
An ASG allows us to spin up or down instances to meet demand based on pre-defined thresholds. Also provides health checks on instances and replaces bad instances.
Abbreviation : S3
Simple Storage Service
What is Amazon S3
S3 allows people to store objects (files) in buckets (directories).
What are some S3 security options
- IAM policy to restrict what type of access an IAM user has
- Encryption of the S3 bucket
- Resource based policies
What is an S3 Website
S3 can host static websites and have them accessible on the www
What is S3 Versioning
It will allow you to create versions for your files in the S3 bucket. Allowing you to roll back to previous versions and even deletion. This is not a retroactive setting.
What is S3 Access Logs
A log that tracks all access to an S3 bucket.
What is S3 Replication CRR
Cross Region Replication
What is S3 Replication SRR
Same Region Replication
What is S3 Replication
A replication of object in an S3 bucket to another bucket, asynchronous. Can be used to replicate information across accounts with the proper permissions. Not retroactive.
What are the six S3 Storage Classes
- Standard
- Standard IA
- One Zone-IA
- Intelligent Tiering
- Glacier
- Glacier Deep Archive
What is an S3 Object Lock
It blocks an object version deletion for a specified amount of time.
What is Glacier Vault Lock
A policy that is locked from editing for data compliance and retention.
What is the AWS Snow Family
Offline devices to perform data migrations. If it takes more than a week to transfer over the network, use Snowball devices. Highly-secure, portable devices to collect and process data at the edge, and migrate data into and out of AWS
What are some Data Migration Tools
Snowcone
Snowball Edge
Snowmobile
What are some Edge Computing Tools
Snowcone
SnowMobile
What is a AWS SnowBall Edge
Physical data transport solution, moves TBs or PVs of data in or out of AWS. Comes in Storage and Compute optimized versions.
What is AWS Snowcone
Small, portable computing device, very durable. 8TB of storage. Used for edge computing.
What is AWS Snowmobile
A truck used to move EBs and PBs of information to and from AWS.
What is AWS OpsHub
OpsHub is an agent that help you manage your Snow Family devices.
What is AWS Storage Gateway
A bridge between on-premise data and cloud data in S3 and EBS
Abbreviation : RDS
Relational Database Service
What is AWS RDS
- Relational Database / OLTP
- Managed DB service for DBs that use SQL language
What is Aurora
- Relational Database
- Cloud optimized
- PostgreSQL and MySQL both supported
- Proprietary tech
What is ElasticCache
- In-Memory database
- Helps reduce load off databases for read intensive workloads
- Managed service
What is DynamoDB
-Key/Value Database
-Low latency
-NoSQL/not a relational database
Serverless
What is DynamoDB Accelerator (DAX)
-Similar to ElastiCache, but specific to DynamoDB
What is Redshift
- Warehouse OLAP (online analytical processing (analytics and date warehousing)
- Data stored in Columns
Abbreviation : EMR
Elastic MayReduce
What is EMR
EMR helps creating Hadoop clusters (Big Data) to analyze and process vast amounts of data
What is Athena
Serverless query service to perform analytics against S3 objects.
What is QuickSight
Serverless machine learning-powered business intelligence service to create interactive dashboards
What is DocumentDB
‘Aurora for MondoDB’ (JSON - NoSQL database)
What is Neptune
Fully managed graph database
Abbreviation : QLDB
Quantum Ledger Database
What is QLDB
Financial Transaction Ledger (immutable journal, cryptographically verifiable)
What is Amazon Managed Blockchain
Managed Hyperledger Fabric & Ethereum blockchains
Abbreviation : DMS
Database Migration Service
What is DMS
Quickly and securely migrate databases to AWS, resilient, self-healing