Security and Monitoring Flashcards
What is a security group?
A virtual firewall for EC2 instances
What is bootstrap scripts?
a script that runs when instance first runs
what permissions does bootstrap script have?
full administrative access
How long does it take for changes to security groups to occur?
Immediately
How many EC2 instances can you have in a security group?
Any number
Why can there only be one security group attached to an EC2 instance?
There can many security groups attached to an EC2 instance
What inbound traffic is blocked by default?
All inbound traffic
Is a network ACL or security group hit first when a request is coming from the internet into a public subnet?
The network ACL is hit first
What does 0.0.0.0/0 do?
Let’s everything in
What is the first line of defense?
Network ACL’s
What is a Network ACL?
An layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets
By default what inbound and outbound traffic is allowed by the default network ACL?
All
Does a VPC automatically have a network ACL?
Yes
What inbound and outbound traffic is allowed by default in a custom network ACL?
None
Should you block IP addresses using a network ACL’s or security groups
Network ACL
How many network ACL’s can a subnet be associated with?
One
Are security groups or network ACL’s stateless?
Network ACL
In what order are the network ACL’s numbered list of rules evaluated?
In order from lowest number
What does VPN Cloudhub do?
Connect multiple sites with differing VPN’s together
What measure does VPN Cloudhub do to protect your data since it uses the public internet?
Encrypts your data
What is cloudwatch?
A monitoring and observability platform designed to give insight into your AWS architecture and potential problems
What should you create to notify you of a system failure?
An alarm
What are default metrics for cloudwatch?
CPU utilization and network throughout
What are custom metrics for cloudwatch?
EC2 memory utilization, EBS storage capacity
What is cloudwatch logs?
A tool that allows you to monitor, store, and access log files from a variety of sources
What is a log event?
A record of what happened
What does a log event contain?
The data and a timestamp
What is a log stream?
A collection of log events from the same source
What is a log group?
A collection of log streams
What is a filter pattern in cloud watch logs?
A way to look for specific errors
What is Amazon managed Grafana?
Fully managed AWS service allowing instant querying correlating and visualizing of your operational metrics, logs, and traces
What are Grafana workspaces?
areas created to allow separate data visualizations and querying
Does Grafana have built in security?
Yes
What are some key use examples for Amazon managed Grafana?
container metric visualizations, internet of things monitoring, troubleshooting
What is Amazon managed service for prometheus?
Serverless, prometheus compatible service used for securely monitoring container metrics at scale