Site iconAxway Blog

How to Publish an API Builder Standalone App to Azure

I was playing with our new AMPLIFY API Builder Standalone release and decided to cook up an automation recipe.

Here are the ingredients – make sure you have these handy before getting started:

Here is what we are doing:

Install API Builder and Create a Project

Follow the steps documented here. Dockerfile is created by default when you setup a new project. There will be some changes required in first build step if you are going to use environment variables.

Login to Azure account

Login to VSTS

VSTS is the central piece of this architecture. It will host our remote code repository, build and release definitions, work items, Azure subscriptions and authorizations, etc. VSTS build agents are going to make our task very easy in building and pushing out containers to Azure. So, a few things to setup here:

That’s all we have to setup in VSTS!

Back to API Builder

Now we are back to our API Builder. We are going to push our API Builder app code to local and remote repository

The above steps should trigger the build definition we created in VSTS, and if everything goes well, you will see your API Builder app running in container.

Exit mobile version