Deploy a Secure Device Connector On Your VM
When using device credentials to connect Security Cloud Control to a device, it is a best practice to download and deploy a Secure Device Connector (SDC) in your network to manage the communication between Security Cloud Control and the device. Typically, these devices are non-perimeter based, do not have a public IP address, or have an open port to the outside interface. Adaptive Security Appliances (ASAs), FDM-managed devices, and Firepower Management Centers (FMCs) devices can all be onboarded to Security Cloud Control using device credentials.
The SDC monitors Security Cloud Control for commands that need to be executed on your managed devices, and messages that need to be sent to your managed devices. The SDC executes the commands on behalf of Security Cloud Control, sends messages to Security Cloud Control on behalf of the managed devices, and returns replies from the managed devices to Security Cloud Control.
The number of devices a single SDC can manage depends on the features implemented on those devices and the size of their configuration files. For the purposes of planning your deployment, however, we expect one SDC to support approximately 500 devices. See Using Multiple SDCs on a Single Security Cloud Control Tenant for more information.
This procedure describes how to install an SDC in your network by using your own virtual machine image.
Note | The preferred, easiest, and most reliable way to install an SDC is to download Security Cloud Control's SDC OVA image and install it. See Deploy a Secure Device Connector Using Security Cloud Control's VM Image for those instructions. |
Before you begin
-
Security Cloud Control requires strict certificate checking and does not support a Web/Content Proxy between the SDC and the Internet.
-
The SDC must have full outbound access to the Internet on TCP port 443 in order for it to communicate with Security Cloud Control.
-
Devices that reach Security Cloud Control through the SDC must allow inbound access from the SDC on port 443.
-
Review Connect to Cisco Security Cloud Control using Secure Device Connector for networking guidelines.
-
VMware ESXi host installed with vCenter web client or ESXi web client.
NoteWe do not support installation using the vSphere desktop client.
-
ESXi 5.1 hypervisor.
-
Cent OS 7 guest operating system.
-
System requirements for a VM with only an SDC:
-
VMware ESXi host needs 2 CPUs.
-
VMware ESXi host needs a minimum of 2 GB of memory.
-
VMware ESXi requires 64 GB disk space to support the virtual machine depending on your provisioning choice. This value assumes you are using Logical Volume Management (LVM) with the partition so you can expand required disk space as needed.
-
-
After you have updated the CPU and memory on the VM, power on the VM and ensure that the Secure Connectors page indicates that the SDC is in the "Active" state.
-
Users performing this procedure should be comfortable working in a Linux environment and using the vi visual editor for editing files.
-
If you are installing your on-premise SDC on a CentOS virtual machine, we recommend you install Yum security patches on a regular basis. Depending on your Yum configuration, to acquire Yum updates, you may need to open outbound access on port 80 as well as 443. You will also need to configure yum-cron or crontab to schedule the updates. Work with your security-operations team to determine if any security policies need to change to allow you to get the Yum updates.
Note | Before you get started: Do not copy and paste the commands in the procedure into your terminal window, type them instead. Some commands include an "n-dash" and in the cut and paste process, these commands can be applied as an "m-dash" and that may cause the command to fail. |
Procedure
Step 1 | Log on to the Security Cloud Control tenant you are creating the SDC for. | ||
Step 2 | In the left pane, click . | ||
Step 3 | On the Services page, select the Secure Connectors tab, click the blue plus button, and select Secure Device Connector. | ||
Step 4 | Copy the bootstrap data in step 2 on the window to a notepad. | ||
Step 5 | Install a CentOS 7 virtual machine with at least the following RAM and disk space allotted to the SDC:
| ||
Step 6 | Once installed, configure basic networking such as specifying the IP address for the SDC, the subnet mask, and gateway. | ||
Step 7 | Configure a DNS (Domain Name Server) server. | ||
Step 8 | Configure a NTP (Network Time Protocol) server. | ||
Step 9 | Install an SSH server on CentOS for easy interaction with SDC's CLI. | ||
Step 10 | Run a Yum update and then install the packages: open-vm-tools, nettools, and bind-utils
| ||
Step 11 | Install the AWS CLI package; see https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-linux.html.
| ||
Step 12 | Install the Docker CE packages; see https://docs.docker.com/install/linux/docker-ce/centos/#install-docker-ce
| ||
Step 13 | Start the Docker service and enable it to start on boot:
| ||
Step 14 | Create two users: "CDO" and "sdc." The CDO user will be the one you log in to run administrative functions (so you don't need to use the root user directly), and the sdc user will be the user to run the SDC docker container.
| ||
Step 15 | Set a password for the CDO user.
| ||
Step 16 | Add the CDO user to the "wheel" group to give it administrative (sudo) privileges.
| ||
Step 17 | When Docker is installed, there is a user group created. Depending on the version of CentOS/Docker, this may be called either "docker" or "dockerroot". Check the /etc/group file to see which group was created, and then add the sdc user to this group.
| ||
Step 18 | If the /etc/docker/daemon.json file does not exist, create it, and populate with the contents below. Once created, restart the docker daemon.
| ||
Step 19 | If you are currently using a vSphere console session, switch over to SSH and log in with the "CDO" user. Once logged in, change to the "sdc" user. When prompted for a password, enter the password for the "CDO" user.
| ||
Step 20 | Change directories to /usr/local/CDO. | ||
Step 21 | Create a new file called | ||
Step 22 | The bootstrap data comes encoded in base64. Decode it and export it to a file
called
Run the cat command to view the decoded data. The command and decoded data should look similar to this:
| ||
Step 23 | Run the following command to export the sections of the decoded bootstrap data to environment variables.
| ||
Step 24 | Download the bootstrap bundle from Security Cloud Control.
| ||
Step 25 | Extract the SDC tarball, and run the
The SDC should now show "Active" in Security Cloud Control. |
What to do next
-
Onboard the devices you want to manage with Security Cloud Control.