Giter Club home page Giter Club logo

pcfdev-ami's Introduction

PCF DEV AWS image

Image built by packer from: https://github.com/pivotal-cf/pcfdev

Note: The AMI image is private and only available for PCF Services AWS account

Note: This AMI does not include apps manager and spring cloud service... since those are proprietary for pivotal

Note: Check the bosh releases used by this version: versions.json

Why

  • Quickly start a single VM Cloud Foundry environment available on the internet
  • Economic
  • No need to consume local laptop resources
  • Apps survive after AWS EC2 stop/start

How

  1. Pick up an elastic IP and a domain

  2. Create a wild card record to point the *.domain -> elastic ip

  3. git clone https://github.com/datianshi/pcfdev-ami.git & cd pcfdev-ami

  4. Create one env.sh with necessary environment variables

    export AWS_KEY=
    export AWS_SECRET=
    export KEY_PAIR= #AWS key pair name
    export SUBNET_ID=subnet-900457ba # A public subnet (with internet gateway attached)
    export PRIAVE_KEY_PATH=XXX.pem
    export PUBLIC_IP=${elastic_ip}
    export SERVICES="redis,rabbitmq"
    export DOMAIN="pcfdev.shaozhenpcf.com"
    export SECURITY_GROUPS=sg-7437d508 #With 443 and 22 open
    export VM_TAG="pcfdev-aws-sding"
    
  5. source env.sh

  6. start VM

vagrant plugin install vagrant-aws
vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box
vagrant up
  1. A cloud foundry environment with redis and rabbitmq services stood up

    cf api api.pcfdev.shaozhenpcf.com --skip-ssl-validation
    cf login (username and password are both admin)
    

Stop/Start VM

stop: vagrant halt
start: vagrant up

pcfdev-ami's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.