Monitoring Flashcards

1
Q

Cloud Watch

A

used to monitor AWS services EC2, ELB, and S3’monitor your environment by configuring and viewing CloudWatch metrics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CloudWatch Metrics

A
EC2 per-instance metrics:
--CPUUtilization
--CPUCreditUsage
S3 Metrics:
--NumberOfObjects
--BucketSizeBytes
ELB Metrics:
--RequestCount
--UnhealthyHostCount
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Detailed vs. Basic level monitoring

A

Basic: data is available automatically in 5-minute periods at no charge
Detailed: data is available in 1-minute periods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CloudWatch Alarms

A

can be created to trigger alerts( or other actions in your AWS accounts, such as an SNS topic), based on threshold you set on CloudWatch metrics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Auto Scaling

A

heavily utilizes Cloudwatch – relying on threshold and alarms to trigger the addition(or removal) of instances from an auto scaling group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CloudWatch EC2 Monitoring

A

System Status Checks;(things out of our control)

Instance Status Checks(things we do control)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

System Status Checks

A
Loss of network connectivity;
loss of system power;
software issues on the physical host
hardware issues on the physical host
How to solveL generally stopping and restarting the instance will fix the issue. This causing the instance to launch on a different physical hardware device.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Instance status checks

A
Failed system status checks
Misconfigured networking or startup configuration
exhausted memory
corrupted file system
incompatible kernel

How to solve: a reboot, or solving the file system configuration issue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

By default, Cloudwatch will automatically monitor metrics that can be viewed at the host level(not the software level)

A

CPUUtiliztion
Network in/out
CPUCreditBalance
CPU Credit Usage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

OS level metrics that required a third party script(perl) to be installed(provided by AWS)

A
Memory utilization, memory used, and memory available.
DIsk Swap Utilization
Disk Space utilization,
disk space used,
disk space avaiable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Cloud Trail

A

API logging service that logs ALL API calls made to AWS
logs are placed into a designated S3 bucket – highly available by default.
logs help when addressing security concerns, by allowing you to view what actions users on your AWS account have performed.
can log ever single action taken in your account.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

VPC Flow Log

A

allow you to collect information about the IP traffic going to and from network interfaces in your VPC.
data is stored in a log group in cloudwatch
can be created on a specific VPC, Subnet or Network interface
include all network interfaces in that VPC or subnet.
each network interface will have its own unique log stream.
you can set the log to capture in “real-time”. the capture window is about 10 minutes, the data is published.
consist of network traffic for a specific 5-tuple.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

5-tuple

A

is a set of 5 different values that comprise a TCP/IP connection.

  1. source IP address
  2. source port number
  3. destination IP address
  4. destination port number
  5. Protocol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Benefits of VPC flow logs

A

troubleshoot why certain traffic is not reaching an EC2 instance
added security layer by allowing you to monitor that traffic that reaches your EC2 instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Limitations of VPC flow logs

A

Traffics not captured by VPC Flow logs:

  1. traffic between an EC2 instance and an Amazon DNS Server
  2. Traffic generated by request for instance metadata
  3. DHCP traffic.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly