Buying and selling quality airships since 2012
- CF cli
- Get CloudFoundry Landscape:
- or Create your own in AWS/Azure:
- or install your own via Terraform
- AWS
- In the above same link, you see scripts for Google and Azure
For below instruction, we are assuming you have created a free CF acount from Pivotal. We are using their free backing service from there.
-
Login into CF account. Read quick tutorial
-
Activate environment before running deployment script
$ conda activate namekoexample
- Deploy to CF
(namekoexample) devops/nex-deploy.sh <prefix>
If prefix is demo
, the above command will:
- Create the following free backing service instances
demo-rabbitmq
for messagingdemo-postgres
for postgres (Order service)demo-redis
for redis (Products service)
- Deploy app(s) define in
manifest.yml
with:- App name:
demo-namekoexample
- URL:
demo-namekoexample.cfapps.io
- App name:
For multiple app deployment, uncomment appropriately in manifest.yml
- Undeploy apps from CF
(namekoexample) devops/nex-undeploy.sh <prefix>
- Verifying app works in CF
(namekoexample) test/nex-smoketest.sh <prefix>
Using Cloudfoundry CLI is so straightforward that creating automation for development in dev or production environment is trivial from developer point of view