Chapter 6.5 - Security Groups & Bootstrap Scripts Flashcards
What is the Linux Communication Protocol & Network Port?
SSH = Secure Shell
Port 22
What is the Windows Communication Protocol & Network Port?
RDP = Remote Desktop Protocol
Port 3389
What is the Unencrypted Web Browsing Protocol & Network Port?
HTTP = Hypertext Transfer Protocol
Port 80
What is the Encrypted Web Browsing Protocol & Network Port?
HTTPS = Secure Hypertext Transfer Protocol
Port 443
What is a Security Group in AWS?
Security groups are virtual firewalls for your EC2 instance.
What are the fundamental characteristics of Security Groups?
In real world scenarios you would only open SSH and HTTPS in order to maintain security.
Changes to security groups take effect immediately.
You can have any number of EC2 instances within a security group.
You can have multiple security groups attached to EC2 instances.
All inbound traffic is blocked by default
All outbound traffic is allowed.
What is the fundamental purpose for Bootstrap Scripts?
A bootstrap script is a script that runs when the instance first runs. It passes user data to the EC2 instance and can be used to install applications (like web servers and databases), as well as do updates and more.