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 packer scripts for AWS China #24

Merged
merged 1 commit into from Mar 30, 2018
Merged

Conversation

JacieChao
Copy link
Contributor

We have added packer scripts for building AMI in cn-north-1 region. For more information, please read the introduction under directory ./scripts/aws-cn

For issue: rancher/os#2301

{
"type": "amazon-ebs",
"name": "amazon-ebs-hvm",
"region": "cn-north-1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also support region cn-northwest-1?

@@ -0,0 +1,12 @@
# Introduction to Packer Build Scripts in AWS China
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend this directory structure:

amazon-cn/
    - rancheros-cn-aws-ami-amis.json
    - rancheros-cn-aws-ami-builder.json
    - README.md
scripts/
    - build-aws-cn
    - build-aws-cn-builder-image

When we need to release these AMIs, we should set them to public, please check the set-amis-public script.
I think we might need another set-amis-public-cn scripts, because of the different region urls:

https://cn-northwest-1.console.amazonaws.cn
https://eu-west-1.console.aws.amazon.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants