How to make a micro bosh AMI in AWS


王小锋 <zzuwxf at gmail.com...>
 

Hi, there

I am trying to deploy cloudfoundry environment in AWS China (
http://www.amazonaws.cn/), which is a bit different from golbal AWS (
http://aws.amazon.com/cn/).

The most difficult part for me is that there are no bosh AMIs available in
AWS China when I searched public AMIs. So my question is :

1) is it possible to provide a public AMI like ami-0f4f6c3f in Oregon
region (bosh-aws-xen-ubuntu-trusty-go_agent 2859)?

2) If it is hard to provide such an image, is it able to make such an image
and import it into AWS China? if so, is there some guide?

Your help is greatly appreciated!!


Dr Nic Williams
 

If you use a normal (non-light) stemcell then `bosh micro deploy` will
create a private AMI for you.

You will need to be in an AWS China VM, a jumpbox/bastion/work VM.

Use one of these stemcells -
http://bosh.io/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent for example

Nic


James Bayer
 

i you pull down a "light" stemcell, you can see in the stemcell.MF file
what regions are supported.

ami:
eu-west-1: ami-7f443108
ap-northeast-1: ami-5ca76c5c
us-west-1: ami-d143ad95
eu-central-1: ami-58407e45
ap-southeast-1: ami-78ecd22a
ap-southeast-2: ami-37245a0d
us-west-2: ami-cb8ab9fb
sa-east-1: ami-15dc5a08
us-east-1: ami-f0544998

it looks like the AWS accounts are separate [1] so we would need a special
account. we may be able to look into it. i suspect that you would be able
to download the full stemcell from bosh.io [2] and then upload it and have
it create an image for you.

[1] https://www.amazonaws.cn/en/sign-up/
[2] http://bosh.io/stemcells/bosh-aws-xen-ubuntu-trusty-go_agent

On Thu, May 14, 2015 at 5:51 PM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

I am trying to deploy cloudfoundry environment in AWS China (
http://www.amazonaws.cn/), which is a bit different from golbal AWS (
http://aws.amazon.com/cn/).

The most difficult part for me is that there are no bosh AMIs available in
AWS China when I searched public AMIs. So my question is :

1) is it possible to provide a public AMI like ami-0f4f6c3f in Oregon
region (bosh-aws-xen-ubuntu-trusty-go_agent 2859)?

2) If it is hard to provide such an image, is it able to make such an
image and import it into AWS China? if so, is there some guide?

Your help is greatly appreciated!!

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh

--
Thank you,

James Bayer