AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

EBS Behavior

Lecture says when you start an instance then the following happens —OS boot, bootstrap scripts, application start.

Should it not say when we launch an instance, since bootstrap scripts only run when launching

or it bootstrap scripts should be removed when we are talking about start.

1 Answers

Could the issue here be one of language? The language around launching, starting or running instances can be a little confusing. The AWS API call to launch instances is run-instances see

You are, generally correct. Default behaviour is that when an instance is first launched, the sequence of events is broadly as you describe: OS boo, bootstrap script, application start. When an instance is subsequently restarted (i.e. started, but not on the first occasion), then the bootstrap script is not re-executed.

However, user-data can be configured to be executed on every boot of the instance, see In my opinion (from what I’ve read), this specific configuration is out of scope for the Certified Cloud Architect Associate exam.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?