EC2 Flashcards
Pricing Options - On Demand
Pay by the hour or second
Pricing - Spot
Purchased unused capacity at a a discount of up to 90%
Reserved Instances
Reserved capacity for known fixed requirements. Up to 72% discount
Dedicated
A physical EC2 server dedicated for your use
When granting permissions for EC2 instances, you should always groups
True
Secret Access Key
Only see this once. If you lose, you’ll have to regenerate
Using Roles
The preferred option from a security perspective
Policies
Controls a role’s permissions
Updating a policy attached to a role takes effect immediately
True
You can attach and detach roles running EC2 instances withouth having to stop/terminate them
True
All inbound traffic is blocked by default in a security group
True
All outbound traffic is blocked by default in a security group
False
Bootstrap Scripts
A script that runs the instance first runs
User Data vs Metadata
User data is your bootstrap scripts
Metadata is data about your EC2 instances
Netowrking - When would you need an ENI
Elastic Network Interface - for basic networking.