Are Custom Docker Windows Images Available In Asia Pacific Region?
I want to use a Windows image for my CodeBuild machine but I don't get the option in the CodeBuild > Environment > Environment Type for Windows. I did read this article from 2018 that mentions the regions that are available and Asia Pacific wasn't one back then, but that was 4 years ago. https://aws.amazon.com/about-aws/whats-new/2018/05/aws-codebuild-adds-support-for-windows-builds/ Are Windows images now available to use in ap-southeast-2?
thanks
Hi, CodeBuild does not offer Windows images in ap-southeast-2. The CodeBuild docs list the same 4 regions as in the linked post.
A possible solution is using CodePipeline custom actions which enables Windows build jobs. This approach offloads the processing to EC2 and requires additional management and setup. See this blog post, it outlines the reasoning and process well.
Relevant questions
Getting a "SINGLE_BUILD_CONTAINER_DEAD" error with a custom Docker image
Accepted Answerasked 3 months agoAre Custom Docker Windows Images Available In Asia Pacific Region?
Accepted Answerasked 5 months agoUse same CodeBuild project for multiple GitHub repositories
Accepted Answerasked a year agoInstall ant in windows codebuild project
asked 2 years agoDocker Hub Login for AWS CodeBuild (Docker Hub Limit)?
Accepted Answerasked 2 years agoCodeDeploy Environment Variables On Windows
asked 4 months agoCustomizing the environment on a Windows Server
asked 3 years agoAWS Codebuild: docker run options
asked 4 months agoInvalid environment type: Codebuild curated windows container
asked 3 years agoUsing Elastic Beanstalk - Docker Platform with ECR - Specifying a tag via environment variable
asked 6 months ago
Thanks for the info. The custom actions approach seems interesting. We have started to go down the approach of creating a CodeBuild project in a region that does allow Windows builds. Then the artifacts from that build will be reference via the CodeDeploy application in the Asia Pacific region. Not sure at this stage is CodePipeline will allow me to use CodeBuild and CodeDeploy stages from different regions.