Difficulty: beginner
Estimated Time: 5 - 15 minutes

Serverless is all around us and perhaps the fastest growing market for compute. Flogo has first class support for AWS Lambda. So you can infinitely scale your ultralight functions and scale back to zero when not in use with AWS Lambda’s NoOps and seamless scaling capabilities.

We’ll guide you through the set of steps required to build the most basic of functions for deployment to AWS Lambda. The flow you’ll build will be the function you deploy.

Note that you will need an AWS account for this tutorial

Help

If you have any questions, feel free to post an issue on GitHub and tag it as a question, email [email protected] or chat with the team and community:

  • The project-flogo/Lobby Gitter channel should be used for general discussions, start here for all things Flogo!
  • The project-flogo/developers Gitter channel should be used for developer/contributor focused conversations.

Woohoo! You've just mastered the basics of Project Flogo. That does feel good right?

Next steps

In this tutorial we've taken you through building and deploying a Flogo app to AWS Lambda. With this there are tons of options available to you.

For more tutorials and information, check out our docs

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Deploy a Flogo app to AWS Lambda

Step 1 of 5

Go get Flogo

We've just started you off with a brand new environment (and we've even installed a few extra packages for you). The grey blocks you'll see through this tutorial mean they are terminal commands which will be executed when you click on them. Alternatively, you can also type them in the terminal yourself.

Get the CLI

You'll need to go get the Flogo cli to work with Project Flogo. To do so simply run go get -u github.com/TIBCOSoftware/flogo-cli/...

Go dep

In order to simplify dependency management, we’re using the go dep tool. The easiest way to get this in your environment is to download the latest binary for your machine. You can do that on this environment by running curl -Lo /gopath/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && chmod +x /gopath/bin/dep

AWS CLI

To deploy your app at the end of this scenario you'll need the AWS CLI. There are a few ways how you can install the cli, but the easiest for this scenario is running the command listed below. curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" && unzip awscli-bundle.zip && ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && rm -rf awscli*