Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

CloudAware Virtual Application is a logical unit that allows to organize your resources according to a naming convention or a tag of your choice, or any other custom logic you customers wish to apply. 


CloudAware Virtual Cloudaware Applications may be created to distinguishdifferentiate:

  • Department, Team, Site, Project within your enterpriseorganization

  • Customers, if you 're are an MSP

  • Purchasers, if you 're are a reseller, etc

Creating an a Cloudaware application also makes sense in such cases when, for example, :

1) there are AWS, /Azure/GCE and Physical servers in your Cloudaware environment and you need to provide access to view AWS data only, or ;

2) only 1 one specific AWS instance should be available for the application user, etc. Note  

Note that the sooner you create the virtual application, the better since billing and cost data is not retrospective - it may be collected and shown in the app a Cloudaware application only starting the day when the application was created.

Table of Contents


Key Features

  • Multi-cloud and non-cloud support

  • Cascades give you provide the ability to attach object hierarchies by attaching a single object

  • Inventory automation using auto-attachment rules

  • Ability The ability to attach objects that are not taggable or exceed the tag limit.

Prerequisites

Think of the assets resources that should be attached to the virtual Cloudaware application you will be working on. You may create a list view showing running AWS instances, for example. Consider the logic that can be used for attaching assets in question to different tiers of the virtual application.

Create Cloudaware Application

...

1.  Log in to your Cloudaware account. Locate the section CLOUDAWARE in Navigator → Applications. 

...


2. Click New CloudAware Application.

...

3. Give the virtual application a proper name. Click Create. If everything is fine, you will see a success message. 

...

6. Locate the resources in question on a list view, e.g. Running Instances. Check the boxes and click Attach To The Application.

...


7. You will be offered to select Select the appropriate application and a tier. Review the objects that will be attached and click Attach.

If you can't attach one or few of the selected objects to a selected tier or see a warning like below , it may mean that these pops up, one or several selected objects are already attached to another application:

...

You can continue Continue OR if it is preferable, you can detach them clicking Detach Objects.

...

Cascades

Consistency is one of the main challenges you customers face when you try to be organized. Once managing their cloud and non-cloud environment. One of the best practices is to follow relationships between objects and use these relationships to get consistent and auto-updatable inventory.

Cloudaware virtual applications support cascades. This means that , meaning that all related objects will be cascadingly attached once a resource is attached to the application, all related objects will be cascadingly attached as well. For example, once you attach an AWS EC2 Instance, all related corresponding EBS Volumes or Network Interfaces will also be attached.

...

Considerations:

  1. When selecting an object to attach to a Cloudaware application, check if

...

  1. another object is above it in the hierarchy that can

...

  1. be connected first. For example, it's better to attach

...

  1. AWS ELB Load Balancer than

...

  1. related instances, it's better to attach

...

  1. AWS Elastic Beanstalk Application than

...

  1. AWS Elastic Beanstalk Environment, and

...

  1. it's always better to attach URLs.

  2. Try to minimize manual attachments.

...

  1. For example, there is a logic for

...

  1. selecting objects that need to be attached to a specific application. Implementing that logic in an auto-attachment process

...

  1. is much better because Cloudaware will keep track of new

...

  1. assets that comply with

...

  1. the defined logic. If you still need to

...

  1. add some objects manually, attach only truly static resources.

Auto-Attachment Processes

Cascades are good but they Note that the cascades are sound but only work for big extensive services with lots of many interconnected objects. What would you should one do with all objects that have no relationships with each other? The answer is to implement the process that will monitor your assets and , automatically validate them against defined rules, and choose the application accordingly. These are auto-attachment rules. Cloudaware application auto-attachment rules are are based on Salesforce Workflow Rule functionality. A workflow rule is like an IF/THEN statement. IF part of the statement is called criteria, THEN part of the statement is called actions. The simplest of workflows will check for a specific values on an object and then update the 'Application Tier Client Name' field on it with a specific value. The value should be set to the applications tier's name.

Note that 'Application Tier Client Name' consists of 2 parts: Application name and Application Tier name for example: AWS - Production (see the example below).

Application Attachment Workflow:

1. From your Cloudaware account open a main menu under your username.

2. Go to Setup → Workflow & Approvals → Workflow Rules → New Rule.

3. Select the object to which this workflow rule applies. e.g. AWS EC2 Instance. Click Next.

...

4. Add Rule Name (1), set Evaluation Criteria(2) and Rule Criteria(3) to trigger your workflow rule. Add Filter Logic if necessary.

...

Click Save & Next.

4. Add Workflow Action → New Field Update.

...

5. Give this workflow acton a name. Select AWS EC2 Instance: Application Tier Client Name as a field to update.

...

6. Select a radio button Use a formula to set the new value. Enter the formula "Application Name" & " - " & "Application Tier Name". Click Save.

...

7. Review the workflow rule details. Click Done.

...

6. Click Activate to activate your workflow.

The object will be automatically attached to an appropriate application within 1 hour.

Attachment Logic Examples

  • if Name starts with prod set Tier Name to "The Application - The Tier"

  • if tag:Customer equals CustomerA set Tier Name to "The Customer App - The Tier"

  • if tag:Application is not empty and tag:Tier is not empty set Tier Name to tag:Application+" - "+tag:Tier

You can create even more complicated auto-attachment rules combining workflow rules with formula fields or even updating them via API from external system. Almost any complicated object classification logic is possible using workflows and formulas.

Object Re-attachment After Application Tier Client Name Change

If Application Tier Client Name is changed, objects will be re-attached in 1 hour. However, there may be a delay in jobs if a customer didn't log in for some time.. Learn more