Bootstrap

Bootstrap

Subscribe to my newsletter and never miss my upcoming articles

Bootstrap

Bootstrap is the process of running commands while launching the instance. In AWS this functionality is under User Data while you launch the EC2 instance.

Remember by default the commands are run as superuser. So you don't need to switch to superuser

Steps to use the user data

userdata.png

Use case

  • To install any application while booting the instance
  • To perform OS update/patching while instance boot
  • Basically to run any commands

Caution

  • Downloading dependencies during instance boot may slow down the instance launch. To overcome that we will be using custom AMI

What is an AMI? How can we create custom AMI? We will see in the next blog 😃

Give an ❤️ if you like it.

 
Share this