Sometimes it helps to have an extra resource for users to get started, beyond the product documentation. So, we are starting a series of blog posts on ways to get started, and deploy applications, with Cloudify using simple, straightforward instructions without any extra technical notes. We are also working on video tutorials using Cloudify 3.4, so feel to check back for more in the future.
There are a few ways to get started with Cloudify, including pre-baked QCOW and AWS images of Cloudify Manager, which require the user to have an environment pre-prepared. This tutorial, however, will follow a different, more comprehensive path to running Cloudify Manager on your local machine which doesn’t require any cloud environment prep.
Check out our “Intro to Cloudify” whitepaper and more. Go
The prerequisites required for this tutorial are to install Virtualbox and Vagrant and you will also need at least 2GB of free RAM. Also, feel free to keep files in a specific folder of your choice in order to keep track of everything.
Once you’ve installed both of those pieces of software, you can head over to our Download Page and click on the “Vagrant Box” button to download the file.
PLEASE NOTE: The below step can take some time as the package contents are over 1GB in size.
Next, head over to your terminal (Linux or Mac) or the command line (Windows) and make sure you get to the folder in which the Vagrantfile was saved. Then, type the command
vagrant up and hit enter. This will grab the actual package information, set up networking, the user account, SSH keys, and actually boot up the VM in Virtualbox for you. This makes it simple to SSH right into the machine.
When that process has successfully finished, simply go to http://10.10.1.10/ on your web browser of choice and you will see Cloudify Manager showing the UI.
The next step is to SSH into the machine in order to deploy your application blueprints locally. For Windows users, you will need to download an SSH client. Once again, head over to your terminal and type in
vagrant ssh which will get you into Cloudify Manager.
Just to verify that you have a proper running Manager, you can type in
cfy status to show that each of Cloudify Manager’s components are in order. And that’s all there is to it!
You are now ready to deploy your application blueprints on your local machine. If you want to try this on your own, head over to the docs and follow the instructions. In the next blog post in this series, we will walk you through deploying a blueprint with Cloudify that installs the simple ecommerce web application noted in the above link.
If you want to jump ahead, feel free to watch our video tutorials on Bootstrapping Cloudify 3.4 on OpenStack and Automating the Deployment of a Simple Web Application on OpenStack with Cloudify.