Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 0 additions & 202 deletions LICENSE

This file was deleted.

77 changes: 73 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,78 @@
[![CircleCI](https://circleci.com/gh/cloudify-examples/cloudify-hello-world-example.svg?style=svg)](https://circleci.com/gh/cloudify-examples/cloudify-hello-world-example)

# Cloudify Hello World Example

[![Circle CI](https://circleci.com/gh/cloudify-cosmo/cloudify-hello-world-example/tree/master.svg?&style=shield)](https://circleci.com/gh/cloudify-cosmo/cloudify-hello-world-example/tree/master)
This blueprint deploys a python webserver that says "hello world", with a cute Cloudify logo.

## prerequisites

You will need a *Cloudify Manager* running in either AWS, Azure, or Openstack.

If you have not already, set up the [example Cloudify environment](https://github.com/cloudify-examples/cloudify-environment-setup). Installing that blueprint and following all of the configuration instructions will ensure you have all of the prerequisites, including keys, plugins, and secrets.


### Step 1: Install the demo application

In this step, you will run a *Cloudify CLI* command, which uploads the demo application blueprint to the manager, creates a deployment, and starts an install workflow.

When it is finished, you will be able to play with the wine store application.


#### For AWS run:

```shell
$ cfy install \
https://github.com/cloudify-examples/cloudify-hello-world-example/archive/4.0.1.1.zip \
-b hello-world \
-n aws-blueprint.yaml
```


#### For Azure run:

```shell
$ cfy install \
https://github.com/cloudify-examples/cloudify-hello-world-example/archive/4.0.1.1.zip \
-b hello-world \
-n azure-blueprint.yaml
```


#### For Openstack run:

```shell
$ cfy install \
https://github.com/cloudify-examples/cloudify-hello-world-example/archive/4.0.1.1.zip \
-b hello-world \
-n openstack-blueprint.yaml
```


### Step 2: Verify the demo installed and started.

Once the workflow execution is complete, we can view the application endpoint by running: <br>

```shell
$ cfy deployments outputs hello-world
```

You should see an output like this:

```shell
Retrieving outputs for deployment hello-world...
- "endpoint":
Description: Web application endpoint
Value: http://**.***.*.**:8080/
```

Use the URL from the endpoint output and visit that URL in a browser.


This repository contains a Hello World example blueprint based on OpenStack.
### Step 4: Uninstall the demo application

This example creates a VM on OpenStack and starts an HTTP server using a bash script.
Now run the `uninstall` workflow. This will uninstall the application,
as well as delete all related resources. <br>

If you're only now starting to work with Cloudify see our [Getting Started Guide](http://docs.getcloudify.org/latest/intro/getting-started/).
```shell
$ cfy uninstall --allow-custom-parameters -p ignore_failure=true hello-world
```
Loading