Welcome to our documentation page. This is where you will find all things Anssr related from getting started tutorials through to how to guides for specific software. The Anssr platform enables its users to deploy, scale and configure complex data platforms with zero command line interaction.
This page covers everything you need to know to get started.. so, lets get started!
Deploying Your First Anssr Bundle
Whats a bundle? A bundle is a collection of charms! What are charms? They are the clever pieces of code that know how to both start and configure the software you are interested in using.
Before you can deploy a bundle and start seeing the true power of the Anssr Platform, you will first of all need to create an Ubuntu One account. The Anssr platform is backed by Canonical - the creators of the Ubuntu Desktop and the underlying technology of Anssr, Juju. You will need to be logged into an Ubuntu One account to deploy your model with Juju-as-a-Service (JAAS)
Once this has been set up you can then deploy any bundle you see on the Anssr.io website. In this tutorial we will be deploying Anssr Hadoop (Anssr Data Engine) You can find more details of this in our 'Getting Started with Anssr Hadoop' tutorial.
So, in the image below press the Deploy with JAAS button to take you to the sign in screen
You should now see the screen below. Press the login button if you have already created an account. You will then be prompted to enter you cloud provider credentials. You can choose between Amazon Web Services, Microsoft Azure or Google Cloud Platform
Once you have chosen your preferred cloud provider you can press the Deploy button and it will add all of the software to your canvas.
Press the Deploy changes button it the bottom right hand corner and the platform will make all of the required changes and configurations etc across the entire platform. You will see the outlines of the charms change colour. When the outer ring is blue it means there are changes that need committing, when it is orange it means that changes are being implemented and when the outer circle turns grey it means that the software is deployed and ready to start using.
To find out more about how to actually start using the Anssr Data Engine refer to our getting started page.
When you require support for the platform you will need to switch on SLA and ensure that you have funds in your wallet. We have a detailed guide to setting an SLA but we will provide a brief overview here.
There are 3 levels of support you can choose from:
- Essential - Provides basic support (Ubuntu Advantage kernel updates)
- Standard - Provides 9am-5pm support
- Advanced - Provides 24/7 support
If you wanted to assign a budget on $100p/m for essential support then with in a terminal write
juju sla essential --budget 100
This will assign a monthly budget of $100 and if you require more support than this you will need to assign more funds to your wallet
You can see an overview of all of your wallets ie your budget, how much is available and how much you have spent, by typing the following command
Or if you are wanting a more detailed view of a specific wallet type the command
juju show-wallet <wallet name>
Accessing The Software
Once you have deployed Anssr Data Engine you will want to expose elements of the bundle to access the UI's. We recommend exposing:
- Hadoop Resource Manager
- Hadoop Namenode
To do this you simply click the the icon on the software you want to expose. Then in the box on the left click expose and then tick the box next to it. Once you have exposed all of the software you want to click the commit changes button in the bottom right.
Then back in the expose tab on the right click the IP address link and a new tab will open with the UI for the chosen software
note - when navigating to the Ganglia IP address you will need you add /ganglia after the IP address
Switching Off Your Model
Once you no longer need the bundle you have spun up you will want to destroy the model to avoid building up unwanted AWS (or other cloud) costs. To do this click your user name in the top left. This will take you to you to a page that shows what models you are currently running. Click the trash icon next to the model you no longer require and click destroy and the model will be shut down.