13 questions
0
votes
0
answers
45
views
AWS ImageBuilder Component data section parsing error
I want to create a component to detach a volume from EC2 instance so I inserted the following to the data section:
name: ExecuteDetachScript
action: ExecuteBash
inputs:
commands:
...
0
votes
1
answer
437
views
How to tag Images output by AWS Image Builder Pipeline to include the Image in a Lifecycle Policy
The AWS Image Builder Lifecycle will automatically deprecate, disable and delete Images and their associated AMIs and Snapshots based on a set of rules. This keeps the list of available images current ...
0
votes
1
answer
151
views
AWS EC2 Image Builder Lifecycle Policy - when does it run?
Is there any information available on when a "Lifecycle Policy" is run within AWS EC2 Image Builder?
I created a lifecycle policy for my recipies and started a lot of Image builds.
Nothing ...
0
votes
1
answer
757
views
AWS EC2 Image Builder Lifecyle Policy execution failed with authorized error
I have an EC2 Image Builder lifecycle policy that should keep on the most recent images, but I see that it constantly fails with an error when triggered:
Unable to describe attributes of ami-...
0
votes
1
answer
291
views
Auto-deploying an EC2 Image Builder recipe with AWS CLI: "You are not authorized to use the provided image."
I have a script that creates this JSON EC2 Image Builder recipe:
{
"name": "MyRecipe",
"description": "Create image recipe.",
"semanticVersion&...
1
vote
0
answers
885
views
AWS EC2 Image Builder: Action failed for step LaunchBuildInstance. Retry attempt: X
Working with AWS EC2 Image Builder
Created the role as per the documentation.
Built a custom Ubuntu AMI, everything worked fine.
Building a custom Windows AMI and it's stuck on LaunchBuildInstance ...
5
votes
3
answers
1k
views
Why does ssm:sendmessage always throw error when running imagebuilder pipeline?
I've been trying to get imagebuilder working to run some built-in and custom components doing some very basic installs. I go through the whole setup process via click-ops run the pipeline and get the ...
2
votes
2
answers
2k
views
How to dynamically tag an AMI created by an EC2 Image Builder
I have an EC2 Image Builder which is triggered when an new version of a package is pushed to CodeArtifact. I would like to tag the resulting AMI with the version of the package that triggered the ...
0
votes
1
answer
250
views
AMI sharing across Accounts
I have created the image in dev (acct-id - 1111111) and need to use the same image on prod (22222222) (same region). But i'm getting the following error. Image is build on Dev workspace and then use ...
3
votes
1
answer
1k
views
How can I configure access to an S3 bucket for Amazon EC2 Image Builder's S3Download action?
I am using Amazon EC2 Image Builder to create Windows 2022 Server image.
My intention is to run a script to apply some customization steps. The Image Builder provides actions such as S3Download, ...
-1
votes
1
answer
710
views
How best for EC2 Image Builder in one account to update Launch Templates on other accounts?
I have one AWS "infra" account that runs Image Builder to make nightly AMIs. These AMIs are shared with three other environment accounts (dev/stage/prod). These three accounts use the AMI in ...
0
votes
2
answers
606
views
Automate AWS AMI creation without downtime and Data loss
I wanted to know is it possible to automate the creation of AMI in AWS without downtime and data loss, if possible how can we achieve it.
I have use system manager-> maintenance window in which i ...
0
votes
1
answer
460
views
Creating a golden image backed by instance storage and not EBS
I have a golden image pipeline running without problem backed by an EBS volume, but trying to create the same for an instance store backed ami seems to always produce the same error. The issue is that ...