StorMagic and Avassa
This article is intended for administrators wishing to leverage Avassa Container management on virtualized infrastructure with StorMagic SvSAN shared storage.
This article walks through creating an Avassa trial, provisioning a Control Tower, configuring a site, deploying an Enforcer on a container host, and deploying a containerized application on StorMagic SvSAN-backed infrastructure.
Deploying Avassa with StorMagic SvSAN
Expand the sections below to create an Avassa trial, provision the Control Tower, configure container hosts, deploy applications and validate successful deployment.
Avassa Trial
Avassa provide a x day trial available via the below URL.
https://info.avassa.io/free-trial
Avassa trial request page.
First an email will be received.
Trial email notification.
With then a link to your trial.
https://cloud.avassa.io/create-account
Create your Avassa account.
Verify the account.
Verify the Avassa account.
And get logged in.
Avassa login.
Provision the Control Tower
From the left menu select Create new to create a new Control Tower.
Create a new Control Tower.
Input a Control Tower name and select Create.
Enter the Control Tower details.
This will then process.
Control Tower provisioning in progress.
Once provisioning has completed, the Control Tower status will display as Ready.
Control Tower ready.
Provision a Site
From the Control Tower, select the Sites menu and choose Add.
Add a new site.
Define the site location.
Define the site location.
The backend YAML configuration will then be displayed. Review the configuration and select Create.
Generated site configuration.
Setup of a Container Host (On-Prem Enforcer)
A container host is the operating system that will run the containerized application. In this example, the host is a virtual machine running Ubuntu 20.04 on virtualized infrastructure as shown below.
Logical deployment overview.
Avassa enables the defining of where, and in what circumstances, an application is to run.
Generate a link code.
In this example, run the following command:
curl -s https://api.stormagic.stormagic.avassa.net/install | sudo sh
Retrieve the host ID.
Retrieve the host ID.
Add the host ID to the site.
Add the host ID to the site.
This configures the host correctly by creating the local Avassa Enforcer container.
There will be one Enforcer per Avassa container host in each location.
Local Enforcer deployment.
Once deployed, the Avassa Enforcer displays a Healthy status together with the host details. In this example, the host is a virtual machine.
Healthy Enforcer status.
Provisioning a Container Application
In this example a demo application is deployed from the following container registry:
registry.gitlab.com/avassa-public/movie-theaters-demo/visitors-counter:v1.0
From the Avassa Control Tower, select Applications, choose Add, and define the application.
Create a new application.
Confirm the configuration to create the application.
Confirm application creation.
The application initially displays a status of Pending.
Application pending.
Once provisioning has completed, the application status changes to Present.
Application present.
Deploying the Application
Now that the application has been defined, it is ready to be deployed.
Select Deployments and then choose Add.
Create a new deployment.
Select Create to provision the application.
Confirm the deployment.
The application's status will change to Deploying.
Application deploying.
The container image is pulled to the local node and the application is started.
Container image being deployed.
The highly available containerized application is now live.

Comments
0 comments
Article is closed for comments.