Compute Service Flashcards
(37 cards)
what can you use as a firewall?
security group
what kind of service is EC2?
infrastructure as a service
which instance types do you know?
general purpose, compute optimized, memory optimized, storage optimized
name a few examples for compute optimized instances
- batch processing workloads
- media transcoding
- high performance web servers
- high performance computing (HPC)
- scientific modeling & machine learning
- dedicated gaming servers
name a few examples for memory optimized instances
- floating point number calculations
- graphic processing
- data pattern matching
name a few examples for storage optimized instances
- high frequency online transaction processing (OLTP) systems
- relational and NoSQL databases
- cache for in-memory databases (redis)
- data warehousing applications
- distributed file systems
what can you use to customize the software installation when the instance is launched?
apply an AMI to an instance
what can you use to balance the traffic to several instances?
Elastic Load Balancing
what can you use to automatically add or remove instances (scale horizontaly)?
EC2 Auto Scaling
What service runs code in response to an event (trigger), without you needing to provide (or manage) a server?
AWS Lambda
Name a few examples of triggers for AWS Lambda
click on a website, an api-call, an image upload, output from a connected device
Is IAM a global service?
Yes
What can you say about the root user?
- is created by default
- shouldn’t be used or shared!
What are user?
Users are people within your organization and can be grouped
Can groups contain other groups?
No, groups can only contain users
What are the two rules for groups regarding users?
Users don’t have to belong to a group and user can belong to multiple groups
What are policies?
Policies are JSON documents, which can be assigned to users or groups and define the permissions of the users
What is the principle you should use regarding policies?
Least privilege principle
What password policy can you set up?
- minimum password length
- lowercase letters, numbers, non-alphanumeric characters
- prevent password re-use
What can you use to make your account more safe?
multifactor autorization (MFA)
Name the three options to access AWS and how they are protected:
- AWS Management Console (protected by password + MFA)
- AWS Command Line Interface (CLI) (protected by access key)
- AWS Software Developer Kit (SDK) - for code: protected by access keys
Where can you get access keys and who manages the access keys?
Access Keys are generated through the AWS Console and users manage their own access keys
Can you share your access keys with others?
No! Like passwords you should keep them secret!
With what can you compare Access Key ID and Secret Access Key?
Access Key ID is like username and Secret Access Key is like password