Skip to content

How to make the CF API endpoint to be accessed from outside #94

@StanleyShen

Description

@StanleyShen

Hello, all
I tried to deploy CF to AWS based on this documentation.
After BOSH CLI is installed, I tried to add some environment variables like:

export BOSH_AWS_ACCESS_KEY_ID={BOSH_AWS_ACCESS_KEY_ID}
export BOSH_AWS_SECRET_ACCESS_KEY={BOSH_AWS_SECRET_ACCESS_KEY}
export BOSH_LITE_SECURITY_GROUP=sg-f0be7
export BOSH_LITE_SUBNET_ID=subnet-a41dadc
export BOSH_LITE_PRIVATE_KEY=/home/ubuntu/.ssh/id_rsa
export BOSH_LITE_KEYPAIR=bosh
export BOSH_LITE_NAME=vagrant

With these settings and followed the steps I can have CF installed on AWS VM.
But I got a problem to access the CF API endpoint.

In a local environment, we use
cf login -a api.bosh-lite.com -u admin -p admin --skip-ssl-validation &&
cf enable-feature-flag diego_docker

Here api.bosh-lite.com is a internal IP address like 10.244.xx.xx

But for this AWS CF, how should I make it accessible to outside?
If I login the BOSH lite VM I can see the CF works there.

From some documentation, it's said we need to access it via
deploying BOSH-Lite to AWS, use https://api.BOSH-LITE-PUBLIC-IP.xip.io instead, how should I set it?

If the environment is there already, is there a way to change it to make it accessible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions