Fleets in Fleet Application Management
A fleet in Fleet Application Management is a collection or grouping of resources based on criteria. You can define the criteria during fleet creation.
When you create a fleet, Fleet Application Management attaches relevant tagging information to the resources within fleets, if Tagging is enabled during the Fleet Application Management onboarding process. The tagging information helps you draw inferences about cost tracking, budgeting, logging, and auditing. Also, tagging information helps organize and search resources. To learn more about Tagging, see Overview of Tagging. For an example of how Tagging information in Fleet Application Management can help, see Examples of Using Tagging Information.
Fleet States
- CREATING: The fleet is being created. When a fleet is in this state, you can't update or delete it. Wait till the fleet reaches the ACTIVE or FAILED state before you try to modify it or delete it.
- VALIDATING: The fleet's resources are being validated. After successful validation, the fleet moves to the DISCOVERING state. If validation fails, the fleet moves to either the FAILED state or the NEED_ATTENTION state, and you're prompted to retry validating the fleet resources. See Validating a Fleet.
- DISCOVERING: The fleet's resource targets are being discovered. After successful discovery, the fleet is moved to the ACTIVE state. If discovery fails, the fleet is moved to the FAILED state, and you're prompted to retry discovering the fleet resource targets. See Retrying Target Discovery.
- UPDATING: The fleet's settings are being updated, resources are being added, discovery is reprocessing, or the fleet is being validated. The fleet isn't available for modification in this state. It moves back to the ACTIVE state after the update, or it might move to the FAILED state.
- ACTIVE: The fleet is active and available for lifecycle operations. When a fleet is in this state, you can modify or delete it.
- NEED_ATTENTION: The fleet's resource validation fails because OCI
Compute or Oracle Database resource prerequisites aren't met. See Prerequisites. Also, it's in this state when target discovery fails or is complete and requests confirmation of targets. You must confirm the targets manually because the fleet is in REVIEW PENDING state.Note
The fleet's targets need confirmation when the discovery of these resource targets is unsuccessful or you didn't automatically confirm them during fleet creation. - FAILED: A fleet action has failed and the fleet can't be used.
- DELETING: The fleet is being deleted. You can't modify it.
- DELETED: The fleet has been deleted. You can't modify it. Fleet Application Management removes deleted fleets after some time.
- VALIDATING: The fleet resources are being validated.
- VALIDATED: The fleet resources were successfully validated.
- INVALID: The fleet resources can't be validated, are stopped, or can't be identified.
Examples of Using Tagging Information
The following examples explain how Tagging information can be helpful for budgeting, tracking spending and costs, searching logs, and checking audit logs in your tenancy.
Suppose you create a product-type fleet with the fleet name, MyProductFleet
. If Tagging was enabled during the Fleet Application Management onboarding process, Fleet Application Management adds the following defined tags to fleet resources using the Oracle$FAMS-Tags
namespace:
Oracle$FAMS-Tags.FleetName: MyProductFleet
Oracle$FAMS-Tags.FAMSManaged: Y
Create a Budget
Create a budget by using Oracle$FAMS-Tags
and review it.
Track Spending
Track your OCI spending by using cost analysis to view the chart data items using Oracle$FAMS-Tags
.
- Open the navigation menu and select Billing & Cost Management. Under Cost Management, select Cost Analysis.
- From Start/End Date (UTC), select a time period, for example, Aug 1 through Aug 7.
- From Granularity, select Daily.
- From Show, select Cost.
-
From Filters, select a filter such as
Tag: Oracle$FAMS-Tags.FAMSManaged: Y
. - From Grouping dimensions, select Service.
- To apply the changes and reload the chart and table with the selected filters, click Apply.
Search Logs
Search logs by using the Logging
Search page with Oracle$FAMS-Tags
.
- Open the navigation menu and click Observability & Management. Under Logging, click Search.
-
In Custom filters, start typing to display filter settings along with operators. For example:
data.definedTags={"FAMSManaged":"Y","FleetName":"MyProductFleet"},"Oracle-Tags":
- In Select logs to search, ensure that the compartment is the one from which the resources are added to a fleet. The root compartment is selected by default for filtering.