AWS Classroomnotes 23/Feb/2023

AWS EC2 image creation

  • To automate AWS EC2 image creation we can use packer Refer Here
  • To use packer, we need to have the following
    • Packer
    • aws cli
    • IAM user with programmatic access
  • Installing packer Refer Here
  • Installing awscli Refer Here
    • Linux
    • Windows
    • Mac
  • Configure aws cli
  • builder in packer represents where to create vmimage Refer Here
  • Refer Here for the json template
  • Execute packer validate <file name> and packer build <file name>
  • Wait for ami
  • Packer json used in class Refer Here
  • Next Steps

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner