EC2 Elastic Compute Cloud Flashcards
what kind of as a service is EC2 ?
IaaS
security group is what for ec2?
firewall
what is EC2 User data script?
automate boot tasks
ec2 consists of
renting virtual machines (EC2)
storing data on virtuak drives (EBS)
Distributing load across machines (ELB)
Scaling svc using an auto-scaling group(ASG)
ec2 is a fundamental to understand how
the cloud works
what happens when u create an ec2 instance?
ip addresses are created (CIDR) to connect to instance
What are the ec2 instance types ?
General purpose, compute optmized, memory optmized, storage optimized
What instance type would you use for diveristy workloads and balancing compute, memory, network?
general purpose
What instance type would you use for compute-intensive tasks, high level processing ?
compute optimized
What instance type would you use for fast performance in RAM, large data sets?
memory optimzied
What instance type would you use for storage-intensive tasks, read/write, and large data sets?
storage-optimized
ec2 security groups
firewalls for ec2 instances
security group only have ____ rules
allow
what regulates ec2 instances access to ports, authorized ip ranges, control in/outbound network?
security groups
port 22
SSH - linux and SFTP-secure file transfer using ssh
port 21
FTP
port 80
http
port 443
https
port 3389
RDP - windows instances
What instance launch type would you use for short uninteruppted workload with predictable pay per use pricing?
on demand
What instance launch type would you use for a minimum of 1 or 3 year commitment?
reserved instance
What instance launch type would you use for short workloads and can lose the instance, unreliable, not for critical jobs, workloads resilent to failure?
spot instances
What instance launch type would you use to book entire server?
dedicated hosts
What instance launch type would you use for instances running on hardwre dedicated to you?
dedicated instances
What reserved instance type would you use for long workloads and databses?
reserved instance
What reserved instance type would you use for long workloads with flexible instances that can change over time?
convertible reserved inst
What reserved instance type would you use that run for a certain day or time, not continuous, now deprecated?
scheduled reserved instance
What instance launch type is the best for databases or steady-state usage apps?
reserved instnaces
What instance launch type can you choose to pay upfront or not?
reserved instnaces
What instance launch type has no upfront costs or commitments?
on demand
on-demand linux pay per use is
billing/sec
on-demand other os not including linux pay per use is
billing/hr
What instance launch type has the highest cost?
on demand
what is the cheapest spot instance and can have biggest discount that you bid for?
spot inst
What instance launch type has ctrl inst placement, physical server w/ ec2 instance, compliance reqs, can use existing server-bound licenses, 3 yr reserveration, more expensive, complicated license model and strong regulatory/compliance model?
dedicated hosts
differences between dedicated hosts and inst
tbd
What instance launch type may share hardware in instance in same acct, no control over instance placment, physical server?
dedicatd inst
What instance launch type has per instance billing?
dedicatd inst