AWS Resources Flashcards
What is a resource group?
A resource group is a collection of AWS resources in the same region that match the results of a query. You can create a resource group from a query based on resource tags or from a CloudFormation Stack.
How many tags can you assign to one resource?
50
What are the 4 broad tagging strategies?
Technical (i.e. Name: webserver1, Environment: Production, Application: database server)
Automation (i.e. use a Date tag to specify when an automation task should occur)
Business (i.e. Owner: John Brunnings, Business Unit: [name of person who pays for the resource], Project: CMIC)
Security (i.e. Confidentiality: PHI, Compliance: HIPAA)
What are a few resources that you can make changes to in the mobile app?
CloudWatch Alarms
EC2 security groups
EC2 instances
CloudFormation stacks
What are the requirements for using the CLI?
Your network should allow outbound access to the internet on TCP port 443.
You’ll need an IAM access key ID and secret key to authenticate.
In what instance would you not need to install the CLI?
If you are running it from an EC2 instance running an Amazon Linux AMI
What are the two ways to install the CLI?
Python and Pip (recommended way)
Stand-alone installer
What is CloudWatch?
Think “METRICS.” A service that helps you plan, monitor, and fine-tune your AWS infrastructure and applications.
What are a few common use cases for CloudWatch?
Infrastructure monitoring and troubleshooting
Resource optimization
Application monitoring
Log analytics
What is a metric?
A variable that contains a time-ordered set of data points. Each data point contains a timestamp, a value, and optionally a unit of measure.
How long does CloudWatch store metrics?
15 months
What kind of metrics get sent to CloudWatch?
EC2 instance CPU utilization
S3 bucket sizes
DynamoDB consumed read and write capacity units
What is a CloudWatch Alarm?
Think “change.” It watches over the value of a single metric. If the metric crosses a threshold, the alarm will take action. It will not trigger if the metric doesn’t change.
What are the actions that a CloudWatch Alarm might take?
Notification (SNS)
Auto Scaling action (i.e. adding more EC2 instances)
EC2 action (i.e. stoping, terminating, or recovering an instance)
What are CloudWatch Logs?
They collect and store log files from AWS and non-AWS sources and makes it easy to view, search, and extract custom metrics from them.