Versions Compared

Key

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

...

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

Table of Contents


Key Features

  • Multi-cloud and non-cloud support

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

  • Inventory automation using auto-attachment rules

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

Prerequisites


Think of resources that should be attached to the Cloudaware application. Consider the logic that can be used for attaching assets in question to different tiers of the application.

Create Cloudaware Application

...

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

...

Continue OR if it is preferable, detach them clicking Detach Objects.

...

Cascades

Consistency is one of the main challenges customers face when 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 applications support cascades, meaning that all related objects will be cascadingly attached once a resource is attached to the application. For example, once you attach an AWS EC2 Instance, all corresponding EBS Volumes or Network Interfaces will also be attached. Considerations:

  1. When selecting an object to attach to a Cloudaware application, check if another object is above it in the hierarchy that can be connected first. For example, it's better to attach AWS ELB Load Balancer than related instances, it's better to attach AWS Elastic Beanstalk Application than AWS Elastic Beanstalk Environment, and it's always better to attach URLs.

  2. Try to minimize manual attachments. For example, there is a logic for selecting objects that need to be attached to a specific application. Implementing that logic in an auto-attachment process is much better because Cloudaware will keep track of new assets that comply with the defined logic. If you still need to add some objects manually, attach only truly static resources.

Auto-Attachment Processes

...

Cloudaware application auto-attachment rules 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. For example, the simplest of workflows will check for a specific value on an object and then update the 'Application Tier Client Name' field with a particular value. The value should be set to the application 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.

Objects will be automatically attached to the 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

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

Object Re-Attachment After Application Tier Client Name Change

...

  1. .