Instance metadata Flashcards

1
Q

What is instance metadata?

A

Instance metadata is a service that AWS provides to instances. It is information about the instance that can be accessible from inside any instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the main function of instance metadata?

A

Helps to manage or configure any running instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

On what address can you access instance metadata of any instance?

A

MEMORIZE: http://169.254.169.254/latest/meta-data/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can you find in the instance metadata?

A

Meta-data contains information on the environment the instance is in.
You can find out about hostname, security groups, events, the networking or user-data among other things - information is divided into categories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Is the metadata of an instance encrypted or requires authentication to access it?

A

This is not authenticated or encrypted. Anyone who can gain access to the instance can see the meta-data. This can be restricted by local firewall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the main thing that you need to consider when using instance metadata?

A

Treat the metadata as something that can get exposed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When is meta-data useful?

A

Meta-data can be useful when designing highly available or fault tolerant applications by understanding the environment and the topology they are running inside.
You want your application to spread in different AZs having a configuration and keeping it.
You can give the instance visibility of in which AZ it is in - very advantageous.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly