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