EC2 Advanced Flashcards
What is User Data used for?
Bootstrapping EC2 instance to allow for build automation when first launching an instance.
What is the size limit of User Data?
16 KB
What can cfn-init help with?
Providing more flexible instance configuration. Better checking of correct configuration.
What are EC2 Instance Roles used for?
Allow EC2 instances to interact with AWS services. More secure than adding access keys.
What is SSM Parameter Store used for?
Storing parameters like database strings, config, passwords to access from EC2 instance. Think kind of like environment variables.
What is the difference between a dedicated instance and a dedicated host?
With a dedicated instance, you still share hardware, so you can’t use server-bound licenses or meet regulatory requirements.
Why might you want to use CloudWatch Agent?
To capture metrics on data about things running inside EC2 instances such as log data.
Why would you want to use a cluster placement group?
Need best networking performance between instances
Why would you want to use a spread placement group?
Have small number of critical instances that need to be kept separate
Why would you want to use a partition placement group?
Contain impact of failure to part of an application
How is instance used charge when using a dedicated host?
You don’t actually pay for instance usage since you pay for the hardware.