Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ability to Publish AWS AMIs to Multiple Regions #74

Open
joelmccoy opened this issue Aug 7, 2024 · 0 comments
Open

Add Ability to Publish AWS AMIs to Multiple Regions #74

joelmccoy opened this issue Aug 7, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@joelmccoy
Copy link
Collaborator

Currently we only publish AMIs to us-west-2 for commercial and us-gov-west-1 for govcloud. We should support publishing to other regions outside this. Packer has a built in mechanism to copy the AMI to mulltiple regions via ami_regions. However, we will need to refactor our e2e tests and publishing to account for this.

We can add in other regions as a parameter here but we will need to refactor and consider:

  • Adding additional regions to that publish step may increase the publish time? (unless this happens in the background, need to confirm)
  • The e2e test is run after this publish step and then cleans up the AMI if the e2e test fails. We need to refactor the cleanup task to cleanup AMIs in all the regions that it has been published to

A possible workflow might be:

  1. Publish AMI to all regions at once (may take add additional time unless the copying happens in the background?)
  2. Run e2e tests with published AMI
  3. If fails, cleanup all images that have been copied into all the regions (requires modification of the cleanup script)
@joelmccoy joelmccoy added enhancement New feature or request good first issue Good for newcomers labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant