| Step 1 |
Gather the necessary information from the Amazon Web Services site that you could use for your Cisco Cloud APIC endpoint selector.
| Note
|
These steps describe how to gather information from AWS first, so that you can use that information from AWS when you add
an endpoint selector in ACI Multi-Site Orchestrator afterward. You can also wait and create an endpoint selector through ACI Multi-Site Orchestrator first, then go to AWS and set up the necessary configurations on AWS afterward. For example, you might create an endpoint
selector using a custom tag or label in ACI Multi-Site Orchestrator first, then go to your account in AWS and create the custom tag or label in AWS afterward.
|
-
Log in to the Amazon Web Services account for the Cisco Cloud APIC user tenant, if you are not logged in already.
-
Go to , then click the Running Instances link.
-
Determine what information you might use for your Cisco Cloud APIC endpoint selector:
-
If you plan on assigning end points based on specific IP addresses, choose an instance (click the box next to an instance),
then locate the private IP address assigned to this instance.
-
If you plan on assigning end points based on an IP subnet, use the Cloud CIDR information that you entered in Adding Sites to the Schema.
This subnet address space is what will be assigned to the various end points in this case.
-
If you plan on assigning end points based on an Amazon Web Services region, use the information in the Availability Zone column for each instance shown in this page.
-
If you plan on assigning end points based on a custom tag or label, choose an instance (click the box next to an instance),
then click the Tags tab at the bottom of the page. Use an existing tag in this area, or click Add/Edit Tags to create a new one. You will use the entry in the Value field for this tag for the custom tag or label for the endpoint selector.
|
| Step 2 |
Log into the ACI Multi-Site Orchestrator, if you aren't already logged in.
|
| Step 3 |
In the left pane, click Schemas, then select the schema that you created earlier.
|
| Step 4 |
Determine how you want to create the endpoint selector.
-
If you want to create an endpoint selector that could be applied to any additional cloud site in the future, follow these
procedures:
-
In the left pane, leave the template selected.
Do not select a specific site for these procedures.
-
In the middle pane, select the EPG that you created for the cloud site.
-
In the right pane, in the CLOUD PROPERITES area, click + next to SELECTORS to configure the endpoint selector.
-
In the Add New End Point Selector dialog, enter a name in the END POINT SELECTOR NAME field, based on the classification that you use for this endpoint selector.
-
Click + Expression, then select the type of endpoint selector.
For an endpoint selector created this way, the only option available under the Type field is EPG.
-
Go to Step 5.
-
If you want to create an endpoint selector specifically for this cloud site, follow these procedures:
-
In the left pane, select the cloud site.
-
In the middle pane, select the EPG that you created for the cloud site.
-
In the right pane, in the SITE LOCAL PROPERITES area, click + next to SELECTORS to configure the endpoint selector.
-
In the Add New End Point Selector dialog, enter a name in the END POINT SELECTOR NAME field, based on the classification that you use for this endpoint selector.
For example, for an endpoint selector with the IP Subnet classification, you might use a name such as IP-Subnet-EPSelector.
-
Click + Expression, then select the type of endpoint selector.
-
Choose IP Address if you want to use an IP address for the endpoint selector.
-
Choose Region if you want to use the Amazon Web Services region for the endpoint selector, then choose the specific region that you want
use.
-
Choose Zone if you want to use an availability zone for the endpoint selector.
-
Choose Custom tags or labels if you want to create a custom tag or label for the endpoint selector. Start typing to enter the custom tag or label, then
click Create on the new field to create a new custom tab or label.
|
| Step 5 |
In the Operator field, choose the operator that you want to use for the endpoint selector.
The options are:
-
Equals
-
Not Equals
-
In
-
Not In
|
| Step 6 |
In the Value field, choose which value that you want to use for the endpoint selector, based on the choices that you made for the two
previous fields.
For example, if you want to have a specific Amazon Web Services availability zone for the endpoint selector, such as us-west-1, you might make the following selections in this screen:
-
Type: Region
-
Operator: In
-
Value: us-west-1
|
| Step 7 |
Click the checkmark when you have finished creating this endpoint selector expression.
|
| Step 8 |
Determine if you want to create additional endpoint selector expressions.
If you create more than one expression under a single endpoint selector, a logical AND exists between those expressions. For
example, assume you created two sets of expressions under a single endpoint selector:
In this case, if both of these conditions are true (if the availability zone is in us-west-1a and if the IP address is 192.0.2.1), then that end point will be assigned to the Cloud EPG.
Click the checkmark after every additional expression that you want to create under this endpoint selector.
|
| Step 9 |
When you have finished creating the expressions for this endpoint selector, click SAVE in the lower right corner of the Add New End Point Selector.
|
| Step 10 |
Determine if you want to create additional endpoint selectors for this EPG.
If you create more than one endpoint selector under an EPG, a logical OR exists between those endpoint selectors. For example,
assume you created two sets of endpoint selectors under a single EPG:
-
Endpoint selector 1:
-
Type: Region
-
Operator: In
-
Value: us-west-1
-
Endpoint selector 2:
-
Type: Region
-
Operator: In
-
Value: us-east-1
In this case, if either of these conditions are true (if the region is in us-west-1 or if the region is in us-east-1), then that end point will be assigned to the Cloud EPG.
Additionally, assume that you assigned both multiple expressions under a single endpoint selector and you assigned multiple
endpoint selectors under a single EPG. This would result in a situation where an end point would be assigned to the Cloud
EPG if:
-
Either condition is true at the endpoint selector level
-
If the endpoint selector that has a true condition also has two expressions, both expressions must be true for that endpoint selector
Using the previous examples for multiple expressions and multiple endpoint selectors as an example, where the multiple expressions
were created under endpoint selector 1, an endpoint would be assigned to an EPG if:
-
The region is either in us-west-1 or us-east-1 (the OR condition at the endpoint selector level is met)
-
If the region is in us-west-1 (is in endpoint selector 1), then the availability zone is in us-west-1a and the IP address
is 192.0.2.1 (the AND condition at the expression level is met)
|
| Step 11 |
When you have finished creating the endpoint selectors, click SAVE in the upper right corner.
|
| Step 12 |
Click on the DEPLOY TO SITES button at the top right corner of the screen to deploy the schema to the sites.
You should see a message saying Successfully Deployed at this point.
|