This repository contains several Hello World Application Examples.
If you're only now starting to work with Cloudify see our Getting Started Guide.
This document will guide you how to run the examples step by step.
Download the example
curl -L https://github.com/cloudify-cosmo/cloudify-hello-world-example/archive/master.zip -o cloudify-hello-world-example.zip
Extract the example
unzip cloudify-hello-world-example.zip && cd cloudify-hello-world-example-master
Install Cloudify plugins
cfy plugins bundle-upload
Create secrets according to your IaaS provider.
Replace
For AWS
cfy secrets create aws_access_key_id --secret-string <value>
cfy secrets create aws_secret_access_key --secret-string <value>
For Azure
cfy secrets create subscription_id --secret-string <value>
cfy secrets create tenant_id --secret-string <value>
cfy secrets create client_id --secret-string <value>
cfy secrets create client_secret --secret-string <value>
For GCP
cfy secrets create gcp_client_x509_cert_url --secret-string <value>
cfy secrets create gcp_client_email --secret-string <value>
cfy secrets create gcp_client_id --secret-string <value>
cfy secrets create gcp_project_id --secret-string <value>
cfy secrets create gcp_private_key_id --secret-string <value>
cfy secrets create gcp_private_key --secret-string <value>
cfy secrets create gcp_project_id --secret-string <value>
cfy secrets create gcp_zone --secret-string <value>
For Openstack
cfy secrets create keystone_username --secret-string <value>
cfy secrets create keystone_password --secret-string <value>
cfy secrets create keystone_tenant_name --secret-string <value>
cfy secrets create keystone_url --secret-string <value>
For AWS:
cfy install aws.yaml -i aws_region_name=eu-central-1
For Azure:
cfy install azure.yaml -i location=eastus -i agent_password=OpenS3sVm3
For GCP:
cfy install gcp.yaml region=europe-west1
For Openstack:
cfy install openstack.yaml \
-i region=RegionOne
-i external_network=external_network \
-i image=05bb3a46-ca32-4032-bedd-8d7ebd5c8100 \
-i flavor=4d798e17-3439-42e1-ad22-fb956ec22b54
Another Openstack example:
cfy install openstack.yaml \
-i region=RegionOne \
-i external_network_name=GATEWAY_NET \
-i image=e41430f7-9131-495b-927f-e7dc4b8994c8 \
-i flavor=2