Sample AWS Appliance Setup
To prepare infrastructure using CloudCenter appliances for AWS clouds, follow this process.
Request image sharing for the AWS account by opening a CloudCenter Support case (https://mycase.cloudapps.cisco.com/case or http://www.cisco.com/c/en/us/support/index.html). In your request, specify the following details:
Your AWS account number
Your CloudCenter version
Your Customer ID (CID)
Your customer name
Specify if your setup is in production or for a POC
You Contact Email
After you open a case, your support case is updated with the shared AMI IDs. Proceed to the next step only after your support case is updated with the AMI IDs.
Go to the AWS cloud console and select:
Region: US East (North Virginia)
Cisco Provided AWS Images
By default, Cisco only provides images for US East (North Virginia) region.
If you prefer to use any other region, follow this procedure:
Follow the rest of the process to set up CloudCenter Appliances to launch each CloudCenter component using the AMI provided by Cisco.
Save each component as a new AMI (refer to the AWS documentation for details).
Copy the AMI to the required AWS region (refer to the AWS documentation for details).
Then follow the remainder of this process to set up CloudCenter appliances in the new AWS region.
Locate the AMI ID for each component:
Search for Private Images in the search bar.
Ensure that the selected private image is the same as listed in the AMI ID that was emailed to you.
Launch the instance for each component using the AMI ID:
Choose an instance type (see Phase 1: Prepare Infrastructure > Hardware Requirements for additional context)
Configure the instance details as required by your environment.
Add the storage of your choice.
Tag instance using a descriptive name. Seefor CloudCenter names.
Configure the security groups to associate with each VM. See Phase 2: Configure Firewall Rules for additional context. The next section in this process Configure Network Rules provides the minimum required network settings.
Ensure that Port 22 is open to allow SSH access into the component VM.
Review and update the instance launch settings as required by your environment.
Click Launch and the Select an existing key pair or create a new key pair screen displays. Refer to your AWS documentation for information on key pairs.
If you do not select a key pair, you will not be able to log into the component VM!
Click Launch Instance to launch the component VM. Check the AWS console for completion of the VM launch process has successfully completed.
Setup hostname – For all launched VMs, update the hostname. Choose a hostname that matches the Virtual Appliance Overview > . For example:
hostname – For all launched VMs, update the hostname.
Don't change the hostname after you install and configure a component as it may cause unknown issues.
Choose a hostname that matches the. For example:
Setup the hostname resolution – Once you update the hostname, ensure that the VM host name is resolvable by running the following command
If the VM name is not resolvable, edit the file /etc/hosts and add your VM’s hostname.
In addition, for AWS you must make sure that the /etc/cloud/cloud.cfg file contains the following entry to ensure that the hostname persists even after the server is rebooted:
Network routing loopback:
Refers to deployed CCMs that are running behind the Network Address Translation (NAT).
This setup places a restriction on machines from internal networks to ensure that they do not use an external IP to access the CCM.
To address this restriction, you must add a line to the CCO and AMQP server's /etc/hosts file and include the internal private IP of the CCM. For example: If the CCM DNS name is ccm.example.com and it is behind a NAT, and the internal private IP address is 192.168.20.5 and its external public IP address is 188.8.131.52, then enter the following line in the local /etc/hosts file:
When configuring the CCM, the hostname used above (ccm.example.com) must match what you configure as the Public DNS while configuring CCM.
Create the CloudCenter Checker JSON file: After you setup the infrastructure for all the CloudCenter components, create a CloudCenter Checker JSON file that lists all the CloudCenter components with their modes and the IP address that correspond to infrastructure elements for each mode and role. This file will be used for network compliance check in Phase 3 of the CloudCenter installation process.
The overall file structure will depend on factors like modes of various components, number of cloud regions, use of conditional/optional components and repos etc. Also, the region names used in the file should be unique, but do not need to match up with any cloud or datacenter names. These strings are merely used to perform network compliance checks and report results.
Sample JSON File
A sample Checker JSON file based on some common combination of CloudCenter component modes is provided below. Create a Checker JSON file that is specific to your environment and is similar to the following example.
Once you create the Checker JSON file, proceed to Prerequisite Checker JSON File to understand the file structure.
Back to: Virtual Appliance Process
- No labels