advanced EC2 Flashcards
Allows for EC2 build automation using user data
EC2 Bootstrapping
169.254.169.254/latest/user-data
EC2 bootstrapping
anything in user data is executed by the instance OS ONLY ONCE AT LAUNCH
True
Set of helper scripts that interface with the CloudFormation stack by making CloudFormation a lot more powerful and enabling you to fine-tune templates to better fit your use case. For example, you can update application configuration without recreating an instance
CFN-INIT
Can cfn-init be executed after launch?
Yes
Resource to prevent its status from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded
CreationPolicy attribute
script signals CloudFormation to indicate whether Amazon EC2 instances have been successfully created or updated,
cfn-signal
container for an IAM role
InstanceProfile
How are temp credentials delivered for instance roles?
Instance Metadata
provides secure, hierarchical storage for configuration data management and secrets management
AWS Systems Manager Parameter Store
provides support for three types of parameters: String, StringList, and SecureString
Parameter Store
Are CloudWatch or CloudWatchLogs capable of capturing data inside an ec2 instance?
No, need CloudWatch Agent
Influences how instances are placed in underlying AWS hardware.
placement groups
placement group where your instances are placed close together inside an Availability Zone
cluster group
placement group where your instance are seperated
spread group
placement group where groups of instances are spread apart
Partition group
placement group which enables workloads to achieve low-latency, high network throughput network performance
Cluster group
placement group which reduces the likelihood of correlated hardware failures for your application. used for critical mission workloads
Spread
placement group of instances in one partition do not share the underlying hardware with groups of instances in different
partitions
Partition
When using a dedicated host, are you charged for instances?
No
Does dedicated host have physical sockets and cores
Yes
single root I/O virtualization (SR-IOV) to provide high-performance networking capabilities on supported instance types for no additional charge
Enhanced Networking
provides higher I/O performance and lower CPU utilization when compared to traditional virtualized network interfaces
Enhanced Networking
dedicate capacity has been provided for EBS but costs extra
EBS Optimized