Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.44 KB

index.md

File metadata and controls

25 lines (21 loc) · 1.44 KB

ec2-image-builder

Custom Build and Test Components developed for AWS EC2 Image Builder (https://docs.aws.amazon.com/imagebuilder/latest/userguide/what-is-image-builder.html)

Configuration

  1. Create a S3 bucket (configuration-bucket) and place files in S3 folder of component.
  2. Create IAM Role and attach following required policies:
  • arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM
  • arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder
  1. Replace <bucket-name> with your newly created bucket name (configuration-bucket) in yaml component file
  2. Create EC2 Image Builder pipeline with Amazon Linux 2
  3. Create Components that you want to use by coping yaml component file
  4. Select IAM Role that you have created on Step 2
  5. Name your pipeline
  6. Name your AMI
  7. Trigger pipeline

Troubleshooting

Detailed Documentation of Components

These components are tested on Amazon-linux-2-x86/2019.11.21